[JSR308] Wrapper types

Artemus Harper subanark at gmail.com
Sat Mar 1 12:43:56 EST 2008


> Section "C.3 Reflection" of the proposal lays out some ideas here, though
> not everything has been implemented yet.

C.3 doesn't state how the Method.invoke will operate though. What will
happen if you try to reflectively call a method with a parameter
marked as @Readonly, but you pass invoke a non-readonly reference?

Additionally, the AtomicReferenceFieldUpdater seems like it will be
able to bypass any annotation constrains placed on a field.

-- 
Artemus Harper



More information about the JSR308 mailing list