aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs195/550494/Application.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs195/550494/Application.java')
-rw-r--r--tests/bugs195/550494/Application.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bugs195/550494/Application.java b/tests/bugs195/550494/Application.java
new file mode 100644
index 000000000..f539edb17
--- /dev/null
+++ b/tests/bugs195/550494/Application.java
@@ -0,0 +1,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");
+ }
+}