Meaningless Drivel is fun!*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Assertions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Assertions" Watch "Assertions" New topic
Author

Assertions

Binesh Thusantha
Greenhorn

Joined: May 01, 2006
Posts: 17
Is in assertion flags -esa available?
How to on assertion in system files?

This is urgent matter pls send reply as soon as possible
[ May 16, 2006: Message edited by: Binesh Thusantha ]
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

All you have to do, to see the options that you can get with the java interpreter is to type "java" on your console.

Yes -esa will enable assertions for system classes.

-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

All you have to do, to see the options that you can get with the java interpreter is to type "java" on your console.

Yes -esa will enable assertions for system classes.

-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Hey i got an error and it double posted

Can't find string terminator "~" anywhere before EOF at /home/vhost1/saloon.javaranch.com/vroot/html/ubb/cache-PXSBDZXS/search_index/daily_index-2453872-main.cgi line 118.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Programming With Assertions
Binesh Thusantha
Greenhorn

Joined: May 01, 2006
Posts: 17
Thank you Friends
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Assertions