summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2011-09-10 17:15:48 +0300
committerPekka Enberg <penberg@kernel.org>2012-03-12 10:55:56 +0200
commit05f55f006739d355500e0b8ca29dc86c71d3704a (patch)
tree067eb08b8031a0c43fd8e69762a22ccbefadb018 /vm
parentbce766e21e6aa5101781c48530d37b9d3c36e0ab (diff)
downloadclasspath-05f55f006739d355500e0b8ca29dc86c71d3704a.tar.gz
Fix VMMethodHandles formatting
Andrew Hughes writes: Indenting is out in VMMethodHandles.java and you need some line breaks on those long definitions. Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'vm')
-rw-r--r--vm/reference/java/lang/invoke/VMMethodHandles.java62
1 files changed, 43 insertions, 19 deletions
diff --git a/vm/reference/java/lang/invoke/VMMethodHandles.java b/vm/reference/java/lang/invoke/VMMethodHandles.java
index c5f58965f..6768f2dab 100644
--- a/vm/reference/java/lang/invoke/VMMethodHandles.java
+++ b/vm/reference/java/lang/invoke/VMMethodHandles.java
@@ -39,23 +39,47 @@ package java.lang.invoke;
public final class VMMethodHandles
{
- private VMMethodHandles()
- {
- }
-
- static native MethodHandle findStatic(MethodHandles.Lookup lookup, Class<?> refc, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException;
-
- static native MethodHandle findVirtual(MethodHandles.Lookup lookup, Class<?> refc, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException;
-
- static native MethodHandle findConstructor(MethodHandles.Lookup lookup, Class<?> refc, MethodType type) throws NoSuchMethodException, IllegalAccessException;
-
- static native MethodHandle findSpecial(MethodHandles.Lookup lookup, Class<?> refc, String name, MethodType type, Class<?> specialCaller) throws NoSuchMethodException, IllegalAccessException;
-
- static native MethodHandle findGetter(MethodHandles.Lookup lookup, Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException;
-
- static native MethodHandle findSetter(MethodHandles.Lookup lookup, Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException;
-
- static native MethodHandle findStaticGetter(MethodHandles.Lookup lookup, Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException;
-
- static native MethodHandle findStaticSetter(MethodHandles.Lookup lookup, Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException;
+ private VMMethodHandles()
+ {
+ }
+
+ static native MethodHandle findStatic(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ MethodType type)
+ throws NoSuchMethodException, IllegalAccessException;
+
+ static native MethodHandle findVirtual(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ MethodType type)
+ throws NoSuchMethodException, IllegalAccessException;
+
+ static native MethodHandle findConstructor(MethodHandles.Lookup lookup,
+ Class<?> refc, MethodType type)
+ throws NoSuchMethodException, IllegalAccessException;
+
+ static native MethodHandle findSpecial(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ MethodType type,
+ Class<?> specialCaller)
+ throws NoSuchMethodException, IllegalAccessException;
+
+ static native MethodHandle findGetter(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ Class<?> type)
+ throws NoSuchFieldException, IllegalAccessException;
+
+ static native MethodHandle findSetter(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ Class<?> type)
+ throws NoSuchFieldException, IllegalAccessException;
+
+ static native MethodHandle findStaticGetter(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ Class<?> type)
+ throws NoSuchFieldException, IllegalAccessException;
+
+ static native MethodHandle findStaticSetter(MethodHandles.Lookup lookup,
+ Class<?> refc, String name,
+ Class<?> type)
+ throws NoSuchFieldException, IllegalAccessException;
}