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

SA:Fix vm version check for 1.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • 7
    • 7
    • core-svc
    • None
    • generic
    • generic

    Description

      Fix sa version check for 1.7 release.
      jtreg test:

          sun/tools/jinfo/Basic.sh

      is failing due to this:

      ----------System.err:(54/3363)----------
      Attaching to process ID 4683, please wait...
      Exception in thread "main" java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at sun.tools.jinfo.JInfo.runTool(JInfo.java:79)
              at sun.tools.jinfo.JInfo.main(JInfo.java:53)
      Caused by: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported version
      s are 1.6.0, 1.6.0_xx. Target VM is 1.7.0-ea-b02
              at sun.jvm.hotspot.runtime.VM.checkVMVersion(VM.java:197)
              at sun.jvm.hotspot.runtime.VM.<init>(VM.java:236)
              at sun.jvm.hotspot.runtime.VM.initialize(VM.java:289)
              at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:576)
              at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:476)
              at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:314)
              at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)
              at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:111)


      See attached file "Basic.jtr"

      Attachments

        Issue Links

          Activity

            People

              swamyv Swamy Venkataramanappa
              swamyv Swamy Venkataramanappa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: