src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/JdkJfrConsumer.java
branchJEP-349-branch
changeset 58200 2d147d680311
parent 58180 0a8943b4d0dd
equal deleted inserted replaced
58197:0ef79bd7fb5c 58200:2d147d680311
    20  *
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
       
    25 
    25 package jdk.jfr.internal.consumer;
    26 package jdk.jfr.internal.consumer;
    26 
    27 
    27 import java.io.IOException;
    28 import java.io.IOException;
    28 import java.util.Comparator;
    29 import java.util.Comparator;
    29 import java.util.List;
    30 import java.util.List;
    53             Class<?> c = RecordedObject.class;
    54             Class<?> c = RecordedObject.class;
    54             Class.forName(c.getName(), true, c.getClassLoader());
    55             Class.forName(c.getName(), true, c.getClassLoader());
    55         } catch (ClassNotFoundException e) {
    56         } catch (ClassNotFoundException e) {
    56             throw new InternalError("Should not happen");
    57             throw new InternalError("Should not happen");
    57         }
    58         }
    58 
       
    59     }
    59     }
    60 
    60 
    61     public static void setAccess(JdkJfrConsumer access) {
    61     public static void setAccess(JdkJfrConsumer access) {
    62         instance = access;
    62         instance = access;
    63     }
    63     }