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

Remove use of internal packages of core modules from unit tests

    Details

      Description

      The unit tests in the graphics and systemTests projects access a small number of internal packages. Note that there are also references to sun.util.logging by multiple tests (in multiple projects), but those will be removed as part of JDK-8195799.

      The rest are as follows:

      modules/javafx.graphics/src/test/addExports:--add-exports=java.desktop/sun.font=ALL-UNNAMED
      modules/javafx.graphics/src/test/addExports:--add-exports=java.desktop/sun.awt=ALL-UNNAMED
      modules/javafx.graphics/src/test/addExports:--add-exports=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED
      tests/system/src/test/addExports:--add-exports=java.desktop/sun.awt=ALL-UNNAMED

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: