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

com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java no longer needs to override startUp() method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • core-svc
    • b26

      com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java currently overrides the TestScaffold.startup() method:

          // override this to correct a bug so arguments can be passed to
          // the Target class
          protected void startUp(String targetName) {
              List<String> argList = new ArrayList<>(Arrays.asList(args));
              argList.add(0, targetName); // pre-pend so it becomes the first "app" arg
              println("run args: " + argList);
              connect((String[]) argList.toArray(args));
              waitForVMStart();
          }

      This issue of passing app args was fixed recently by JDK-8308481, so the override is no longer needed.

            cjplummer Chris Plummer
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: