0N/A/** hard coded linenumbers in this test - DO NOT CHANGE 0N/A * @test/nodynamiccopyright/ 0N/A * @bug 4359312 4450091 0N/A * @summary Test PTR 1421 JVM exceptions making a call to LocalVariable.type().name() 0N/A * @author Tim Bell (based on the PTR 1421 report submitted by IBM). 0N/A * @run build TestScaffold VMConnection TargetListener TargetAdapter 0N/A * @run main GetLocalVariables 0N/A /********** target program **********/ 0N/A private static long s_long1 =
0x0123456789ABCDEFL;
0N/A private static long s_long5 =
0x000000007fffffffL;
0N/A private static long s_long6 =
0x0000000080000000L;
0N/A private static long s_long7 =
0x0000000100000000L;
0N/A private static long s_long8 =
0x7fffffffffffffffL;
0N/A private static long s_long9 =
0x8000000000000000L;
0N/A /********** test program **********/ 0N/A /********** test core **********/ 0N/A * Get to the top of main() to determine targetClass and mainThread 0N/A * We've arrived. Look around at some variables. 0N/A * resume the target listening for events 0N/A * deal with results of test if anything has called failure("foo") 0N/A * testFailed will be true