< prev index next >

core/org.openjdk.jmc.agent/src/main/java/org/openjdk/jmc/agent/jfr/impl/JFRClassVisitor.java

Print this page

        

*** 78,87 **** super.visitEnd(); } private Class<?> generateEventClass() throws Exception { byte[] eventClass = JFREventClassGenerator.generateEventClass(transformDescriptor); ! return TypeUtils.getUnsafe().defineClass(transformDescriptor.getEventClassName(), eventClass, 0, eventClass.length, definingClassLoader, protectionDomain); } } --- 78,87 ---- super.visitEnd(); } private Class<?> generateEventClass() throws Exception { byte[] eventClass = JFREventClassGenerator.generateEventClass(transformDescriptor); ! return TypeUtils.defineClass(transformDescriptor.getEventClassName(), eventClass, 0, eventClass.length, definingClassLoader, protectionDomain); } }
< prev index next >