Re: RFR(S): 8245600: Clean up libjli

2020-05-21 Thread David Holmes
Hi Mikael, Cleanup looks good to me. Bikeshed: TimeGetNowMicros -> GetTimeMicros or CurrentTimeMicros ? Thanks, David On 22/05/2020 1:28 pm, Mikael Vidstedt wrote: Please review this change which cleans up the libjli related files a bit: JBS:

RFR(S): 8245600: Clean up libjli

2020-05-21 Thread Mikael Vidstedt
Please review this change which cleans up the libjli related files a bit: JBS: https://bugs.openjdk.java.net/browse/JDK-8245600 webrev: http://cr.openjdk.java.net/~mikael/webrevs/8245600/webrev.00/open/webrev/ Background: During the review of JDK-8244224 it was noticed that the

Re: RFR: 8237908: [TESTBUG] [macos] Add support to jtreg helpers to unpack pkg packages

2020-05-21 Thread Alexey Semenyuk
Looks good. - Alexey On 5/21/2020 2:55 PM, Andy Herrick wrote: looks good. /Andy On 5/21/2020 4:16 AM, alexander.matv...@oracle.com wrote: Please review the jpackage fix for bug [1] at [2]. - Added support for unpacking pkg. [1] https://bugs.openjdk.java.net/browse/JDK-8237908 [2]

New candidate JEP: 385: Deprecate RMI Activation for Removal

2020-05-21 Thread mark . reinhold
https://openjdk.java.net/jeps/385 - Mark

Re: [15] RFR: 8245241: Incorrect locale provider preference is not logged

2020-05-21 Thread Daniel Fuchs
Hi Naoto, On 21/05/2020 20:00, naoto.s...@oracle.com wrote: In fact, this piece of code should not happen as those adapter classes are all JDK provided classes. I replaced the above code with ServiceConfigurationError, like other similar locations (e.g, HostLocaleProviderAdapter - line

Re: [15] RFR: 8245241: Incorrect locale provider preference is not logged

2020-05-21 Thread naoto . sato
Hi Daniel, Thank you for your review! On 5/21/20 3:42 AM, Daniel Fuchs wrote: Hi Naoto, Logging uses: ZonedDateTime zdt = ZonedDateTime.ofInstant(     record.getInstant(), ZoneId.systemDefault()); and then String.format("%1$tb %1$td, %1$tY %1$tl:%1$tM:%1$tS %1$Tp %2$s%n%4$s:

Re: RFR: 8237908: [TESTBUG] [macos] Add support to jtreg helpers to unpack pkg packages

2020-05-21 Thread Andy Herrick
looks good. /Andy On 5/21/2020 4:16 AM, alexander.matv...@oracle.com wrote: Please review the jpackage fix for bug [1] at [2]. - Added support for unpacking pkg. [1] https://bugs.openjdk.java.net/browse/JDK-8237908 [2] http://cr.openjdk.java.net/~almatvee/8237908/webrev.00/ Thanks,

Re: RFR: JDK-8225056 VM support for sealed classes

2020-05-21 Thread Harold Seigel
Hi Mandy, Thanks for the suggestions.  They have been incorporated in the revised webrev. http://cr.openjdk.java.net/~hseigel/webrev.01/webrev/ Harold On 5/20/2020 1:05 PM, Mandy Chung wrote: Hi Vicente, On 5/20/20 8:40 AM, Vicente Romero wrote: Hi David,

Re: RFR: JDK-8225056 VM support for sealed classes

2020-05-21 Thread Harold Seigel
Hi David, Thanks for looking at this!  Please review this new webrev: http://cr.openjdk.java.net/~hseigel/webrev.01/webrev/ This webrev contains the following significant changes: 1. The format/indentation issues in classFileParser.cpp were fixed. 2. Unneeded checks in

Re: RFR: JDK-8227046: compiler implementation for sealed classes, JDK-8227047: Javadoc for sealed types and JDK-8227044: javax.lang.model for sealed classes

2020-05-21 Thread Maurizio Cimadamore
Hi Vicente, looks very good. Some comments below. * the parser logic is clever in its use of position to apply context-dependent keyword detection; as Jan says, perhaps just share the code so that the position checks are not repeated. * I found one very edge-case quirk in the

Re: RFR: 8215401: Add isEmpty default method to CharSequence

2020-05-21 Thread Claes Redestad
On 2020-05-21 12:35, Alan Bateman wrote: On 20/05/2020 16:21, Claes Redestad wrote: Ok - I'll also update and resubmit the CSR with the edits and additions that came up during review here. For the test then you could expand it to test the views of heap and direct buffers (asCharBuffer).

Re: [15] RFR: 8245241: Incorrect locale provider preference is not logged

2020-05-21 Thread Daniel Fuchs
Hi Naoto, Logging uses: ZonedDateTime zdt = ZonedDateTime.ofInstant( record.getInstant(), ZoneId.systemDefault()); and then String.format("%1$tb %1$td, %1$tY %1$tl:%1$tM:%1$tS %1$Tp %2$s%n%4$s: %5$s%6$s%n", ...) to format the date. If the locale provider can't be loaded,

Re: RFR: 8215401: Add isEmpty default method to CharSequence

2020-05-21 Thread Alan Bateman
On 20/05/2020 16:21, Claes Redestad wrote: Ok - I'll also update and resubmit the CSR with the edits and additions that came up during review here. For the test then you could expand it to test the views of heap and direct buffers (asCharBuffer). How about this:

RFR: 8237908: [TESTBUG] [macos] Add support to jtreg helpers to unpack pkg packages

2020-05-21 Thread alexander . matveev
Please review the jpackage fix for bug [1] at [2]. - Added support for unpacking pkg. [1] https://bugs.openjdk.java.net/browse/JDK-8237908 [2] http://cr.openjdk.java.net/~almatvee/8237908/webrev.00/ Thanks, Alexander

RFR: 8245527: LDAP Cnannel Binding support for Java GSS/Kerberos

2020-05-21 Thread Alexey Bakhtin
Hello, Could you please review the following patch: JBS: https://bugs.openjdk.java.net/browse/JDK-8245527 Webrev: http://cr.openjdk.java.net/~abakhtin/8245527/webrev.v0/ The Windows LDAP server with LdapEnforceChannelBinding=2 uses the tls-server-end-point channel binding (based on the TLS