netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vikas kumar prabhakar (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (NETBEANS-1251) nb-javac 11 testcase failure : Compound var declaration
Date Tue, 12 Feb 2019 10:43:00 GMT

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

vikas kumar prabhakar reassigned NETBEANS-1251:
-----------------------------------------------

    Assignee: vikas kumar prabhakar

> 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
>
> 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


Mime
View raw message