Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901442

Usage of @modules in shell tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • jtreg4.1
    • tools
    • jtreg-jigsaw from May 28, jake 20150524-b65 nightly build

      Here are for example 4 shell tests from jdk:

      closed/java/awt/Toolkit/AutoShutdown/InternalPostEventTest/InternalPostEventTest.sh
      closed/java/awt/Toolkit/AutoShutdown/MultipleAppContextTest/MultipleAppContextTest.sh
      closed/java/awt/Toolkit/PluggableEventQueue/PluggableEventQueue.sh
      javax/imageio/stream/StreamCloserLeak/run_test.sh

      They fail on jake with "sun.awt is not exported to the unnamed module" even though there are the proper @modules instructions in the test annotation header.
      jtr file for the last test attached.

            Unassigned Unassigned
            yan Yuri Nesterenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: