Re: RFR: 8222895: StackOverflowError in custom security manager that relies on ClassSpecializer

2019-05-02 Thread Claes Redestad
On 2019-05-01 19:00, Alan Bateman wrote: Webrev: http://cr.openjdk.java.net/~redestad/8222895/open.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-8222895 This looks okay as a temporary solution to fix the regression. Thanks Alan! Yes, using the shared secrets API for this is a bit of a ha

Re: RFR: 8222895: StackOverflowError in custom security manager that relies on ClassSpecializer

2019-05-01 Thread Alan Bateman
On 24/04/2019 13:49, Claes Redestad wrote: Hi, recent changes to the String concatenation bootstrap sequence[1] accidentally uncovered an issue introduced earlier by changing the ClassSpecializer to use Lookup.defineClass[2]. The issue with this is the introduction of a call to SM.checkPermissi

RFR: 8222895: StackOverflowError in custom security manager that relies on ClassSpecializer

2019-04-24 Thread Claes Redestad
Hi, recent changes to the String concatenation bootstrap sequence[1] accidentally uncovered an issue introduced earlier by changing the ClassSpecializer to use Lookup.defineClass[2]. The issue with this is the introduction of a call to SM.checkPermission deep inside the ClassSpecializer code use