It should be equivalent of having a String initialized with the result of String.valueOf() as constant argument.
Rémi ----- Mail original ----- > De: "Claes Redestad" <[email protected]> > À: "Aleksey Shipilev" <[email protected]>, "Paul Sandoz" > <[email protected]> > Cc: "core-libs-dev" <[email protected]> > Envoyé: Mardi 22 Août 2017 19:10:29 > Objet: Re: RFR: 8186500: StringConcatFactory.makeConcatWithConstants throws > AssertionError when recipe contains > non-String constants > On 2017-08-22 18:34, Aleksey Shipilev wrote: >>> http://cr.openjdk.java.net/~redestad/8186500/jdk.01/ >> Still think testing for {null, Class, MethodHandle, MethodType} would cover >> more >> interesting corner >> cases. > > Do you mean as constant arguments? And what should happen in each of > these cases? > > /Claes
