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

Two langtools regression tests fail due to fix for 7034977 which removed the invokeGeneric method

    Details

    • Subcomponent:
    • Resolved In Build:
      b146
    • CPU:
      generic
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      The affected tests are:
         tools/javac/meth/InvokeMH.java
         tools/javac/meth/XlintWarn.java

      These testes get compilation errors such as:
      /export/home/aurora/sandbox/testbase/tools/javac/meth/InvokeMH.java:93: error: cannot find symbol
              mh_vi.invokeGeneric();
                   ^
        symbol: method invokeGeneric()
        location: variable mh_vi of type MethodHandle
           :
      test result: Failed. Compilation failed: exit code 1
      Actually, two CRs were involved in the change that created this issue:
         7034977: JSR 292 MethodHandle.invokeGeneric should be renamed MethodHandle.invoke [deprecated invokeGeneric]
         7032323: code changes for JSR 292 EG adjustments to API, through Public Review [removed the deprecated method]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjh James Holmlund (Inactive)
                Reporter:
                jjh James Holmlund (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: