summaryrefslogtreecommitdiff
path: root/test/068-classloader/src/Main.java
AgeCommit message (Collapse)Author
2017-06-02Tests: never use System.errKevin Brodsky
Always print stack traces to System.out, and replace all System.err.println()'s with System.out.println(). Follow-up of https://android-review.googlesource.com/#/c/187020/ and https://android-review.googlesource.com/#/c/407032/. Test: m test-art-host m test-art-target Change-Id: I9ab9cd955a8db25b2ec6673790e5bc924f62c88a
2016-07-22ART: Fix type parameter in testsAndreas Gampe
Move Class to Class<?>, Constructor to Constructor<?>, and in general clean up reflection. Test: m test-art-host-run-test Change-Id: I3a4223ee8d14d032015edf34bf27135757f7138c
2016-04-12Fix InsertDexFileInToClassLoader to handle null class loadersMathieu Chartier
Maybe used by legacy apps. This functionality is planned for deprecation. Bug: 27954959 (cherry picked from commit f2bf9d640e37b72be8b4f6016d4aa95a0e27b7b4) Change-Id: I1ae2cf1e33f2f1b237a41c8cc50d2a814a52a95a
2015-12-01Revert "Change LoadNativeLibrary to use GetOrCreateAllocator"Mathieu Chartier
This reverts commit 2d902b99bba7ae1ad77ebeb038a4ef63c3ed6399. Change-Id: I4a674844f2f6d76d1c33741b46f12417ec7eab35
2015-11-30Change LoadNativeLibrary to use GetOrCreateAllocatorMathieu Chartier
Previously we used GetAllocatorForClassLoader. This did not handle the case where someone called LoadLibrary without having already loaded a class. Added regression test. Bug: 25866849 Change-Id: Id720505eaded3b0f9c2eab59a40611b328837c4a
2015-04-21Class.forName(..., ..., null) fixesBrian Carlstrom
- Add test for Class.forName(..., ..., null) - Simplify VMStack.getClosestUserClassLoader based on new behavior of Class.forName(..., ..., null) Change-Id: I6bc470e20fa177e8a3debe55c90a84eef7ef518e
2015-04-21ART: Extend run-test 068-classloaderAndreas Gampe
Add code that tries to provoke dex-cache collisions. Change-Id: I58c7905597a501f3731efe4c6e1e2f7772e3b312
2012-01-31Class::SetStatus(kStatusError) now checks that an exception is pending and ↵Brian Carlstrom
uses it to SetVerifyErrorClass Change-Id: I02f4adc51ac6da88d4969655fa828f93941c4c0a
2011-09-29Adding old unit tests to test suite.jeffhao
These tests are copied straight over. They'll still run, but they're using the old system. Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8