[
https://issues.apache.org/jira/browse/DERBY-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473819
]
Daniel John Debrunner commented on DERBY-2318:
----------------------------------------------
One guess is that the JIT is changing the stack depth by inlining methods.
I think in some ways the test is invalid, I don't think there are no guarantees
about the stack depth for subsequent similar operations.
> testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest)
> failed on weme6.1 jvm/
> -------------------------------------------------------------------------------------------------
>
> Key: DERBY-2318
> URL: https://issues.apache.org/jira/browse/DERBY-2318
> Project: Derby
> Issue Type: Test
> Affects Versions: 10.3.0.0
> Environment: Java Version: J2ME Foundation Specification v1.1
> Java Vendor: IBM Corporation
> Java home: c:\jartest\weme6.1
> Reporter: Suresh Thalamati
> Assigned To: Myrna van Lunteren
> Priority: Minor
> Fix For: 10.3.0.0
>
>
> Time: 1,021.188
> There was 1 failure:
> 1)
> testStreams(org.apache.derbyTesting.functionTests.tests.lang.StreamsTest)junit.framework.AssertionFailedError:
> FAILED!! level difference not expected since streams are materialized.
> expected:<48> but was:<49>
> at
> org.apache.derbyTesting.functionTests.tests.lang.StreamsTest.testStreams(StreamsTest.java:118)
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:76)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> FAILURES!!!
> Tests run: 1285, Failures: 1, Errors: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.