/*
 * Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * @test
 * @summary Verify custom bytecode method that ends with a switch instruction.
 * @compile MethodEndsWithSwitch.jasm
 * @run main/othervm MethodEndsWithSwitch MethodEndsWithSwitch
 */

public class MethodEndsWithSwitch {

    public static void runTest(String test_name) throws Exception {
        System.out.println("Testing: " + test_name);
        Class newClass = Class.forName(test_name);
    }

    public static void main(String[] args) throws Exception {
        runTest(args[0]);
    }
}
