You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My previous fix (PR #3364 for issue #3363) was only partially successful. Apparently, it can happen that the packageOrDeclaringType variable is null (duh), and then it must be made implicit afterward This occurs when the JDT compiler can't resolve a package or declaring type. This occurs for example in the code below, where Spoon will guess that the type belongs to the CU's package.
This bug specifically affects the method
JDTTreeBuilderHelper#createTypeAccessNoclasspath
spoon/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilderHelper.java
Lines 635 to 649 in 3a8d04d
My previous fix (PR #3364 for issue #3363) was only partially successful. Apparently, it can happen that the
packageOrDeclaringType
variable isnull
(duh), and then it must be made implicit afterward This occurs when the JDT compiler can't resolve a package or declaring type. This occurs for example in the code below, where Spoon will guess that the type belongs to the CU's package.The type access to
SomeClass
will become explicitly qualified aspkg.SomeClass
.The fix is simple, I'm working on a PR.
The text was updated successfully, but these errors were encountered: