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

XMLWordPrintable

    • b146
    • generic
    • windows_xp
    • Verified

      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]

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: