Hi,
Trying to build openJDK (http://hg.openjdk.java.net/jdk8/jdk8) using new build
infra. Getting compiler error in
"jdk\src\share\classes\java\lang\invoke\AdapterMethodHandle.java"
Some system config:
OS = Windows XP (ver 5.1)
boot jdk=jdk1.7.0-u2
Please find some details as below and have attached complete build.log as well.
----------------------------------------------------
e:\dev\jdk8\jdk8-b\jdk\src\share\classes\java\lang\invoke\AdapterMethodHandle.java:41:
error: AdapterMethodHandle is not abstract and does not override abstract
method cloneExtendD(MethodType,LambdaForm,double) in BoundMethodHandle
class AdapterMethodHandle extends BoundMethodHandle {
^
e:\dev\jdk8\jdk8-b\jdk\src\share\classes\java\lang\invoke\AdapterMethodHandle.java:51:
error: constructor BoundMethodHandle in class BoundMethodHandle cannot be
applied to given types;
super(newType, convArg, newType.parameterSlotDepth(1+convArgPos(conv)));
^
required: MethodType,LambdaForm
found: MethodType,Object,int
reason: actual and formal argument lists differ in length
e:\dev\jdk8\jdk8-b\jdk\src\share\classes\java\lang\invoke\AdapterMethodHandle.java:54:
error: method init in class MethodHandleNatives cannot be applied to given
types;
MethodHandleNatives.init(this, target, convArgPos(conv));
^----------------------------------------------------
thanks and regards,
Mahesh Pujari