271adc6d545b5eb1404f1904589ff1abb7ef8b58 |
|
20-Sep-2017 |
Sebastien Hertz <shertz@google.com> |
JDWP: prioritize usage of Method.VariableTableWithGeneric command The variables in a method are accessible with the commands Method.VariableTable and Method.VariableTableWithGeneric. However older runtimes (like Dalvik) only supports the generic version. Since some helper methods of the jdwp test framework only use the non-generic command, we cannot run the jdwp tests on older runtimes. This CL fixes that by changing the helper methods to use the command VariableTableWithGeneric first. If it is not supported by the runtime, we fallback to the command VariableTable. Also removes the VarInfo class which is redundant with the class Frame.Variable. Note that the tests that specifically use one or the other command are unchanged. Bug: 65869324 Test: art/tools/run-jdwp-tests.sh '--mode=host' '--variant=X64' Change-Id: If69ac488c6a6ffd0d3f5ce76e9b9415a8d3b62ca
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/Frame.java
|
e1833aa2673d4f975ad35e7a39317feeea922fe1 |
|
23-Feb-2017 |
Sebastien Hertz <shertz@google.com> |
Fix warnings of JDWP tests This CL fixes general warning issues: - Adds missing @Override annotations - Adds parameterized types for generic classes (List, Iterator, ...) - Removes unused imports - Removes declared method exceptions which are not thrown - Adds @SuppressWarning annotations in debuggee classes (like when a symbol is not used in the code but is accessed through debugger) - Makes inner classes static when possible More specific issues (related to design, ...) will be addressed in separate CLs. Test: art/tools/run-jdwp-tests.sh --mode=host --variant=X64 Change-Id: I83709f5d76b2a8c9268cd11dd7884982d5d06f2d
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/Frame.java
|
5f0a23683aa603d8c50b6dd071a565821b76067b |
|
10-Dec-2011 |
Elliott Hughes <enh@google.com> |
Add harmony's jdwp tests. Change-Id: I1c0e70cd9e07244fe422a4f77f3727b55ec28402
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/Frame.java
|