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
In noclasspath mode, some.neat.pkg.CustomException becomes a type references with the qualified name some. Which is pretty wild. The problem appears to be that TypeBinding.readableName() actually returns just some here:
So this could be a problem with the JDT library rather than with Spoon. I'm not certain. I'll put up a PR with a test case, but I haven't had the time to look into a solution.
The text was updated successfully, but these errors were encountered:
I have a problem in noclasspath mode where a qualified type reference in catch clauses are resolved incorrectly. Take the following code snippet.
In noclasspath mode,
some.neat.pkg.CustomException
becomes a type references with the qualified namesome
. Which is pretty wild. The problem appears to be thatTypeBinding.readableName()
actually returns justsome
here:spoon/src/main/java/spoon/support/compiler/jdt/ReferenceBuilder.java
Line 961 in 3a8d04d
So this could be a problem with the JDT library rather than with Spoon. I'm not certain. I'll put up a PR with a test case, but I haven't had the time to look into a solution.
The text was updated successfully, but these errors were encountered: