[
https://issues.apache.org/jira/browse/TAP5-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAP5-403.
-------------------------------------
Resolution: Fixed
Fix Version/s: 5.1.0.0
> OneShotLock tests fail under JDK 1.6 because of JVM differences
> ---------------------------------------------------------------
>
> Key: TAP5-403
> URL: https://issues.apache.org/jira/browse/TAP5-403
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-ioc
> Affects Versions: 5.1.0.0, 5.0.18
> Reporter: Andreas Andreou
> Assignee: Howard M. Lewis Ship
> Fix For: 5.1.0.0
>
>
> The failures are due to an incorrect error message generated by
> org.apache.tapestry5.ioc.internal.util.OneShotLock
> As mentioned in the comments of that method,
> Thread.currentThread().getStackTrace[4] is used instead of
> Thread.currentThread().getStackTrace[3] and this was found by trial and
> error... in java1.6 however,
> Thread.currentThread().getStackTrace[3] is indeed the correct choice for the
> caller method
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]