You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/05/28 10:44:02 UTC
[GitHub] arusinha commented on a change in pull request #551: [NETBEANS-777]
JDK10-LVTI: Fix for NPE on typing invalid block/javadoc comment just after
var keyword
arusinha commented on a change in pull request #551: [NETBEANS-777] JDK10-LVTI: Fix for NPE on typing invalid block/javadoc comment just after var keyword
URL: https://github.com/apache/incubator-netbeans/pull/551#discussion_r191175159
##########
File path: java.lexer/src/org/netbeans/lib/java/lexer/JavaLexer.java
##########
@@ -1051,7 +1051,12 @@ else if ('0' <= c && c <= '9') { // float literal
if (AFTER_VAR_TOKENS.contains(next.id())) {
do {
+ if (next.partType() != PartType.COMPLETE) {
Review comment:
Had added null check as @sdedic suggested in last commit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists