hg: jdk8/tl/jdk: 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed

david.holmes at oracle.com david.holmes at oracle.com
Tue May 8 07:36:44 UTC 2012


Changeset: 48513d156965
Author:    dholmes
Date:      2012-05-08 02:59 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/48513d156965

7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed
Summary: Perform class.getField inside a doPrivileged block
Reviewed-by: chegar, psandoz

! src/share/classes/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java
! src/share/classes/java/util/concurrent/atomic/AtomicLongFieldUpdater.java
! src/share/classes/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java
+ test/java/util/concurrent/atomic/AtomicUpdaters.java




More information about the security-dev mailing list