JDK-8055675 : java/util/Currency/PropertiesTest.sh fails on OS X after JDK-8055253
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2014-08-20
  • Updated: 2016-07-07
  • Resolved: 2014-08-20
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.
JDK 9
9 b29Fixed
Related Reports
Relates :  
Description
TESTFAIL:java/util/Currency/PropertiesTest.sh

java/util/Currency/PropertiesTest.sh fails on OS X after JDK-8055253.

----------System.err:(5/371)----------
cp: the -H, -L, and -P options may not be specified with the -r option.
chmod: ./testjava: No such file or directory
cp: ./testjava/jre/lib: No such file or directory
+ ./testjava/bin/java -ea -esa -Xmx512m -cp /Users/aurora/sandbox/gresults/testoutput/jdk_util/JTwork/classes/java/util/Currency PropertiesTest -d dump3
sh: ./testjava/bin/java: No such file or directory
Comments
Confirmed it worked on a mac.
20-08-2014

Martin, can you please post the fix to the OpenJDK alias? Thanks!
20-08-2014

Naoto, please approve. If you have a Mac OSX development environment, you can verify my fix before I commit.
20-08-2014

I was surprised to learn the cp -r flag is obsolescent, and we should all be using -R instead. This test could also use some more error checking love. http://cr.openjdk.java.net/~martin/webrevs/openjdk9/Currency-PropertiesTest-hygiene/ I don't have a development environment on Mac OSX, but I have evidence that this will work, or at the very least will be progress. http://pubs.opengroup.org/onlinepubs/009695399/utilities/cp.html
20-08-2014

Looks like a regression caused by 8055253.
20-08-2014