diff options
Diffstat (limited to 'test/bytecode/resource/Foo.java')
-rw-r--r-- | test/bytecode/resource/Foo.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/bytecode/resource/Foo.java b/test/bytecode/resource/Foo.java new file mode 100644 index 00000000..2726026c --- /dev/null +++ b/test/bytecode/resource/Foo.java @@ -0,0 +1,20 @@ +public class Foo implements java.util.RandomAccess { + private static final long LONG = 123L; + private static final String ONE = "Eén"; + private static final int INT = 123; + private static final double DOUBLE = 1.23; + private static final double DOUBLE_NAN = Double.NaN; + private static final double DOUBLE_INF = Double.POSITIVE_INFINITY; + private static final double DOUBLE_NEG_INF = Double.NEGATIVE_INFINITY; + + private static final float FLOAT = 1.23F; + private static final float FLOAT_NAN = Float.NaN; + private static final float FLOAT_INF = Float.POSITIVE_INFINITY; + private static final float FLOAT_NEG_INF = Float.NEGATIVE_INFINITY; + + { + String value = toString(); + System.out.print(value); + System.out.print("Two" + "Four"); + } +}
\ No newline at end of file |