Name: rmT116609 Date: 09/10/2004
FULL PRODUCT VERSION :
java version "1.5.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux kabloom.dnsalias.com 2.6.7-2ken #2 Thu Jun 17 17:39:20 PDT 2004 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
The manpage for javac incorrectly documents the -target option
-target version
Generates class files that will work on VMs with the specified
version. The default is to generate class files to be compati-
ble with 1.2 VMs, with one exception. When the -source 1.4
option is used, the default target is 1.4. The versions sup-
ported by javac are:
(The manpage goes on to list the options available for "version")
I have observed, however, that the default -source option is 1.5, and the default -target option is also 1.5
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 305612)
======================================================================