-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
1.2beta
-
sparc
-
solaris_2.5
-
Verified
On solaris, with the current JDK1.2 beta build and since the promoted build
JDK1.2J, if he user enters the following simple command:
% rmiregistry
it will fail with this message:
Port is not a number.
This is happening because the "rmiregistry" wrapper script for Solaris is
causing the JVM to be invoked with one argument that is an empty string,
rather than no arguments; i.e., it is equivalent to this command:
% rmiregistry ""
This behavior came about because of the fix for bugid 4053337 (spaces in
arguments to Solaris wrappers were the causing the arguments to become
separated). The fix to the way the helper script ".extract_args", which
uses ksh arrays, works now causes always at least one argument to be
passed to the JVM that is started up by the script.
See the "Comments" section for an e-mail exchange that occurred regarding
this bug and potential fixes.
JDK1.2J, if he user enters the following simple command:
% rmiregistry
it will fail with this message:
Port is not a number.
This is happening because the "rmiregistry" wrapper script for Solaris is
causing the JVM to be invoked with one argument that is an empty string,
rather than no arguments; i.e., it is equivalent to this command:
% rmiregistry ""
This behavior came about because of the fix for bugid 4053337 (spaces in
arguments to Solaris wrappers were the causing the arguments to become
separated). The fix to the way the helper script ".extract_args", which
uses ksh arrays, works now causes always at least one argument to be
passed to the JVM that is started up by the script.
See the "Comments" section for an e-mail exchange that occurred regarding
this bug and potential fixes.