summaryrefslogtreecommitdiff
path: root/test/1964-add-to-dex-classloader-file/expected-stdout.txt
blob: 58b86ef896972cc8bafd69dcf6a86011801312fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 - Run while adding new referenced class.
 -- Running sayHi before redefinition
Hello from TestClass sayHi function
Goodbye from TestClass!
 -- Adding NewClass to classloader!
 -- Redefine the TestClass
 -- call TestClass again, now with NewClass refs
Hello again from TestClass sayHi function
Hello from NewClass sayHi function
Nearby stack:
	private static native art.StackTrace$StackFrameData[] art.StackTrace.nativeGetStackTrace(java.lang.Thread)(line: -1)
	public static art.StackTrace$StackFrameData[] art.StackTrace.GetStackTrace(java.lang.Thread)(line: 61)
	static void foobar.NewClass.sayHi() throws java.lang.Exception(line: 27)
	public static void foobar.TestClass.sayHi()(line: 5)
 - Run without adding new referenced class.
 -- Running sayHi before redefinition
Hello from TestClass sayHi function
Goodbye from TestClass!
 -- Redefine the TestClass
 -- call TestClass again, now with NewClass refs
Hello again from TestClass sayHi function
 -- Exception caught when running test without new class added! java.lang.NoClassDefFoundError
 --- java.lang.NoClassDefFoundError At foobar.TestClass.sayHi(TestClass.java:5)