Yes, i like this patch :) Aleksey, It's worst than what you think because for a lot of people Compiler == java compiler and not JIT compiler so they try to compile a .java file with the method compileClasses(String).
I'm glad this class will disappear soon. Rémi ----- Mail original ----- > De: "Aleksey Shipilev" <aship...@redhat.com> > À: "Stuart Marks" <stuart.ma...@oracle.com>, "core-libs-dev" > <core-libs-dev@openjdk.java.net> > Envoyé: Mercredi 7 Septembre 2016 23:34:02 > Objet: Re: RFR(s): 4285505: deprecate java.lang.Compiler > On 09/07/2016 11:52 PM, Stuart Marks wrote: >> Please review this small patch to deprecate java.lang.Compiler for removal. > > Yes, +1. > This class is very confusing to have these days. > > -Aleksey