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

Provide OSInfo functionality to regression tests

    XMLWordPrintable

Details

    • b33

    Backports

      Description

        Certain jdk regression tests, some 60 of them, depend on sun.awt.OSInfo class designed as a tool to standardize determination of current Operating System. This (internal) dependency should be removed from tests and obviously retained in base classes.

        There's two ways to provide the same functionality to the tests. First, to move OSInfo.java to the public package (e.g. java.awt). Second, copy and paste it to a helper class in the test hierarchy.

        First approach does require changes in several (some 8) swing classes and additions to the public API (read, painful discussions and CCC procedure).
        Second would require support of 2 identical classes, one in jdk and another in jdk/test.

        Attachments

          Issue Links

            Activity

              People

                yan Yuri Nesterenko
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: