Skip to content

Commit b307da0

Browse files
committed
Style changes
1 parent c308eaa commit b307da0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

substratevm/src/com.oracle.svm.agent/src/com/oracle/svm/agent/BreakpointInterceptor.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -979,8 +979,8 @@ private static JNIObjectHandle shouldIncludeMethod(JNIEnvironment jni, JNIObject
979979
/*
980980
* We have to find a class that captures a lambda function so it can be registered by the agent.
981981
* We have to get SerializedLambda instance first. After that we get lambda capturing class from
982-
* that instance using JNIHandleSet#getFieldId to get field id and JNIObjectHandle#invoke on to get that field value.
983-
* We get name of the capturing class and tell the agent to register it.
982+
* that instance using JNIHandleSet#getFieldId to get field id and JNIObjectHandle#invoke on to
983+
* get that field value. We get name of the capturing class and tell the agent to register it.
984984
*/
985985
private static boolean registerCapturingClass(JNIEnvironment jni, Breakpoint bp, InterceptedState state) {
986986
JNIObjectHandle serializedLambdaInstance = getObjectArgument(0);
@@ -996,14 +996,14 @@ private static boolean registerCapturingClass(JNIEnvironment jni, Breakpoint bp,
996996

997997
if (tracer != null) {
998998
tracer.traceCall("serialization",
999-
"SerializedLambda.readResolve",
1000-
null,
1001-
null,
1002-
null,
1003-
validObjectStreamClassInstance,
1004-
state.getFullStackTraceOrNull(),
1005-
/*- String serializationTargetClass, String customTargetConstructorClass */
1006-
capturingClassName, null);
999+
"SerializedLambda.readResolve",
1000+
null,
1001+
null,
1002+
null,
1003+
validObjectStreamClassInstance,
1004+
state.getFullStackTraceOrNull(),
1005+
/*- String serializationTargetClass, String customTargetConstructorClass */
1006+
capturingClassName, null);
10071007

10081008
guarantee(!testException(jni));
10091009
}

0 commit comments

Comments
 (0)