JDK-8145371 ClassCastException thrown in LambdaFormEditor.getInCache

Martin Buchholz martinrb at google.com
Thu Jan 11 03:41:26 UTC 2018

On Wed, Jan 10, 2018 at 3:58 PM, Paul Sandoz <paul.sandoz at oracle.com> wrote:

> The code is skating close to the edge and is definitely making you
> uncomfortable :-) so I proposed making the field non-final but annotated
> with @Stable, the same optimisations should still apply.

Sorry, @Stable doesn't increase my comfort.  It is common for unsafe
publication bugs to persist for years because they don't manifest as
user-visible behavior very often.  Like

More information about the core-libs-dev mailing list