vikasprabhakar commented on a change in pull request #1131: [NETBEANS-1251] 
nb-javac 11 testcase failure : Compound var declaration
URL: 
https://github.com/apache/incubator-netbeans/pull/1131#discussion_r256337633
 
 

 ##########
 File path: 
java/java.hints/test/unit/src/org/netbeans/modules/java/hints/errors/VarCompDeclarationTest.java
 ##########
 @@ -68,16 +68,17 @@ public void testCase2() throws Exception {
                        "package test; \n" +
                        "public class Test {\n" +
                        "    private void test() { \n" +
-                       "        var v = 1, /*comment*/ v1 = 10;\n" +
+                       "        var v = 1, v1 = 10, v2 = 100;\n" +
 
 Review comment:
   With recent nb-javac changes, the in between comment is not supported.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to