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

XMLWordPrintable

    • b82

        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.

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

                Created:
                Updated:
                Resolved: