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

Incorrect check for calling class in FXMLLoader::getDefaultClassLoader

XMLWordPrintable

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

    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: