-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.0, 5.0
-
b31
-
generic
-
generic, solaris_8
-
Verified
Many compilers (such as gcc) have a command-line flag (e.g. "-v") which prints a short string representing the version of the compiler and/or the language.
for example:
gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.2/2.95.3/specs
gcc version 2.95.3 20010315 (release)
While the virtual machine does have this feature, the compiler does not.
brian.preston@eng 2001-05-21
for example:
gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.2/2.95.3/specs
gcc version 2.95.3 20010315 (release)
While the virtual machine does have this feature, the compiler does not.
brian.preston@eng 2001-05-21
- duplicates
-
JDK-4992453 javac -version should report javac's version, not the underlying VM's version
- Closed
- relates to
-
JDK-6214503 Annotate .class files with the version of javac that produced it
- Open
-
JDK-4495771 command line tools should all support -version
- Closed