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

Add @requires os.family to the client tests with access to internal OS-specific API

    Details

    • Subcomponent:
    • Resolved In Build:
      b82

      Backports

        Description

        So far I know 3 of them, all for OS X:
        com/apple/eawt/DefaultMenuBar/DefaultMenuBarTest.java
        java/awt/Mouse/EnterExitEvents/FullscreenEnterEventTest.java
        java/awt/SplashScreen/FullscreenAfterSplash/FullScreenAfterSplash.java

        These 3 tests ask for com.apple.eawt which is not in content on non-Apple platforms. As far as I can see, tests requiring other platform-specific packages do it using reflection and don't need at-requires tag.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ralexander Renjith Alexander (Inactive)
                  Reporter:
                  yan Yuri Nesterenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: