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

Incorrect check for calling class in FXMLLoader::getDefaultClassLoader

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: openjfx11
    • Fix Version/s: openjfx11
    • Component/s: javafx
    • Labels:
    • Environment:

      OpenJDK 11-ea+24
      openjfx-11-ea+20

    • Subcomponent:
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: