JDK-4942878 : Don't make "java -client" be an error on 64-bit platforms
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-10-23
  • Updated: 2017-05-16
  • Resolved: 2003-11-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b28Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Currently, all our 64-bit vm's (sparcv9, ia64, amd64) treat the "-client" vm option as an error.  While this is reasonable since only the server compiler exists for those platforms, having "-client" issue a warning issue or be a silent alias for "-server" would aid portability of scripts.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
14-06-2004

SUGGESTED FIX One line changes to the appropriate jvm.cfg files. ###@###.### 2003-10-23 src/share/bin>sccs sccsdiff -r1.111 -r1.110 java.c ------- java.c ------- 112c112,113 < /* Maximum supported entries from jvm.cfg. */ --- > > /* Support for options such as -hotspot, -classic etc. */ 114d114 < /* Values for vmdesc.flag */ 121d120 < #define VM_IGNORE 5 592,593d590 < /* fall through */ < case VM_IGNORE: 1404d1400 < * | ignoreLine 1410d1405 < * ignoreLine := flag "IGNORE" EOL 1424,1425d1418 < * - if the flag appears on an ignoreLine, the identifier is recognized as the < * name of a JVM, but the identifier is ignored and the default vm used 1520,1521d1512 < } else if (!strncmp(tmpPtr, "IGNORE", strlen("IGNORE"))) { < vmType = VM_IGNORE; src/solaris/bin/amd64>sccs sccsdiff -r1.1 -r1.2 jvm.cfg ------- jvm.cfg ------- 17c17 < -client ERROR --- > -client IGNORE src/solaris/bin/ia64>sccs sccsdiff -r1.2 -r1.3 jvm.cfg ------- jvm.cfg ------- 22c22 < -client ERROR --- > -client IGNORE src/solaris/bin/sparcv9>sccs sccsdiff -r1.9 -r1.10 jvm.cfg ------- jvm.cfg ------- 22c22 < -client ERROR --- > -client IGNORE ###@###.### 2003-11-03
03-11-2003

EVALUATION A fine idea. ###@###.### 2003-10-23
23-10-2003