diff options
Diffstat (limited to 'tests/bugs150/pr119210/ThreadAspectLib.java')
-rw-r--r-- | tests/bugs150/pr119210/ThreadAspectLib.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs150/pr119210/ThreadAspectLib.java b/tests/bugs150/pr119210/ThreadAspectLib.java new file mode 100644 index 000000000..b2c899499 --- /dev/null +++ b/tests/bugs150/pr119210/ThreadAspectLib.java @@ -0,0 +1,19 @@ +public aspect ThreadAspectLib { +// pointcut setThreadLocalsField(): set(private int TestLib.myInt); +// +// Integer around():setThreadLocalsField() +// { +// try{ +// return new Integer(2); +// } +// catch(Exception e) +// { +// e.printStackTrace(); +// return null; +// } +// } + + Integer around(): call(* getFive()) { + return new Integer(3); + } +}
\ No newline at end of file |