blob: f539edb17ec4c29dc71d3628ef83cf42c2106c0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package foo;
import java.sql.SQLException;
public class Application {
public static void main(String[] args) throws SQLException {
System.out.println("Aspect should not kick in without ITD, but should with ITD");
new BaseClass().getConnection();
new BaseClass().getConnection("user", "pw");
System.out.println("Aspect should kick in");
new SubClass().getConnection();
new SubClass().getConnection("user", "pw");
}
}
|