-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
None
-
None
-
None
-
False
-
None
-
False
After switching from JDK 17.0.2 to 17.0.7 the following exception pops up: java.lang.ClassCastException: class java.util.zip.ZipFile$ZipFileInflaterInputStream cannot be cast to class org.jboss.vfs.VirtualFile (java.util.zip.ZipFile$ZipFileInflaterInputStream is in module java.base of loader 'bootstrap'; org.jboss.vfs.VirtualFile is in unnamed module of loader 'org.jboss.vfs@3.2.17.Final-redhat-00001' @2ac1fdc4)
We are using VirtualFile to access file inside a WAR archive.
I assume this is related to the backport of "JDK-8273655 content-types.properties files are missing some common types" which was part of JDK 17.0.3 and the fix (WFLY-16322 Ensure proper handling of content type availability in VirtualFileURLConnection) that was provided only works for JAR files.
- is related to
-
JBVFS-206 URL.getContent() returns VirtualFile instead of ImageProducer
- Resolved
-
WFLY-16322 ClassCastException VirtualJarInputStream cannot be cast to VirtualFile due to "JDK-8273655 content-types.properties files are missing some common types"
- Closed