sdedic opened a new pull request, #4270:
URL: https://github.com/apache/netbeans/pull/4270

   This error can be reproduced i.e. on `micronaut-core/http` project; the 
project mixes Groovy + Java sources. Java references Groovy classes, so our 
`GroovyVirtualSourceProvider` generates a java stub source during indexing, so 
Java indexer is happy and can resolve the class' symbols.
   
   But it seems that the stub generator stops at 1st level of type parameters 
and does not print potential type parameters of the actual type parameter(s). 
So instead of `Map<String, Map<String, ClassNode>>` it prints just `Map<String, 
Map>`. Javac will then complain about usage of such (incompatible) type in the 
java source which expects the correct one.
   
   The fix is simple: recursively print the complete type incl. parameters and 
bounds.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to