lahodaj commented on code in PR #8856:
URL: https://github.com/apache/netbeans/pull/8856#discussion_r2425352905
##########
java/java.sourceui/src/org/netbeans/api/java/source/ui/ElementOpen.java:
##########
@@ -573,6 +573,10 @@ static void fillInTreePositions(CompilationInfo info, Tree
forTree, Object[] tar
int[] span = null;
switch(forTree.getKind()) {
case CLASS:
+ if ((int) target[1] >= 0 && (int) target[2] == -1) {
+ // Compact Source file (JEP 512) issue implicit class end
position not found in code
Review Comment:
```suggestion
// Compact Source file (JEP 512) issue implicit class
end position not found in code
// see JDK-8364015
```
--
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