1JNI_OnLoad called 2first: Helper1 class loader: DelegatingLoader 3second: Test class loader: DefiningLoader 4first: Helper1 class loader: DelegatingLoader 5second: Test class loader: DefiningLoader 6testClearDexCache done 7first: Helper1 class loader: DelegatingLoader 8second: Test class loader: DefiningLoader 9first: Helper2 class loader: DelegatingLoader 10second: Test class loader: DefiningLoader 11testMultiDex done 12first: Helper1 class loader: RacyLoader 13second: Test class loader: DefiningLoader 14first: Helper1 class loader: RacyLoader 15second: Test class loader: DefiningLoader 16first: Helper1 class loader: RacyLoader 17second: Test class loader: DefiningLoader 18first: Helper1 class loader: RacyLoader 19second: Test class loader: DefiningLoader 20total: 4 21 throwables: 0 22 classes: 4 (1 unique) 23testRacyLoader done 24first: Helper1 class loader: RacyLoader 25second: Test class loader: DefiningLoader 26first: Helper1 class loader: RacyLoader 27second: Test class loader: DefiningLoader 28first: Helper3 class loader: RacyLoader 29second: Test3 class loader: DefiningLoader 30first: Helper3 class loader: RacyLoader 31second: Test3 class loader: DefiningLoader 32total: 4 33 throwables: 0 34 classes: 4 (2 unique) 35testRacyLoader2 done 36java.lang.NoClassDefFoundError: Initiating class loader of type MisbehavingLoader returned class Helper2 instead of Test. 37testMisbehavingLoader done 38first: Helper1 class loader: RacyMisbehavingLoader 39second: Test class loader: DefiningLoader 40first: Helper1 class loader: RacyMisbehavingLoader 41second: Test class loader: DefiningLoader 42first: Helper1 class loader: RacyMisbehavingLoader 43second: Test class loader: DefiningLoader 44first: Helper1 class loader: RacyMisbehavingLoader 45second: Test class loader: DefiningLoader 46total: 4 47 throwables: 0 48 classes: 4 (1 unique) 49testRacyMisbehavingLoader done 50first: Helper1 class loader: RacyMisbehavingLoader 51second: Test class loader: DefiningLoader 52first: Helper1 class loader: RacyMisbehavingLoader 53second: Test class loader: DefiningLoader 54first: Helper1 class loader: RacyMisbehavingLoader 55second: Test class loader: DefiningLoader 56first: Helper1 class loader: RacyMisbehavingLoader 57second: Test class loader: DefiningLoader 58total: 4 59 throwables: 0 60 classes: 4 (1 unique) 61testRacyMisbehavingLoader2 done 62