Tested in JDK1.2Beta4-E.
To reproduce(on both solaris and win32):
$ java -version
java version "1.2beta4"
Classic VM (build JDK-1.2beta4-E, green threads, sunwjit)
$ echo $?
1
$
To reproduce(on both solaris and win32):
$ java -version
java version "1.2beta4"
Classic VM (build JDK-1.2beta4-E, green threads, sunwjit)
$ echo $?
1
$
- duplicates
-
JDK-4134635 wrong exit status returned with appletviewer -J-version local:html
-
- Closed
-
-
JDK-4136762 Regression: Status returned from cmd line should be 0 and not 1.
-
- Closed
-