aboutsummaryrefslogtreecommitdiff
path: root/test/bytecode
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-01-30 19:48:12 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-01-30 19:48:12 +0100
commit55384884d380fba1a5fe024e1d82329d71c36f02 (patch)
treea19f69b9a4da56b58abb96e0a79d852eeb659bb0 /test/bytecode
parent98875218ea3f6ba68f7f83d3e0458c9901db00f3 (diff)
parentfc7ca61aeb3ee06c426573b5059e97532b601172 (diff)
downloadlombok-55384884d380fba1a5fe024e1d82329d71c36f02.tar.gz
lombok-55384884d380fba1a5fe024e1d82329d71c36f02.tar.bz2
lombok-55384884d380fba1a5fe024e1d82329d71c36f02.zip
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'test/bytecode')
-rw-r--r--test/bytecode/resource/Foo.java3
-rw-r--r--test/bytecode/src/lombok/bytecode/TestClassFileMetaData.java1
2 files changed, 3 insertions, 1 deletions
diff --git a/test/bytecode/resource/Foo.java b/test/bytecode/resource/Foo.java
index 2726026c..a7bb26af 100644
--- a/test/bytecode/resource/Foo.java
+++ b/test/bytecode/resource/Foo.java
@@ -1,6 +1,7 @@
public class Foo implements java.util.RandomAccess {
private static final long LONG = 123L;
- private static final String ONE = "Eén";
+ private static final long LONG_OVERFLOW = 0x1FFFFFFFFL;
+ private static final String ONE = "E\u00e9n";
private static final int INT = 123;
private static final double DOUBLE = 1.23;
private static final double DOUBLE_NAN = Double.NaN;
diff --git a/test/bytecode/src/lombok/bytecode/TestClassFileMetaData.java b/test/bytecode/src/lombok/bytecode/TestClassFileMetaData.java
index aaf7d2e9..2b506c1b 100644
--- a/test/bytecode/src/lombok/bytecode/TestClassFileMetaData.java
+++ b/test/bytecode/src/lombok/bytecode/TestClassFileMetaData.java
@@ -169,6 +169,7 @@ public class TestClassFileMetaData {
@Test
public void testContainsLong() {
assertTrue(foo.containsLong(123));
+ assertTrue(foo.containsLong(0x1FFFFFFFFL));
assertFalse(foo.containsLong(1));
assertFalse(buux.containsLong(1));