About Question enthuware.ocpjp.v8.2.1371 :
Posted: Sat Jun 25, 2016 11:34 pm
In the explanation:
"..., but disable them in a particular package: java -ea -da:<package>... myPackage.myProgram"
This statement does not seem to be 100% true in a general situation where you have several packages and
sub-packages.
If you have following packages
good
good.a
good.a.b
-da:good... wont disable them for the "particular package" 'good' alone. It will disable them for all three packages above.
-da:good... -ea:good.a -ea:good.a.b
"..., but disable them in a particular package: java -ea -da:<package>... myPackage.myProgram"
This statement does not seem to be 100% true in a general situation where you have several packages and
sub-packages.
If you have following packages
good
good.a
good.a.b
-da:good... wont disable them for the "particular package" 'good' alone. It will disable them for all three packages above.
-da:good... -ea:good.a -ea:good.a.b