Skip to content

Commit 7150660

Browse files
authored
Merge pull request #1221 from smowton/smowton/feature/force_load_method
Allow extra entry-points to be specified for CI lazy loading
2 parents e6f02bc + 51f088a commit 7150660

32 files changed

+347
-89
lines changed
444 Bytes
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
test.class
3+
--lazy-methods --verbosity 10 --function test.f --lazy-methods-extra-entry-point test.sety
4+
^EXIT=6$
5+
^SIGNAL=0$
6+
entry point 'test\.sety' is ambiguous between:
7+
test\.sety:\(I\)V
8+
test\.sety:\(F\)V
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class test {
2+
3+
int x;
4+
int y;
5+
6+
public test() { x = 1; y = 2; }
7+
public void setx(int _x) { x = _x; }
8+
public void sety(int _y) { y = _y; }
9+
public void sety(float _y) { y = (int)_y; }
10+
public void f() { }
11+
12+
}
13+
14+
444 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
test.class
3+
--lazy-methods --verbosity 10 --function test.f --lazy-methods-extra-entry-point "test.sety:(I)V" --lazy-methods-extra-entry-point "test.sety:(F)V"
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
VERIFICATION SUCCESSFUL
7+
CI lazy methods: elaborate java::test\.sety:\(I\)V
8+
CI lazy methods: elaborate java::test\.sety:\(F\)V
9+
--
10+
CI lazy methods: elaborate java::test\.setx:\(I\)V
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class test {
2+
3+
int x;
4+
int y;
5+
6+
public test() { x = 1; y = 2; }
7+
public void setx(int _x) { x = _x; }
8+
public void sety(int _y) { y = _y; }
9+
public void sety(float _y) { y = (int)_y; }
10+
public void f() { }
11+
12+
}
13+
14+
444 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CORE
2+
test.class
3+
--lazy-methods --verbosity 10 --function test.f --lazy-methods-extra-entry-point test.setx
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
VERIFICATION SUCCESSFUL
7+
CI lazy methods: elaborate java::test\.setx:\(I\)V
8+
--
9+
CI lazy methods: elaborate java::test\.sety:\(I\)V
10+
CI lazy methods: elaborate java::test\.sety:\(F\)V
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class test {
2+
3+
int x;
4+
int y;
5+
6+
public test() { x = 1; y = 2; }
7+
public void setx(int _x) { x = _x; }
8+
public void sety(int _y) { y = _y; }
9+
public void sety(float _y) { y = (int)_y; }
10+
public void f() { }
11+
12+
}
13+
14+
444 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)