jtreg test java/lang/instrument/RetransformAgent.java fails on windows-i586, windows-amd64

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • b57
    • x86
    • windows_2000

      This bug affects the following JTREG test:

          java/lang/instrument/RetransformAgent.java

      RetransformAgent.java runs MakeJAR2.sh via @run while preparing to do the test.

      MakeJAR2.sh uses a ':' as classpath separator, which is incorrect on windows-xxx platforms:


      ----------System.err:(17/632)----------
      RetransformApp.java:23: cannot find symbol
      symbol : variable RetransformAgent
      location: class RetransformApp
              RetransformAgent.undo();
              ^
      RetransformApp.java:30: cannot find symbol
      symbol : variable RetransformAgent
      location: class RetransformApp
              if (RetransformAgent.succeeded()) {
                  ^
      2 errors
      java.io.IOException: invalid header field
      at java.util.jar.Attributes.read(Attributes.java:393)
      at java.util.jar.Manifest.read(Manifest.java:167)
      at java.util.jar.Manifest.<init>(Manifest.java:52)
      at sun.tools.jar.Main.run(Main.java:123)
      at sun.tools.jar.Main.main(Main.java:903)
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


      See attached log file 'RetransformAgent.jtr' for the full output.

            Assignee:
            James Holmlund (Inactive)
            Reporter:
            Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: