RFR: jsr166 jdk9 integration wave 2
Paul Sandoz
paul.sandoz at oracle.com
Tue Nov 17 12:43:03 UTC 2015
> On 17 Nov 2015, at 13:01, Doug Lea <dl at cs.oswego.edu> wrote:
> We added more tck tests to check this, and all pass.
> ClassCastException was/is thrown in two cases, without distinguishing them,
> which allowed a path merge by arranging that "cclass" is now the same as "vclass" unless field is protected.
>
My bad, sorry for the noise, i misread the code in throwAccessCheckException
—
Separately but related, i have a solution that allows VarHandles to be used in the A*FU implementations. However, i am not sure it would be possible to preserve the exact exception throwing behaviour and their content e.g. the type of a CAS expect value would likely be checked.
Paul.
More information about the core-libs-dev
mailing list