Skip to content

Commit

Permalink
fix MT dependency eclipse-openj9#1
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Lu <[email protected]>
  • Loading branch information
fengxue-IS committed Oct 4, 2019
1 parent d8be806 commit 834307b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 72 deletions.
23 changes: 0 additions & 23 deletions jcl/src/java.base/share/classes/java/lang/invoke/Invokers.java

This file was deleted.

This file was deleted.

17 changes: 16 additions & 1 deletion jcl/src/java.base/share/classes/java/lang/invoke/VarHandle.java
Original file line number Diff line number Diff line change
Expand Up @@ -1263,5 +1263,20 @@ private ClassDesc getArrayTypeClassDesc() {
return (ClassDesc)args[0];
}
}
/*[ENDIF] Java12 */
/*[ENDIF] Java12 */

final class AccessDescriptor {
final MethodType symbolicMethodTypeErased;
final MethodType symbolicMethodTypeInvoker;
final Class<?> returnType;
final int type;
final int mode;
public AccessDescriptor(MethodType mtype, int type, int mode) {
symbolicMethodTypeErased = mtype.erase();
symbolicMethodTypeInvoker = mtype.insertParameterTypes(0, new Class<?>[] {VarHandle.class});
returnType = mtype.returnType();
this.type = type;
this.mode = mode;
}
}
}

0 comments on commit 834307b

Please sign in to comment.