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

Panama foreign-abi branch fails to build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description


      $jdk/panama-foreign-git/src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java:90: error: method resolveOrFail in class Factory cannot be applied to given types;
            linker = IMPL_NAMES.resolveOrFail(REF_invokeStatic, linker, null, NoSuchMethodException.class);
                      ^
       required: byte,MemberName,Class<?>,int,Class<NoSuchMemberException>
       found: byte,MemberName,<null>,Class<NoSuchMethodException>
       reason: cannot infer type-variable(s) NoSuchMemberException
        (actual and formal argument lists differ in length)
       where NoSuchMemberException is a type-variable:
        NoSuchMemberException extends ReflectiveOperationException declared in method <NoSuchMemberException>resolveOrFail(byte,MemberName,Class<?>,int,Class<NoSuchMemberException>)
      1 error
      make[3]: *** [$jdk/panama-foreign-git/build/macosx-x86_64-server-release/jdk/modules/java.base/_the.java.base_batch] Error 1
      make[2]: *** [java.base-java] Error 2
      make[2]: *** Waiting for unfinished jobs....

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: