8059132: Nasgen build in JDK9 can't handle new class dependencies to Nashorn - bootstrapping problem
Reviewed-by: sundar
This commit is contained in:
parent
da0b4cb7df
commit
d4f3f7da8f
@ -85,7 +85,6 @@ import java.util.List;
|
||||
import jdk.internal.org.objectweb.asm.Handle;
|
||||
import jdk.internal.org.objectweb.asm.MethodVisitor;
|
||||
import jdk.internal.org.objectweb.asm.Type;
|
||||
import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic;
|
||||
|
||||
/**
|
||||
* Base class for all method generating classes.
|
||||
@ -98,7 +97,7 @@ public class MethodGenerator extends MethodVisitor {
|
||||
private final Type returnType;
|
||||
private final Type[] argumentTypes;
|
||||
|
||||
static final Type EMPTY_LINK_LOGIC_TYPE = Type.getType(LinkLogic.getEmptyLinkLogicClass());
|
||||
static final Type EMPTY_LINK_LOGIC_TYPE = Type.getType("Ljdk/nashorn/internal/objects/annotations/SpecializedFunction$LinkLogic$Empty;");
|
||||
|
||||
MethodGenerator(final MethodVisitor mv, final int access, final String name, final String descriptor) {
|
||||
super(Main.ASM_VERSION, mv);
|
||||
|
@ -38,7 +38,6 @@ import jdk.nashorn.internal.objects.annotations.Property;
|
||||
import jdk.nashorn.internal.objects.annotations.ScriptClass;
|
||||
import jdk.nashorn.internal.objects.annotations.Setter;
|
||||
import jdk.nashorn.internal.objects.annotations.SpecializedFunction;
|
||||
import jdk.nashorn.internal.objects.annotations.SpecializedFunction.LinkLogic;
|
||||
import jdk.nashorn.internal.objects.annotations.Where;
|
||||
import jdk.nashorn.internal.tools.nasgen.MemberInfo.Kind;
|
||||
|
||||
@ -56,8 +55,8 @@ public final class ScriptClassInfo {
|
||||
static final String SETTER_ANNO_DESC = Type.getDescriptor(Setter.class);
|
||||
static final String PROPERTY_ANNO_DESC = Type.getDescriptor(Property.class);
|
||||
static final String WHERE_ENUM_DESC = Type.getDescriptor(Where.class);
|
||||
static final String LINK_LOGIC_DESC = Type.getDescriptor(LinkLogic.class);
|
||||
static final String SPECIALIZED_FUNCTION = Type.getDescriptor(SpecializedFunction.class);
|
||||
static final String LINK_LOGIC_DESC = "Ljdk/nashorn/internal/objects/annotations/SpecializedFunction$LinkLogic;";
|
||||
|
||||
static final Map<String, Kind> annotations = new HashMap<>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user