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

Module.getResourceAsStream returns null if only resource file permission granted to SM

    XMLWordPrintable

    Details

      Description

      The problem with SecurityException has gone after fixing JDK-8156143.
      However, now we have another problem:
      If SecurityManager allows only resource file permission and denies all other permissions, the method getResourceAsStream returns null despite the fact that the resource file is in the module.

        Attachments

          Activity

            People

            Assignee:
            alanb Alan Bateman
            Reporter:
            evotchen Elena Votchennikova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: