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

#ClassFilesAsResources issue

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: