Package org.apache.sirona.javaagent

Examples of org.apache.sirona.javaagent.SironaTransformer$SironaClassWriter


import java.net.URLClassLoader;

public class EnsureInstrumationDoesntFailTest {
    @Test // just check it doesn't throw an exception, mainly a debug test
    public void run() throws IllegalClassFormatException {
        new SironaTransformer(true)
                .transform(
                        new URLClassLoader(new URL[0]), App.class.getName().replace('.', '/'),
                        App.class, App.class.getProtectionDomain(), new byte[]{
                                -54, -2, -70, -66, 0, 0, 0, 50, 0, 60, 10, 0, 17, 0, 37, 5,
                                0, 0, 0, 0, 0, 0, 1, -12, 10, 0, 38, 0, 39, 10, 0, 16, 0,
View Full Code Here

TOP

Related Classes of org.apache.sirona.javaagent.SironaTransformer$SironaClassWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.