Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-14 Thread mandy chung
Thanks for the information. Not sure what's the best option we can do in 8u. I think it's acceptable to have a fix that works in the current context (like empty static method). Thoughts? Mandy On 8/14/18 4:22 PM, Hans Boehm wrote: I haven't looked at the details here, but comparing against a

Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-14 Thread mandy chung
Hi Adam, Have you tried Peter's suggestion if an empty static method taking an Object parameter? Does it work for you? Your proposed approach seems fine and I would suggest to put the check in a static keepAlive method that will make it explicitly. Mandy On 8/10/18 8:42 AM, Adam Farley8 wrote