Running something like 'java' or 'java -Xcomp' results in the java command usage message and a process exit code of 0.
Using 'javac' or 'javac -J-Xcomp' does return a non-zero exit code. So the different launchers appear to behave differently.
If a process doesn't return 0 on success, and only on success, the makefiles and ant builds will have problems.
Using 'javac' or 'javac -J-Xcomp' does return a non-zero exit code. So the different launchers appear to behave differently.
If a process doesn't return 0 on success, and only on success, the makefiles and ant builds will have problems.
- duplicates
-
JDK-6921472 RFE: java launcher code needs clean up
-
- Closed
-
- relates to
-
JDK-8138906 [TEST_BUG] Test test/script/trusted/JDK-8087292.js intermittently fails.
-
- Resolved
-
-
JDK-6968375 new launcher behavior needs to be documented
-
- Closed
-