aboutsummaryrefslogtreecommitdiff
path: root/test/bytecode/resource/Foo.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-08-07 22:27:32 +0200
committerRoel Spilker <r.spilker@gmail.com>2010-08-07 22:27:32 +0200
commit2683c24ee96fd7228198512f5cfcb2fd0b0cfabd (patch)
treece72e5c7dfd719139ba165658733aac7f665953f /test/bytecode/resource/Foo.java
parentb14eef7eed8703824773467606f3be0c03a04b33 (diff)
downloadlombok-2683c24ee96fd7228198512f5cfcb2fd0b0cfabd.tar.gz
lombok-2683c24ee96fd7228198512f5cfcb2fd0b0cfabd.tar.bz2
lombok-2683c24ee96fd7228198512f5cfcb2fd0b0cfabd.zip
Fixed some bugs in reading the constant pool and added tests
Diffstat (limited to 'test/bytecode/resource/Foo.java')
-rw-r--r--test/bytecode/resource/Foo.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/bytecode/resource/Foo.java b/test/bytecode/resource/Foo.java
index 95a2c820..2726026c 100644
--- a/test/bytecode/resource/Foo.java
+++ b/test/bytecode/resource/Foo.java
@@ -1,5 +1,16 @@
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();