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
That's perfectly valid Java. I haven't seen it written like that before, but T.Entry<K, V> erases just fine to Map.Entry, so there's no type problem.
I can also reproduce the bug. The problem is that JDT resolves T as a qualified type reference, but Spoon does not appear to handle the case where that's a type parameter reference. In other words, this is a bug!
Hi!
I am trying to process a file but the library gets stuck when trying to build the model.
The file that I am trying to process is this one
The code I am using is below:
Using the debugger I managed to see that buildModel is stuck in an infinite loop here:
spoon/src/main/java/spoon/support/compiler/jdt/JDTTreeBuilderHelper.java
Line 513 in fecec81
off
never goes below zeroThe part of my file it gets stuck on is
T.Entry<K, V>
, found in line 508 of my file.I am failing to see why this is happening. Is that syntax not allowed or invalid?
The text was updated successfully, but these errors were encountered: