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

com/sun/tools/attach/PermissionTest.java fails with modular image

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9-repo-jigsaw
    • Fix Version/s: None
    • Component/s: core-svc

      Description

      Test from jdk/test
      com/sun/tools/attach/PermissionTest.java
      fails with modular image.

      Tested with jigsaw/m2 build:
      java version "1.9.0-ea"
      Java(TM) SE Runtime Environment (build 1.9.0-ea-jigsaw-nightly-h1424-20141002-b34)
      Java HotSpot(TM) Client VM (build 1.9.0-ea-jigsaw-nightly-h1424-20141002-b34, mixed mode)

      --- ProcessLog ---
      cmd: /Users/aurora/CommonData/jdk/bin/java -ea -esa -Xmx512m -classpath /Users/aurora/sandbox/gresults/testoutput/jdk_tools/JTwork/classes/com/sun/tools/attach:/Users/aurora/sandbox/gresults/testoutput/jdk_tools/JTwork/classes/lib/testlibrary:/Users/aurora/CommonData/jdk/lib/tools.jar -Djava.security.manager -Djava.security.policy=/Users/aurora/sandbox/testbase/test/com/sun/tools/attach/java.policy.allow PermissionTest$TestMain 11535 false
      exitvalue: 1
      stderr: Exception in thread "main" com.sun.tools.attach.AttachNotSupportedException: no providers installed
      at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:203)
      at PermissionTest$TestMain.main(PermissionTest.java:120)

      stdout:

      TestPermission got unexpected exception: java.lang.RuntimeException: Expected to get exit value of [0]


        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              amlu Amy Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: