United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7099454 /bin/sh does not support syntax used in the src/os/posix/launcher/launcher.script shell script
JDK-7099454 : /bin/sh does not support syntax used in the src/os/posix/launcher/launcher.script shell script

Details
Type:
Bug
Submit Date:
2011-10-11
Status:
Closed
Updated Date:
2012-01-23
Project Name:
JDK
Resolved Date:
2012-01-23
Component:
hotspot
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23 (b02)

Related Reports
Backport:
Backport:

Sub Tasks

Description
The src/os/posix/launcher/launcher.script that is being used to create the hotspot script was updated for the BSD port. The update was a change from using /bin/bash to /bin/sh.

This is needed since bash is not guaranteed to be installed. But the launcher.script uses the $() syntax, which is not supported by sh.

                                    

Comments
EVALUATION

Updated the launcher.script to use the `` syntax.
                                     
2011-10-11
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/3f24f946bc2d
                                     
2011-10-12
EVALUATION

See main CR
                                     
2011-10-22



Hardware and Software, Engineered to Work Together