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

Panama foreign-abi branch fails to build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools
    • None
    • generic
    • generic


      $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....

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

              Created:
              Updated:
              Resolved: