-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b128
-
generic
-
generic
-
Verified
6989148 provided a zip file file system provider.
It appears that the Path.exists() method always returns false for paths in the fil file system
javac creates a zip FileSystem from rt.jar, and all attempts to check if java/lang exists fail:
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java /java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java/lang /java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java/ /java/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java/lang/ /java/lang/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java/lang java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java/ java/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java/lang/ java/lang/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java /java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java\lang /java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java\ /java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java\lang/ /java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java\lang java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java\ java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java\lang\ java/lang false
It appears that the Path.exists() method always returns false for paths in the fil file system
javac creates a zip FileSystem from rt.jar, and all attempts to check if java/lang exists fail:
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java /java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java/lang /java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java/ /java/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar /java/lang/ /java/lang/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java/lang java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java/ java/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java/lang/ java/lang/ false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java /java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java\lang /java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java\ /java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar \java\lang/ /java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java\lang java/lang false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java\ java false
test: /w/jjg/work/nio/tl/build/linux-amd64/j2sdk-image/jre/lib/rt.jar java\lang\ java/lang false
- relates to
-
JDK-7006564 NPE in javac running test/tools/javac/nio/compileTest/CompileTest.java
- Closed
-
JDK-7016750 tools/javac/nio/CompileTest failing in nightly test
- Closed
-
JDK-6989148 (fs) zip provider should be available "out of the box"
- Resolved
-
JDK-7012285 reenable failing test
- Closed
-
JDK-7012284 disable failing tests for now
- Closed