RFR  8140687: Move @Contended to the jdk.internal.vm.annotation package
chris.hegarty at oracle.com
Mon Nov 9 10:43:00 UTC 2015
On 02/11/15 10:45, Aleksey Shipilev wrote:
> On 11/02/2015 02:56 AM, Chris Hegarty wrote:
>> In line with the intended location for other VM annotations,
>> see 8138732 , @sun.misc.Contended should be moved
>> to the jdk.internal.vm.annotation package.
> Changes look good to me.
> But what's the compatibility story for JSR 166? With this move, we would
> be unable to bootclasspath JSR 166 JAR, since it references the "old"
As you are aware, the 166 CVS will fork shortly to support
a JDK 9 only version. Artifacts built from the fork are of
course not impacted by this change.
For existing 166 artifacts, they will not run on JDK 9 as
the Contended annotation will not be present.
More information about the core-libs-dev