You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ARUNAVA SINHA (JIRA)" <ji...@apache.org> on 2019/01/29 10:25:00 UTC

[jira] [Created] (NETBEANS-2016) TestCases failure in java.hints module with nb-javac for jdk-12

ARUNAVA SINHA created NETBEANS-2016:
---------------------------------------

             Summary: TestCases failure in java.hints module with nb-javac for jdk-12
                 Key: NETBEANS-2016
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2016
             Project: NetBeans
          Issue Type: Bug
          Components: java - Hints
            Reporter: ARUNAVA SINHA
            Assignee: ARUNAVA SINHA


Below TestCases failed with Error:

testSingleParentException(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest)
testCommonParentsWithoutUmbrellas(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest)
testTwoCommonParentFixMultiCatch(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) 
testCommonParentSuppressed(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) 
testTwoSubexceptionsGeneric(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) 
testTwoCommonParentFixSeparateCatches(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) 
testTwoSubexceptionsGeneric7(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) 
testUmbrellaWithOneSubtype(org.netbeans.modules.java.hints.bugs.BroadCatchBlockTest) 
testRecordExceptionsFromNoArgMethod(org.netbeans.modules.java.hints.bugs.NPECheckTest) 
testThrowableAssignedToExceptionParameter(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) 
testMethodInvokedOnThrowable(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) 
testThrowableCompared(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) 
testGetCauseAloneReported(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) 
testGetCausePassedOn(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest) 
test203139(org.netbeans.modules.java.hints.jdk.JoinCatchesTest) 
test234085(org.netbeans.modules.java.hints.jdk.JoinCatchesTest) 
test224028(org.netbeans.modules.java.hints.bugs.NPECheckTest) 
testSimpleFlow(org.netbeans.modules.java.hints.jdk.ConvertToStringSwitchTest) 
testSimpleNoStringArgNotStrict(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testSimpleNoStringArgStrict(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testSimple1(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testSimple2(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testSimple3(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testExpression(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testFinalVariable(org.netbeans.modules.java.hints.jdk.ThrowableInitCauseTest) 
testHintPosFinally(org.netbeans.modules.java.hints.jdk.UseSpecificCatchTest) 
testParametrizedTypeException(org.netbeans.modules.java.hints.jdk.UseSpecificCatchTest)

 

Sample Error Description:

 

Testcase: testGetCauseAloneReported(org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest): Caused an ERROR
9:5 exception InvocationTargetException is never thrown in body of corresponding try statement
java.lang.AssertionError: 9:5 exception InvocationTargetException is never thrown in body of corresponding try statement
at org.netbeans.modules.java.hints.test.api.HintTest.ensureCompilable(HintTest.java:379)
at org.netbeans.modules.java.hints.test.api.HintTest.run(HintTest.java:458)
at org.netbeans.modules.java.hints.test.api.HintTest.run(HintTest.java:443)
at org.netbeans.modules.java.hints.bugs.ThrowableNotThrownTest.testGetCauseAloneReported(ThrowableNotThrownTest.java:230)



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