You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2019/02/27 14:08:00 UTC

[jira] [Resolved] (NETBEANS-1251) nb-javac 11 testcase failure : Compound var declaration

     [ https://issues.apache.org/jira/browse/NETBEANS-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Kishalmi resolved NETBEANS-1251.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 11.0

Marked resolved as the corresponding PR has been merged.

> nb-javac 11 testcase failure : Compound var declaration
> -------------------------------------------------------
>
>                 Key: NETBEANS-1251
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1251
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: vikas kumar prabhakar
>            Assignee: vikas kumar prabhakar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Below testcases are failing:
> [junit] Testcase: testVarCompoundDeclaration1(org.netbeans.api.java.source.gen.VarCompoundDeclarationTest): FAILED
> [junit] Testcase: testVarCompoundDeclaration2(org.netbeans.api.java.source.gen.VarCompoundDeclarationTest): FAILED
> [junit] Testcase: testVarCompoundDeclaration3(org.netbeans.api.java.source.gen.VarCompoundDeclarationTest): FAILED
> [junit] Testcase: testVarCompoundDeclaration4(org.netbeans.api.java.source.gen.VarCompoundDeclarationTest): FAILED
> [junit] Testcase: testCase1(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase2(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase3(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase5(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase6(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase7(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase8(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase9(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
> [junit] Testcase: testCase10(org.netbeans.modules.java.hints.errors.VarCompDeclarationTest): FAILED
>  
> Issue Description:
> Javac Issue description(from Vikas) :
> Sample code: var v1 = 10, v2 = 11;
> Compilation tree details with jdk-10:
> In this case the parent bloc tree has two trees : 1. int v1 = 10; 2. int v2 = 11;
> statementPath.getLeaf() i.e ctx.getPath().getLeaf() refers to first tree of block i.e int v1 = 10;
> Compilation tree details with jdk-11:
> In this case the parent bloc tree has two trees : 1. int v1 = 10; 2. var v2 = 11;
> statementPath.getLeaf() i.e ctx.getPath().getLeaf() refers to second tree of block i.e var v2 = 11;



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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