< prev index next >

src/jdk.jfr/share/classes/jdk/jfr/internal/EventClassBuilder.java

Print this page
rev 52456 : imported patch asm.additional

@@ -55,11 +55,11 @@
     private final List<ValueDescriptor> fields;
     private final List<AnnotationElement> annotationElements;
 
     public EventClassBuilder(List<AnnotationElement> annotationElements, List<ValueDescriptor> fields) {
         this.fullClassName = "jdk.jfr.DynamicEvent" + idCounter.incrementAndGet();
-        this.type = Type.getType(fullClassName.replace(".", "/"));
+        this.type = Type.getType("L" + fullClassName.replace(".", "/") + ";");
         this.fields = fields;
         this.annotationElements = annotationElements;
     }
 
     public Class<? extends Event> build() {
< prev index next >