Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-25 Thread Vincent
Thanks Max. I'll try to submit a patch. -- Original -- From: "Weijun Wang"; Date: Tue, Dec 25, 2018 04:47 PM To: "Vincent"; Cc: "[email protected]"; Subject: Re: java.lang.Error is swallowed by LoginContext#invoke I just filed https://bugs.op

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-25 Thread Weijun Wang
I just filed https://bugs.openjdk.java.net/browse/JDK-8215916. Thanks, Max > On Dec 25, 2018, at 4:16 PM, Vincent wrote: > > If an Error is thrown, I would like that LoginContext's invoke() take it > from InvocationTargetException and log the stack trace when debug is on. > > In fact I even

Re: java.lang.Error is swallowed by LoginContext#invoke

2018-12-25 Thread Vincent
If an Error is thrown, I would like that LoginContext's invoke() take it from InvocationTargetException and log the stack trace when debug is on. In fact I even wonder why Method's invoke() method turns unchecked Errors into checked InvocationTargetExceptions but it's out of the scope of this