-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b128
-
generic
-
generic
-
Not verified
Currently, javac uses assert and expects/requires assertions to be enabled. So much so that main.Main tests whether they are, and aborts if they are not.
With JSR 199, it is unreasonable to expect all clients to enable assertions for javac, and there are too many entry points to protect them all.
All uses of assert should be replaced by the equivalent if ... throw new AssertionError
With JSR 199, it is unreasonable to expect all clients to enable assertions for javac, and there are too many entry points to protect them all.
All uses of assert should be replaced by the equivalent if ... throw new AssertionError
- relates to
-
JDK-6594931 Verify javac options via langtools javac.jar runs and javac launcher
- Closed
-
JDK-6762701 improve setting assertion status for javac
- Closed