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

Incorrect check for calling class in FXMLLoader::getDefaultClassLoader

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • jfx11
    • jfx11
    • javafx
    • OpenJDK 11-ea+24
      openjfx-11-ea+20

    • generic
    • generic

    Description

      To reproduce this, run the attached test program as follows:

      $ java @build/run.args -Djava.security.manager -Djava.security.policy=build/run.java.policy GetFXMLClassLoader

      Testing FXMLLoader::getDefaultClassLoader
      ***** ERROR: did not get expected exception

      On JDK 10 and earlier, this will work and correctly get a security exception. With openjfx11, this fails to get the expected exception.

      Attachments

        Activity

          People

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: