Re: RFR: 8159031: jjs throws NoSuchFileException if ~/.jjs.history does not exist

2016-06-12 Thread Marcus Lagergren
+1 > On 08 Jun 2016, at 13:18, Hannes Wallnöfer > wrote: > > Please review the following changes: > > Bug: https://bugs.openjdk.java.net/browse/JDK-8159031 > JDK webrev: http://cr.openjdk.java.net/~hannesw/8159031/jdk/webrev.00/ > Nashorn webrev:

Custom security policy without replacing files in the OpenJDK?

2016-03-02 Thread Marcus Lagergren
Hi! Is it possible to override lib/security/local_policy on app level without patching jdk distro? i.e. -Duse.this.policy.jar= … or something? Can’t find a way to do it Regards Marcus

Re: RFR 8072002: The spec on javax.script.Compilable contains a typo and confusing inconsistency

2015-05-19 Thread Marcus Lagergren
+1 On 19 May 2015, at 14:15, A. Sundararajan sundararajan.athijegannat...@oracle.com wrote: Please review http://cr.openjdk.java.net/~sundar/8072002/webrev.00/ for https://bugs.openjdk.java.net/browse/JDK-8072002 Thanks, -Sundar

Re: RFR 8072853: SimpleScriptContext used by NashornScriptEngine doesn't completely complies to the spec regarding exception throwing

2015-05-18 Thread Marcus Lagergren
+1 /M On 18 May 2015, at 12:44, A. Sundararajan sundararajan.athijegannat...@oracle.com wrote: Please review http://cr.openjdk.java.net/~sundar/8072853/webrev.00/ for https://bugs.openjdk.java.net/browse/JDK-8072853 Thanks, -Sundar

Re: RFR 8072853: SimpleScriptContext used by NashornScriptEngine doesn't completely complies to the spec regarding exception throwing

2015-05-18 Thread Marcus Lagergren
Also +1 On 18 May 2015, at 14:59, A. Sundararajan sundararajan.athijegannat...@oracle.com wrote: Thanks for the review. Updated test as per your suggestion. Uploaded fresh review @ http://cr.openjdk.java.net/~sundar/8072853/webrev.01/ Thanks -Sundar Paul Sandoz wrote: On May 18,

Re: RFR 8068587: ScriptEngineFactory.getParameter() should specify NPE for a null key

2015-02-10 Thread Marcus Lagergren
Looks OK to me. +1 /M On 10 Feb 2015, at 08:21, A. Sundararajan sundararajan.athijegannat...@oracle.com wrote: Please review http://cr.openjdk.java.net/~sundar/8068587/ for https://bugs.openjdk.java.net/browse/JDK-8068587 Thanks, -Sundar

Re: [9] RFR (XS): 8060483: NPE with explicitCastArguments unboxing null

2014-10-15 Thread Marcus Lagergren
+1 for me. I assume that Wrapper.java is only reformatting. It looks like it. Regards Marcus On 15 Oct 2014, at 14:12, Vladimir Ivanov vladimir.x.iva...@oracle.com wrote: http://cr.openjdk.java.net/~vlivanov/8060483/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8060483 Recent changes

Re: [9] RFR (S) 8057654: Extract checks performed during MethodHandle construction into separate methods

2014-09-05 Thread Marcus Lagergren
+1 On 05 Sep 2014, at 12:46, Aleksey Shipilev aleksey.shipi...@oracle.com wrote: On 09/05/2014 12:09 PM, Vladimir Ivanov wrote: http://cr.openjdk.java.net/~vlivanov/8057654/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8057654 Random style rant of the week, not particularly about

Re: [9] RFR (S) 8057654: Extract checks performed during MethodHandle construction into separate methods

2014-09-05 Thread Marcus Lagergren
To the style rant, I mean. On 05 Sep 2014, at 13:40, Marcus Lagergren marcus.lagerg...@oracle.com wrote: +1 On 05 Sep 2014, at 12:46, Aleksey Shipilev aleksey.shipi...@oracle.com wrote: On 09/05/2014 12:09 PM, Vladimir Ivanov wrote: http://cr.openjdk.java.net/~vlivanov/8057654/webrev

Re: [9] RFR (M): 8037209: Improvements and cleanups to bytecode assembly for lambda forms

2014-03-14 Thread Marcus Lagergren
To get into this faster it would be nice if the new private fields (or the existing ones for that matter) had a comment describing what they were for, e.g. + private final byte[] localTypes; + private final Class?[] localClasses; I can figure it out from the code, but it would have been

Re: [9] RFR (M): 8027827: Improve performance of catchException combinator

2014-02-20 Thread Marcus Lagergren
This looks good, and we have done a significant number of test runs to verify its integrity. I say ship it. +1 We know that there are some issues with sun.misc.ValueConversion.castReference and similar internal methods not being inlined, but as far as I can understand this is a separate issue

Re: [9] RFR (M): 8027827: Improve performance of catchException combinator

2014-02-20 Thread Marcus Lagergren
Got catches, Paul! /M On 20 Feb 2014, at 18:57, Vladimir Ivanov vladimir.x.iva...@oracle.com wrote: Paul, Thanks for the feedback! See my answers inline. Updated webrev: http://cr.openjdk.java.net/~vlivanov/8027827/final/webrev.01/ I finally figured out how to make caching work. This