Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14398

[GSS](7.1.z) ModuleClassLoader throw exception InvalidPathException "Illegal char <?>

    Details

      Description

      On windows trying to load a file with ? in the name fails with the following stack trace:

      Caused by: java.nio.file.InvalidPathException: Illegal char <?> at index 0: ?.class
          at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
          at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
          at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
          at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
          at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
          at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
          at org.jboss.modules.PathResourceLoader.getClassSpec(PathResourceLoader.java:115)
          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:265)
          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:77)
          at org.jboss.modules.Module.loadModuleClass(Module.java:713)
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:264)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  soul2zimate Chao Wang
                  Reporter:
                  tmiyar Teresa Miyar Gil
                  Tester:
                  Daniel Cihak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: