Re: It's not a bug but it's not user friendly

2020-12-14 Thread forax
> De: "mandy chung" > À: "Remi Forax" , "core-libs-dev" > > Envoyé: Lundi 14 Décembre 2020 22:41:23 > Objet: Re: It's not a bug but it's not user friendly > I think [ https://bugs.openjdk.java.net/browse/JDK-8199149 | > https://b

Re: It's not a bug but it's not user friendly

2020-12-14 Thread Mandy Chung
I think https://bugs.openjdk.java.net/browse/JDK-8199149 is the relevant RFE. Mandy On 12/12/20 8:07 AM, Remi Forax wrote: A student of mine send me a code that can be reduced to this code --- import java.lang.invoke.MethodHandles; import java.lang.invoke.VarHandle; public class ThereIsAB

It's not a bug but it's not user friendly

2020-12-12 Thread Remi Forax
A student of mine send me a code that can be reduced to this code --- import java.lang.invoke.MethodHandles; import java.lang.invoke.VarHandle; public class ThereIsABugButWhere { private static final VarHandle TEXT; static { try { TEXT = MethodHandles.lookup().findVarHandle(ThereIs