summaryrefslogtreecommitdiffstats
path: root/test/044-proxy
Commit message (Collapse)AuthorAgeFilesLines
* Fix stack trace for proxy methods and added test case.Jeff Hao2013-12-042-3/+24
| | | | | | Bug: 11861564 Change-Id: I9513359ff9e5d345ee71d84388afed02bd114ecf
* Update test/044-proxy/expected.txtBrian Carlstrom2013-11-241-1/+1
| | | | Change-Id: If2b2aaac869ebfba3abb0f167bbd381054688a97
* Interpreter entries and instrumentation as a listener.Ian Rogers2013-04-081-20/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the instrumentation responsible for whether we want method entry/exit stubs, and allow it to use interpreter entry stubs when instruction by instruction instrumentation is required. Improve deoptimization so more JDWP test cases are passing. Refactor exception debug posting, in particular improve reporting in the interpreter. Improve class linker exception throwing so that broken dex files are more likely to be reported. Fixes the performance issue Bug: 8410519. Fix some error reporting lock level errors for the large object space. Make fast object verification faster. Add some debug mode robustness to finding dex PCs in GC maps. Add printf attributes to JniAbortF and fix errors. Expand run-test 044 to test return behaviors and fix issues with not throwing appropriate exceptions for proxies. Ensure causes are reported with a class linker NoClassDefFoundError and JNI NoSuchFieldError. Remove unused debugMe and updateDebuggerFromCode. There's a minor sizing tweak to the arg array builder, and an extra reference array check in the interpreter. Some clean-up of trace code. Fix reg type cache destructor if it is called after the reg type cache is shutdown (as is the case in oatdump). Change-Id: I6519c7b35df77f978d011999354c864f4918e8ce
* Fix proxy return ClassCastException and add test.Ian Rogers2013-02-253-0/+76
| | | | | | | | | Add test for Bug: 8250775 that doesn't effect ART. Expand test case further. ClassCastException has no constructor expecting a cause and so using this creates a JNI failure. Switch to not using a wrapped exception as the wrapping itself wasn't adding information. Change-Id: I32dd541e1a1022089ec993fa4f4646042c5bf1fa
* Kill constants.h and fix some copyright headers.Elliott Hughes2012-03-301-4/+1
| | | | Change-Id: I51c04d731d6de035328781d8ac134ad6fcf49897
* Stash the directly-implemented interfaces in Proxy so we can implement ↵Elliott Hughes2012-03-212-0/+3
| | | | | | | | Class.getInterfaces. Also extend test 044 to spot this (found by a libcore test). Change-Id: I50019db49c549f045d94173c3ed9ae81f05ef858
* Give proxy all of the return types. Part 2.Jesse Wilson2011-10-242-10/+6
| | | | Change-Id: I953144290307f46824642837530ac4deeb6a78b2
* Proxy implementationIan Rogers2011-10-144-3/+225
| | | | | | | | | | This rounds out the proxy implementation by adding missing pieces to the class linker, extending tests and fixing issues in the runtime support. There are also some tweaks for performance and to clean up Method/Object a little. A unit test of the functionality is "art/test/run-test 044" Change-Id: Id94102d10b81cd9b12b95ba8618f6187490204c4
* Adding old unit tests to test suite.jeffhao2011-09-299-0/+904
These tests are copied straight over. They'll still run, but they're using the old system. Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8