summaryrefslogtreecommitdiff
path: root/test/Nested/Nested.java
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-02-01 20:40:44 -0800
committer Andreas Gampe <agampe@google.com> 2017-02-02 10:53:14 -0800
commitae78c2643375c7536affcec318a60d13d430f181 (patch)
treed7299730b4e84107d544f66b6a046af75f367669 /test/Nested/Nested.java
parenta85111c5f25310e3d0eac68a6f0d8cd7c6612dfe (diff)
ART: Add UnstartedRuntime support for Class.getSimpleName
This requires two native methods, isAnonymousClass and getDeclaringClass. Add tests. Bug: 34890992 Test: m Test: m test-art-host Test: Device boots Change-Id: Ib3fca2a6bb6e367ef202ff864719cab979d6c793
Diffstat (limited to 'test/Nested/Nested.java')
-rw-r--r--test/Nested/Nested.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Nested/Nested.java b/test/Nested/Nested.java
index 78b273bec0..f493989268 100644
--- a/test/Nested/Nested.java
+++ b/test/Nested/Nested.java
@@ -17,4 +17,6 @@
class Nested {
class Inner {
}
+ Object x = new Object() {
+ };
}