Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8154401

#ClassFilesAsResources issue

XMLWordPrintable

      We have a major problem with JDK9
      InputStream classData = classLoader.getResourceAsStream(path);

      does not work when the path is to a resource in a module. This is causing many test frameworks like javaassist and jmockit to fail causing a large number of our tests to fail.

      This is on the JSR 376 issues list:
      http://openjdk.java.net/projects/jigsaw/spec/issues/#ClassFilesAsResources
      but we need a fix now.

            alanb Alan Bateman
            sfelts Stephen Felts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: