JDK-8149735 : java/util/Currency/PropertiesTest.sh fails with java.io.FileNotFoundException
  • Type: Bug
  • Component: core-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2016-02-12
  • Updated: 2024-03-15
  • Resolved: 2016-04-05
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 b114Fixed
Related Reports
Relates :  
Relates :  
Description
Exception in thread "main" java.io.FileNotFoundException: dump3 (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at java.io.FileReader.<init>(FileReader.java:58)
	at PropertiesTest.compare(PropertiesTest.java:82)
	at PropertiesTest.main(PropertiesTest.java:34)
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/eded1d1733de User: lana Date: 2016-04-13 17:56:05 +0000
13-04-2016

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/eded1d1733de User: naoto Date: 2016-04-05 16:13:59 +0000
05-04-2016

"WRITABLEJDK" is lacking necessary permissions and is not accessible on mentioned SQE machine due to some reason, due to which "dump3" file is not getting created on line no 111 of "PropertiesTest.sh".
01-04-2016

I think this relates to JDK-8130246.
16-02-2016

This might be a problem in the following code in PropertiesTest.sh: WRITABLEJDK=.${FS}testjava cp -H -R $TESTJAVA $WRITABLEJDK || exit 1 PROPLOCATION=${WRITABLEJDK}${FS}lib chmod -R +w $WRITABLEJDK || exit 1 On some versions of cygwin, you may need to explicitly "chmod -R a+rx $WRITABLEJDK", or else you may get "./testjava/bin/java: Permission denied". Please see if you reproduce that on the exact machine that failed the test.
12-02-2016