JDK-8064517 : Generic reflection classes still have some data races
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-11-10
  • Updated: 2015-06-23
  • Resolved: 2015-06-23
Related Reports
Relates :  
Description
After JDK-8062771 was fixed, there are still some data races pending in generic reflection classes. Mainly around unsafe publication of arrays. Here is a proposed fix:

http://cr.openjdk.java.net/~plevart/jdk9-dev/GenericsReflectionRaces/webrev.01/

Comments
The issues have been fixed by: JDK-8062771 Core reflection should use final fields whenever possible, JDK-8064846 Lazy-init thread safety problems in core reflection, and JDK-8064391 More thread safety problems in core reflection
23-06-2015

JDK-8062771 Core reflection should use final fields whenever possible, JDK-8064846 Lazy-init thread safety problems in core reflection, and JDK-8064391 More thread safety problems in core reflection ...have fixed the issues, so I propose to close this issue as a duplicate.
23-06-2015