]> source.dussan.org Git - aspectj.git/commitdiff
refactoring
authoraclement <aclement>
Mon, 14 Sep 2009 16:49:30 +0000 (16:49 +0000)
committeraclement <aclement>
Mon, 14 Sep 2009 16:49:30 +0000 (16:49 +0000)
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java

index 056a184b83121f0501ca6f990e0cce23a0390927..fb3b352f155bd16175e1fcc5dfe0e00d2a6c07b1 100644 (file)
@@ -240,7 +240,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], 6);
+               ff.set(oneWeWant.getLineNumberTable().getLineNumberTable()[2], new Integer(6));
                // oneWeWant.getLineNumberTable().getLineNumberTable()[2].setStartPC(6);
 
                // Should be 'rounded down' when transforming it into a MethodGen, new position will be '5'
@@ -354,6 +354,7 @@ public class Ajc154Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
                return XMLBasedAjcTestCase.loadSuite(Ajc154Tests.class);
        }
 
+       @Override
        protected File getSpecFile() {
                return new File("../tests/src/org/aspectj/systemtest/ajc154/ajc154.xml");
        }