aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc154/Ajc154Tests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc154/Ajc154Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc154/Ajc154Tests.java
index 6fde74765..ddf37d42a 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc154/Ajc154Tests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc154/Ajc154Tests.java
@@ -237,7 +237,7 @@ public class Ajc154Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// Damage the line number table, entry 2 (Line7:5) so it points to an invalid (not on an instruction boundary) position of 6
Field ff = LineNumber.class.getDeclaredField("startPC");
ff.setAccessible(true);
- ff.set(oneWeWant.getLineNumberTable().getLineNumberTable()[2], new Integer(6));
+ ff.set(oneWeWant.getLineNumberTable().getLineNumberTable()[2], 6);
// oneWeWant.getLineNumberTable().getLineNumberTable()[2].setStartPC(6);
// Should be 'rounded down' when transforming it into a MethodGen, new position will be '5'