Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround RT#120919 to fix Date/Temporal on JVM backend #479

Closed
wants to merge 1 commit into from

Conversation

skids
Copy link
Contributor

@skids skids commented Jul 26, 2015

The VALID-UNITS method cannot be both private and in a role on JVM
due to RT#120919. Also the crash caused by this bug is nasty because
it kills the stack trying to build exceptions inside exceptions due
to repeated failure to bind '$?CLASS' to typed exception attributes.

The VALID-UNITS method cannot be both private and in a role on JVM
due to RT#120919.  Also the crash caused by this bug is nasty because
it kills the stack trying to build exceptions inside exceptions due
to repeated failure to bind '$?CLASS' to typed exception attributes.
@labster
Copy link
Member

labster commented Jul 26, 2015

Can we leave a code comment somewhere to revert this when RT#120919 -- otherwise someone is going to wonder why private-looking methods are leaking.

@skids
Copy link
Contributor Author

skids commented Jul 27, 2015

I was going to upload such a comment to roast. But then I figured maybe best to post it in the RT? Have not decided yet. In addition to src/core/Temporal.pm there is a pre-existing workaround in src/core/IO/Local.pm.

@skids
Copy link
Contributor Author

skids commented Aug 10, 2015

OK, I added a comment in the RT ticket saying what to do to remove workarounds.

@skids
Copy link
Contributor Author

skids commented May 23, 2018

Bug long since resolved and it looks like this workaround was removed as VALID-UNIT is back to a private method now.

@skids skids closed this May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants