This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Is java -ea -dsa the same as java -ea ? the KnB book says the java -ea enables assertions in all classes, except for the system classes, so my impression is that the first one is doing the same... any ideas?
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Hi Andres Yes java -ea -dsa the same as java -ea and its also equal to java -ea -dsa and java -ea <filename> and java -ea -esa -dsa and java -ea -esa -dsa -esa -dsa etc. [ June 26, 2003: Message edited by: Anupam Sinha ]
Should I memorize the different assertion options? The only one my book covers is -ea (-enableassertions).
Joined: Apr 13, 2003
Sorry Brian did I confuse you. Well I only wanted to pointed out the order of evaluation of the assertions command line arguments, it's left to right so if you say java -enableassertions -disableassertions <filename> then assertions would be disabled. As for the various assertions command line options they are : -ea or -enableassertions -da or disableassertions -esa or enablesystemassertions dsa or disablesystemassertions Try this javaranch thread and this tutorial at sun's site.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com