diff options
author | Brian Carlstrom <bdc@google.com> | 2011-09-04 12:01:42 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2011-09-04 12:06:58 -0700 |
commit | 193a44d9637b51724274b1de384245776e264a46 (patch) | |
tree | 198fd6ce98eb1dd2e67e2ea38248b7d3c5abba8f /test/Statics | |
parent | 5500cb92a68b87ee1c28977ec0b7734b6b5c1a2f (diff) | |
download | art-193a44d9637b51724274b1de384245776e264a46.tar.gz art-193a44d9637b51724274b1de384245776e264a46.tar.bz2 art-193a44d9637b51724274b1de384245776e264a46.zip |
Make InitializeStaticStorageFromCode handle requests for uninitialized storage from <clinit>
Change-Id: I8562ad4fdb33c02c575ddc8986e49ee37c566cfd
Diffstat (limited to 'test/Statics')
-rw-r--r-- | test/Statics/Statics.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/Statics/Statics.java b/test/Statics/Statics.java index c38447bad4..b77765017d 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; + } } |