Community
Participate
Working Groups
I noticed how thisJoinPoint.getSignature().toString() sometimes included the name "ClassNotFoundException" (incorrectly, for types that were obviously not ClassNotFoundException). I made a smaller test case and it seems that this occurs for a parametrized types from an inter-type declaration only. The attached test case prints: class A from sun.misc.Launcher$AppClassLoader@a9c85c extends class java.lang.Object (false) class java.lang.ClassNotFoundException from null extends class java.lang.Exception (true) class Base from sun.misc.Launcher$AppClassLoader@a9c85c extends class java.lang.Object (false) And it's the second line that is unexpected.
Created attachment 114547 [details] Test case to reproduce problem
test and fix committed, thanks for the testcase. Now prints class A for the second line in your output.