Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Add global reflection lock #167

Merged
merged 2 commits into from
Aug 20, 2014
Merged

Add global reflection lock #167

merged 2 commits into from
Aug 20, 2014

Conversation

phaller
Copy link
Contributor

@phaller phaller commented Aug 19, 2014

This avoids data races that typically lead to runtime exceptions
when running on Scala 2.10.x.

phaller and others added 2 commits August 20, 2014 01:57
This avoids data races that typically lead to runtime exceptions
when running on Scala 2.10.x.
heathermiller added a commit that referenced this pull request Aug 20, 2014
@heathermiller heathermiller merged commit 51baf73 into 0.9.x Aug 20, 2014
@phaller phaller deleted the topic/locking branch August 20, 2014 20:29
heathermiller added a commit that referenced this pull request Feb 5, 2015
phaller pushed a commit to phaller/pickling that referenced this pull request Jul 27, 2015
@reactormonk
Copy link

So no locking required on Scala 2.11?

@jsuereth
Copy link
Contributor

@reactormonk Theoretically, yes. I'm still working on how to fix up GRL usage in the codebase for 0.11.x such that the 2.11 variant doesn't lock, but the 2.10 one does (at runtime).

@reactormonk
Copy link

Maybe put the version-specific code into two different files and then add a version-specific exclude to https://github.com/scala/pickling/blob/0.10.x/build.sbt#L67-L71 ? I wonder which IDEs would pick that up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants