[7u12] Request for approval for CR 8000999: backport of JSR 292 to 7u
Christian Thalinger
christian.thalinger at oracle.com
Fri Oct 19 17:12:46 PDT 2012
On Oct 19, 2012, at 1:39 AM, Dalibor Topic <dalibor.topic at oracle.com> wrote:
> On 10/18/12 9:22 PM, Christian Thalinger wrote:
>> diff --git a/src/share/classes/sun/misc/Unsafe.java b/src/share/classes/sun/misc/Unsafe.java
>> --- a/src/share/classes/sun/misc/Unsafe.java
>> +++ b/src/share/classes/sun/misc/Unsafe.java
>> @@ -678,6 +678,14 @@
>> public native Object staticFieldBase(Field f);
>>
>> /**
>> + * Detect if the given class may need to be initialized. This is often
>> + * needed in conjunction with obtaining the static field base of a
>> + * class.
>> + * @return false only if a call to {@code ensureClassInitialized} would have no effect
>> + */
>> + public native boolean shouldBeInitialized(Class c);
>> +
>> + /**
>> * Ensure the given class has been initialized. This is often
>> * needed in conjunction with obtaining the static field base of a
>> * class.
>>
> This change won't work with what's in jdk7u-dev now (HS 23.6) and would require a bulk integration of HS 24 first
> or concurrently. There has been no such bulk integration approval request, though.
>
> If the proposed change has already been reviewed for 7u, please post a pointer to the review thread so that we can
> take a look at it.
>
> The other looming issue I saw on a quick scan of the changeset is that the javadoc for java.lang.invoke got changed:
> http://cr.openjdk.java.net/~twisti/8000999/src/share/classes/java/lang/invoke/package-info.java.udiff.html
>
> Is that a deliberate specification change for a 7 update release or a cut and paste error?
It's deliberate. I talked to John Rose about it and it's a clarification.
-- Chris
>
> --
> Oracle <http://www.oracle.com>
> Dalibor Topic | Principal Product Manager
> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961>
> Oracle Java Platform Group
>
> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>
> ORACLE Deutschland B.V. & Co. KG
> Hauptverwaltung: Riesstr. 25, D-80992 München
> Registergericht: Amtsgericht München, HRA 95603
> Geschäftsführer: Jürgen Kunz
>
> Komplementärin: ORACLE Deutschland Verwaltung B.V.
> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
>
> Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
More information about the jdk7u-dev
mailing list