Incorrect check for calling class in FXMLLoader::getDefaultClassLoader

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • jfx11
    • Affects Version/s: jfx11
    • Component/s: javafx
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved: