summaryrefslogtreecommitdiffstats
path: root/test/Statics
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2011-09-04 12:01:42 -0700
committerBrian Carlstrom <bdc@google.com>2011-09-04 12:06:58 -0700
commit193a44d9637b51724274b1de384245776e264a46 (patch)
tree198fd6ce98eb1dd2e67e2ea38248b7d3c5abba8f /test/Statics
parent5500cb92a68b87ee1c28977ec0b7734b6b5c1a2f (diff)
downloadart-193a44d9637b51724274b1de384245776e264a46.zip
art-193a44d9637b51724274b1de384245776e264a46.tar.gz
art-193a44d9637b51724274b1de384245776e264a46.tar.bz2
Make InitializeStaticStorageFromCode handle requests for uninitialized storage from <clinit>
Change-Id: I8562ad4fdb33c02c575ddc8986e49ee37c566cfd
Diffstat (limited to 'test/Statics')
-rw-r--r--test/Statics/Statics.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/Statics/Statics.java b/test/Statics/Statics.java
index c38447b..b777650 100644
--- a/test/Statics/Statics.java
+++ b/test/Statics/Statics.java
@@ -11,4 +11,35 @@ class Statics {
static double s7 = 16777217;
static Object s8 = "android";
static Object[] s9 = { "a", "b" };
+
+ static boolean getS0() {
+ return s0;
+ }
+ static byte getS1() {
+ return s1;
+ }
+ static char getS2() {
+ return s2;
+ }
+ static short getS3() {
+ return s3;
+ }
+ static int getS4() {
+ return s4;
+ }
+ static long getS5() {
+ return s5;
+ }
+ static float getS6() {
+ return s6;
+ }
+ static double getS7() {
+ return s7;
+ }
+ static Object getS8() {
+ return s8;
+ }
+ static Object[] getS9() {
+ return s9;
+ }
}