enable assertions at runtime
Bug #543505 reported by
edA-qa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TestPlan |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
given the number of libraries we have and the way in which assert is used it should be enabled by default at runtime. This should be done inside JavaRun so that in theory the option to turn it off could be made available.
Related branches
Changed in testplan: | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
The only *correct* solution was to put "-ea" on the command-line. Despite having several assertion functions none of them can:
1. affect the system classes
2. be inherited by child class loaders
Thus the command-line option is the only one that actually works. *sigh*