Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assertions

 
Binesh Thusantha
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Programming With Assertions
 
Binesh Thusantha
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Friends
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic