avi sinha wrote:
first statement is enabling assertion for all except com.foo package
and the secondone is enabling all. am i correct??
You are very right, here.
I was wrong with my previous message, oops my eyes.
If an assertion argument found either with a package name or with a class name, it will be perceived as more specific than the general (no argument) assertion. In this case it does NOT depend with order of assertion arguments. Therefore...
java -da:com.foo... -ea myclass
is equivalent to
java -ea -da:com.foo... myclass
Devaka.