Skip to content

Commit e6dcd98

Browse files
fix conflicts
1 parent 1c021bd commit e6dcd98

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jfr/SubstrateJVM.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,6 @@ public static JfrRandom getJfrRandom() {
197197
return get().jfrRandom;
198198
}
199199

200-
public static Object getHandler(Class<? extends jdk.internal.event.Event> eventClass) {
201-
try {
202-
Field f = eventClass.getDeclaredField("eventHandler");
203-
f.setAccessible(true);
204-
return f.get(null);
205-
} catch (NoSuchFieldException | IllegalArgumentException | IllegalAccessException e) {
206-
throw new InternalError("Could not access event handler");
207-
}
208-
}
209-
210200

211201
@Uninterruptible(reason = "Prevent races with VM operations that start/stop recording.", callerMustBe = true)
212202
public boolean isRecording() {

0 commit comments

Comments
 (0)