mirror of
https://github.com/corda/corda.git
synced 2025-03-12 23:44:13 +00:00
fix build regression and add copyright headers
This commit is contained in:
parent
69426b9945
commit
138699e203
@ -1,3 +1,13 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
public class CallSite {
|
||||
|
@ -1,3 +1,13 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
public class LambdaConversionException extends java.lang.Exception {
|
||||
|
@ -1,3 +1,13 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
import static avian.Stream.write1;
|
||||
|
@ -1,3 +1,13 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
import avian.Classes;
|
||||
@ -6,12 +16,12 @@ import avian.SystemClassLoader;
|
||||
public class MethodHandle {
|
||||
static final int REF_invokeStatic = 6;
|
||||
static final int REF_invokeSpecial = 7;
|
||||
|
||||
|
||||
final int kind;
|
||||
private final ClassLoader loader;
|
||||
final avian.VMMethod method;
|
||||
private volatile MethodType type;
|
||||
|
||||
|
||||
MethodHandle(int kind, ClassLoader loader, avian.VMMethod method) {
|
||||
this.kind = kind;
|
||||
this.loader = loader;
|
||||
@ -44,7 +54,7 @@ public class MethodHandle {
|
||||
sb.append(Classes.makeString(method.spec, 0,
|
||||
method.spec.length - 1));
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
||||
public MethodType type() {
|
||||
if (type == null) {
|
||||
|
@ -1,3 +1,13 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
public class MethodHandles {
|
||||
|
@ -1,3 +1,13 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
import static avian.Assembler.*;
|
||||
|
48
classpath/java/lang/invoke/SerializedLambda.java
Normal file
48
classpath/java/lang/invoke/SerializedLambda.java
Normal file
@ -0,0 +1,48 @@
|
||||
/* Copyright (c) 2008-2016, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang.invoke;
|
||||
|
||||
public class SerializedLambda implements java.io.Serializable {
|
||||
public int getImplMethodKind() {
|
||||
// todo
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String getImplClass() {
|
||||
// todo
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getImplMethodName() {
|
||||
// todo
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getImplMethodSignature() {
|
||||
// todo
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getFunctionalInterfaceClass() {
|
||||
// todo
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getFunctionalInterfaceMethodName() {
|
||||
// todo
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getFunctionalInterfaceMethodSignature() {
|
||||
// todo
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user