United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8006536 [launcher] removes trailing slashes on arguments
JDK-8006536 : [launcher] removes trailing slashes on arguments

Details
Type:
Bug
Submit Date:
2013-01-17
Status:
Closed
Updated Date:
2013-09-04
Project Name:
JDK
Resolved Date:
2013-02-01
Component:
tools
OS:
windows
Sub-Component:
launcher
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u11,8
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Duplicate:
Relates:
Relates:

Sub Tasks

Description
The java launcher removes trailing slashes

C:\Temp\WC>XXXXX\bin\java TestStar one a\\\\ two

TestStar.java will print "one a two"


                                    

Comments
Original patch submitted by IBM
                                     
2013-01-17
Modified patch, correcting the testcase in both native and java.
                                     
2013-01-17
We also need to fix the following case as well when fixing this,
  
c:\Temp\WC>XXXXX\bin\java TestStar \\\\?
The output is:
\?

This will be fixed separately with JDK-8007333
                                     
2013-01-17
looks good, reviewed
                                     
2013-02-01
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/ea8f3ca83501
User:  ksrini
Date:  2013-02-01 15:29:46 +0000

                                     
2013-02-01
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/ea8f3ca83501
User:  lana
Date:  2013-02-12 18:23:17 +0000

                                     
2013-02-12
verified by Arrrghs test. Bug ID 8006536 not added to @bug list.
                                     
2013-08-14



Hardware and Software, Engineered to Work Together