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