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

com/sun/tools/attach/BasicTests.java does not verify AgentLoadException case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 23
    • None
    • hotspot
    • svc
    • b13

    Description

      from BasicTests.java:
                  // Test 2 - attempt to load an agent that does not exist
                  System.out.println(" - Test: Load an agent that does not exist");
                  try {
                      vm.loadAgent("SilverBullet.jar");
                  } catch (AgentLoadException x) {
                      System.out.println(" - AgentLoadException thrown as expected!");
                  }
      The test does not verify that AgentLoadException is thrown

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              amenkov Alex Menkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: