Re: RFR(S): 8252407: Build failure with gcc-8+ and asan

2020-09-22 Thread Eric Liu
Hi Kim,  Sorry for the delay. This patch removes a redundant string copy in NetworkInterface.c to avoid string-truncation warning. Other warnings we talked before, which are unable to completely fix in different version of gcc, I have to use pragma to suppress them as a workaround. This pat

Re: RFR: 8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package [v2]

2020-09-22 Thread David Holmes
On Tue, 22 Sep 2020 08:43:04 GMT, Erik Gahlin wrote: >> Marked as reviewed by kvn (Reviewer). > > Have you run the JFR tests in test/jdk/jdk/jfr? @marschall Please do not force-push anything as it breaks the commit history in the PR and renders previous reviews/comments obsolete. There is no wa

Re: RFR: 8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package [v4]

2020-09-22 Thread Philippe Marschall
> Hello, newbie here > > I picked JDK-8138732 to work on because it has a "starter" label and I > believe I understand what to do. > > - I tried to update the copyright year to 2020 in every file. > - I decided to change `@since` from 9 to 16 since it is a new annotation name > in a new package

Re: RFR: 8246774: Record Classes (final) implementation [v3]

2020-09-22 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicente Romero has updated the pu

Re: RFR: 8246774: Record Classes (final) implementation

2020-09-22 Thread Vicente Romero
good catch Chris, thanks for the patch, Vicente On 9/22/20 5:51 AM, Chris Hegarty wrote: On Mon, 21 Sep 2020 23:21:18 GMT, Vicente Romero wrote: Hi Vicente, Please file a separate subtask for the javax.lang.model changes. This helps with the JSR 269 MR paperwork. Thanks, -Joe note: I have

Re: RFR: 8218685: jlink --list-plugins needs to be readable and tidy [v2]

2020-09-22 Thread Ian Graves
> These changes update the jlink plugin command line documentation to tidy them > up into a more canonical form. > > The output generated by jlink from this change appears as follows: > >> build/macosx-x64/images/jdk/bin/jlink --list-plugins > > List of available plugins: > --strip-debug

Re: RFR: 8218685: jlink --list-plugins needs to be readable and tidy

2020-09-22 Thread Ian Graves
On Wed, 23 Sep 2020 00:37:18 GMT, Mandy Chung wrote: >> These changes update the jlink plugin command line documentation to tidy >> them up into a more canonical form. >> >> The output generated by jlink from this change appears as follows: >> >>> build/macosx-x64/images/jdk/bin/jlink --list-p

Re: Jpackage file assocations OS X

2020-09-22 Thread Michael Hall
> On Sep 22, 2020, at 7:35 PM, alexander.matv...@oracle.com wrote: > > Hi Michael, > > For file association you will need to create property file and pass it to > jpackage via --file-associations. Thanks for the detailed reply. I will look closer at it later. I had found the test class. I w

Re: RFR: 8218685: jlink --list-plugins needs to be readable and tidy

2020-09-22 Thread Mandy Chung
On Tue, 22 Sep 2020 17:52:00 GMT, Ian Graves wrote: > These changes update the jlink plugin command line documentation to tidy them > up into a more canonical form. > > The output generated by jlink from this change appears as follows: > >> build/macosx-x64/images/jdk/bin/jlink --list-plugins

Re: Jpackage file assocations OS X

2020-09-22 Thread alexander . matveev
Hi Michael, For file association you will need to create property file and pass it to jpackage via --file-associations. Example property file: mime-type=text/plain extension=txt description=Text file See following documentation: https://docs.oracle.com/en/java/javase/15/jpackage/support-applic

Re: RFR: 8253149: Building an installer from invalid app image fails on Window…

2020-09-22 Thread Andy Herrick
On Sun, 20 Sep 2020 21:23:17 GMT, Andy Herrick wrote: > 8253149: Building an installer from invalid app image fails on Windows and > Linux > When jpackage builds a package from an app-image that was not generated by > jpackage, the tool should give user a > warning message, and then complete th

Integrated: 8253240: No javadoc for DecimalFormatSymbols.hashCode()

2020-09-22 Thread Naoto Sato
On Wed, 16 Sep 2020 17:29:52 GMT, Naoto Sato wrote: > Hi, > > Please review the fix to the issue wrt missing hashCode() javadoc, which was > recently discussed in core-libs ml. This pull request has now been integrated. Changeset: bddb8225 Author:Naoto Sato URL: https://git.openjdk

Re: RFR: 8253149: Building an installer from invalid app image fails on Window… [v3]

2020-09-22 Thread Alexander Matveev
On Tue, 22 Sep 2020 11:53:14 GMT, Andy Herrick wrote: >> 8253149: Building an installer from invalid app image fails on Windows and >> Linux >> When jpackage builds a package from an app-image that was not generated by >> jpackage, the tool should give user a >> warning message, and then comple

Re: RFR: 8253149: Building an installer from invalid app image fails on Window… [v3]

2020-09-22 Thread Alexander Matveev
On Tue, 22 Sep 2020 11:53:14 GMT, Andy Herrick wrote: >> 8253149: Building an installer from invalid app image fails on Windows and >> Linux >> When jpackage builds a package from an app-image that was not generated by >> jpackage, the tool should give user a >> warning message, and then comple

Re: RFR 8253451: Performance regression in java.util.Scanner after 8236201

2020-09-22 Thread Stuart Marks
Hi Martin, Overall it seems reasonable to replace the \x{HH} construct with a simpler escape sequence. I'm a bit surprised to see the performance impact, but you noticed it, so I'll buy that it's significant. // These must be literalized to avoid collision with regex // met

Re: Math.exp() yields different results on 32 bit systems

2020-09-22 Thread Joe Darcy
Hello, Per the spec https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Math.html#exp(double) the result of exp has to be within one ulp of the exact result and the value of e^(10_000) is (much) larger than Double.MAX_VALUE so positive infinity is the correct answer. Theref

Re: RFR: 8253240: No javadoc for DecimalFormatSymbols.hashCode() [v2]

2020-09-22 Thread Roger Riggs
On Wed, 16 Sep 2020 18:02:42 GMT, Naoto Sato wrote: >> Hi, >> >> Please review the fix to the issue wrt missing hashCode() javadoc, which was >> recently discussed in core-libs ml. > > Naoto Sato has updated the pull request incrementally with one additional > commit since the last revision: >

Re: RFR: 8252739: Deflater.setDictionary(byte[], int off, int len) ignores the starting offset for the dictionary [v4]

2020-09-22 Thread Lance Andersen
On Tue, 22 Sep 2020 07:28:42 GMT, Alan Bateman wrote: > Given that the offset handling is buggy then I think the test should at least > cover the cases where the offset is 0 or > out of bounds. No problem separating out further test coverage for the other > setDictionary methods into a separate

Re: RFR: 8252739: Deflater.setDictionary(byte[], int off, int len) ignores the starting offset for the dictionary [v5]

2020-09-22 Thread Lance Andersen
> Hi all, > > Please review the fix for JDK-8252739 which addresses an issue introduced by > https://bugs.openjdk.java.net/browse/JDK-8225189, where Deflater.c ignored > the offset specified by > Deflater.setDictionary. Mach5 jdk-tier1, jdk-tier2, jdk-tier3 runs cleanly > as well as the java/u

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos [v2]

2020-09-22 Thread Alexey Bakhtin
On Tue, 22 Sep 2020 15:36:24 GMT, Daniel Fuchs wrote: >> No, It is not used. >> However, I'd like to leave it as is (it is mentioned in the documentation as >> unsupported value). >> Otherwise, TlsChannelBindingType enum will have one element only and should >> be simplified/removed in all plac

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos [v2]

2020-09-22 Thread Alexey Bakhtin
> Hi, > > Plaese review JDK-8245527 fix which implements LDAP Channel Binding support > for Java GSS/Kerberos. > Initial review is available at core-devs: > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068197.html > This version removes "tls-unique" CB type from the list of

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos [v2]

2020-09-22 Thread Alexey Bakhtin
On Tue, 22 Sep 2020 15:11:57 GMT, Weijun Wang wrote: >> Alexey Bakhtin has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8245527: version.01 > > src/jdk.security.jgss/share/classes/com/sun/security/sasl/gsskerb/GssKrb5Client.java > line 1

Integrated: 8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class

2020-09-22 Thread Ioi Lam
On Tue, 22 Sep 2020 19:48:33 GMT, Ioi Lam wrote: > Please review this BACKOUT for tier-1 failures. I have tested all CDS tests > locally on Linux-x64, including the failed > DeterministicDump.java. > I would like to apply for the "trivial" rule since this is a simple backout > for tier-1 failur

Re: RFR: 8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class

2020-09-22 Thread Daniel D . Daugherty
On Tue, 22 Sep 2020 19:48:33 GMT, Ioi Lam wrote: > Please review this BACKOUT for tier-1 failures. I have tested all CDS tests > locally on Linux-x64, including the failed > DeterministicDump.java. > I would like to apply for the "trivial" rule since this is a simple backout > for tier-1 failur

Re: RFR: 8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class

2020-09-22 Thread Erik Österlund
On Tue, 22 Sep 2020 19:48:33 GMT, Ioi Lam wrote: > Please review this BACKOUT for tier-1 failures. I have tested all CDS tests > locally on Linux-x64, including the failed > DeterministicDump.java. > I would like to apply for the "trivial" rule since this is a simple backout > for tier-1 failur

RFR: 8253496: [BACKOUT] JDK-8253208 Move CDS related code to a separate class

2020-09-22 Thread Ioi Lam
Please review this BACKOUT for tier-1 failures. I have tested all CDS tests locally on Linux-x64, including the failed DeterministicDump.java. I would like to apply for the "trivial" rule since this is a simple backout for tier-1 failures. I executed the command: git revert c1df13b855984dc2197

Re: RFR: 8252523: Add ASN1 Formatter to work with HexPrinter [v3]

2020-09-22 Thread Roger Riggs
> # JDK-8252523: Add ASN.1 Formatter to work with test utility HexPrinter > > Debugging functions that utilize ASN.1, DER, and BER encoded streams is > difficult without test utilities to show the contents. > The ASN.1 formatter reads a stream and produces annotated output of the > tags, values, a

Maybe a new container: Sieve

2020-09-22 Thread ????????
Dear all, Thank you for your great job about the openjdk. I have an idea about a new container, Sieve(I give it the name). The java file is something like this: package com.heyifei.studyandshare.utils; /** * @author: ??(heyifei) * @email: heyife...@foxmail.com * @address: zhangjiang,

Re: Jpackage file assocations OS X

2020-09-22 Thread Michael Hall
> On Sep 22, 2020, at 1:47 PM, Andy Herrick wrote: > > Alexander: > > Can you explain the mechanism by which a macosx application is expected to > retrieve the path to the selected file when the app is invoked via a file > association ? > > On mac, the path to the associated file is not pa

Re: Jpackage file assocations OS X

2020-09-22 Thread Andy Herrick
Alexander: Can you explain the mechanism by which a macosx application is expected to retrieve the path to the selected file when the app is invoked via a file association ? On mac, the path to the associated file is not passed as an argument (as it is on Linux and Windows). /Andy On 9/20

Re: RFR: 8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode [v4]

2020-09-22 Thread Mandy Chung
On Tue, 22 Sep 2020 18:24:02 GMT, Gilles Duboscq wrote: > Thanks @mlchung. Do I need a second review? No need. You can integrate once you run the regression tests (I usually run tier1-tier3). - PR: https://git.openjdk.java.net/jdk/pull/93

Re: RFR: 8248238: Implementation of JEP: Windows AArch64 Support [v4]

2020-09-22 Thread Monica Beckwith
> This is a continuation of > https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2020-August/009566.html > > Changes since then: > * We've improved the write barrier as suggested by Andrew [1] > * The define-guards around R18 have been changed to `R18_RESERVED`. This will > be enabled for

Re: RFR: 8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode [v4]

2020-09-22 Thread Gilles Duboscq
On Tue, 22 Sep 2020 18:17:49 GMT, Mandy Chung wrote: >> Gilles Duboscq has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental >> views will show differences compared to the previous content of the PR. The >> pull request contains six new comm

Integrated: 8253492: Miss comma after second copyright year in FDBigInteger.java

2020-09-22 Thread Yumin Qi
On Tue, 22 Sep 2020 18:06:40 GMT, Yumin Qi wrote: > In patch for jdk-8253208, a comma missed after copyright year in > src/java.base/share/classes/jdk/internal/math/FDBigInteger.java. Also changed > "@return" to "Returns" in the comment for > CDS.getRandomSeedForDumping to keep consistent with o

Re: RFR: 8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode [v4]

2020-09-22 Thread Mandy Chung
On Tue, 22 Sep 2020 18:03:37 GMT, Gilles Duboscq wrote: >> [JDK-8232806](https://bugs.openjdk.java.net/browse/JDK-8232806) introduced >> the >> jdk.internal.lambda.disableEagerInitialization system property to be able to >> disable eager initialization of lambda >> classes. This was necessary t

Re: RFR: 8253492: Miss comma after second copyright year in FDBigInteger.java

2020-09-22 Thread Calvin Cheung
On Tue, 22 Sep 2020 18:06:40 GMT, Yumin Qi wrote: > In patch for jdk-8253208, a comma missed after copyright year in > src/java.base/share/classes/jdk/internal/math/FDBigInteger.java. Also changed > "@return" to "Returns" in the comment for > CDS.getRandomSeedForDumping to keep consistent with o

RFR: 8253492: Miss comma after second copyright year in FDBigInteger.java

2020-09-22 Thread Yumin Qi
In patch for jdk-8253208, a comma missed after copyright year in src/java.base/share/classes/jdk/internal/math/FDBigInteger.java. Also changed "@return" to "Returns" in the comment for CDS.getRandomSeedForDumping to keep consistent with others. - Commit messages: - 8253492: Miss com

Re: RFR: 8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode [v4]

2020-09-22 Thread Gilles Duboscq
> [JDK-8232806](https://bugs.openjdk.java.net/browse/JDK-8232806) introduced the > jdk.internal.lambda.disableEagerInitialization system property to be able to > disable eager initialization of lambda > classes. This was necessary to prevent side effects of class initializers > triggered by such

RFR: 8218685: jlink --list-plugins needs to be readable and tidy

2020-09-22 Thread Ian Graves
These changes update the jlink plugin command line documentation to tidy them up into a more canonical form. The output generated by jlink from this change appears as follows: > build/macosx-x64/images/jdk/bin/jlink --list-plugins List of available plugins: --strip-debug Strip deb

Re: RFR: 8216497: javadoc should auto-link to platform classes [v2]

2020-09-22 Thread Jonathan Gibbons
On Mon, 21 Sep 2020 10:47:40 GMT, Hannes Wallnöfer wrote: >> This pull request is identical with the RFR previously sent for the >> Mercurial repository: >> >> https://mail.openjdk.java.net/pipermail/javadoc-dev/2020-August/001796.html >> >> I'm copy-pasting the comments from the original RFR

Re: RFR: 8216497: javadoc should auto-link to platform classes [v2]

2020-09-22 Thread Jonathan Gibbons
On Tue, 22 Sep 2020 17:24:19 GMT, Jonathan Gibbons wrote: >> Hannes Wallnöfer has updated the pull request incrementally with three >> additional commits since the last revision: >> >> - Merge pull request #1 from lahodaj/JDK-8216497 >> >>Automatically generate the elements-list data f

Re: RFR: 8248238: Implementation of JEP: Windows AArch64 Support [v3]

2020-09-22 Thread Erik Joelsson
On Mon, 21 Sep 2020 07:10:47 GMT, Bernhard Urban-Forster wrote: >> I assume you need the rest of the PATH on Windows. > >> I assume you need the rest of the PATH on Windows. > > Doesn't look like it actually. I've reverted it, thanks for catching it. Thanks, I tried the updated patch and it wo

Re: RFR: 8252847: Optimize primitive arrayCopy stubs using AVX-512 masked instructions [v3]

2020-09-22 Thread Jatin Bhateja
On Tue, 22 Sep 2020 03:34:37 GMT, Vladimir Kozlov wrote: > @jatin-bhateja Can you put summary of performance improvement into JBS? Yes, I have added the summary to JBS - PR: https://git.openjdk.java.net/jdk/pull/61

Re: RFR: 8252847: Optimize primitive arrayCopy stubs using AVX-512 masked instructions [v3]

2020-09-22 Thread Jatin Bhateja
On Tue, 22 Sep 2020 03:34:37 GMT, Vladimir Kozlov wrote: > @jatin-bhateja Can you put summary of performance improvement into JBS? yes, I have added the summary in JBS. - PR: https://git.openjdk.java.net/jdk/pull/61

Integrated: 8253208: Move CDS related code to a separate class

2020-09-22 Thread Yumin Qi
On Fri, 18 Sep 2020 23:47:56 GMT, Yumin Qi wrote: > With more CDS related code added to VM, it is time to move CDS code to a > separate class. CDS is the new class which is > specific to CDS. > Tests: tier1-4 This pull request has now been integrated. Changeset: c1df13b8 Author:Yumin Qi U

Re: RFR: 8253208: Move CDS related code to a separate class [v3]

2020-09-22 Thread Mandy Chung
On Mon, 21 Sep 2020 22:24:15 GMT, Yumin Qi wrote: >> With more CDS related code added to VM, it is time to move CDS code to a >> separate class. CDS is the new class which is >> specific to CDS. >> Tests: tier1-4 > > Yumin Qi has updated the pull request incrementally with one additional > comm

RFR: 8253476: TestUseContainerSupport.java fails on some Linux kernels w/o…

2020-09-22 Thread Harold Seigel
Please review this small change to remove "--memory 200m" option from TestUseContainerSupport.java. This can cause test failures on systems where swap accounting is disabled. - Commit messages: - 8253476: TestUseContainerSupport.java fails on some Linux kernels w/o swap limit capa

Re: RFR: 8252847: New AVX512 optimized stubs for both conjoint and disjoint arraycopy [v5]

2020-09-22 Thread Jatin Bhateja
> Summary: > > 1) New AVX3 optimized stubs for both conjoint and disjoint arraycopy. > 2) Special instruction sequence blocks for copy sizes b/w 32-192 bytes. > 3) Block copy operation above 192 bytes is performed using destination > address aligned PRE-MAIN-POST loop. Main loop > copies 192 b

Re: RFR: 8252847: New AVX512 optimized stubs for both conjoint and disjoint arraycopy [v4]

2020-09-22 Thread Jatin Bhateja
> Summary: > > 1) New AVX3 optimized stubs for both conjoint and disjoint arraycopy. > 2) Special instruction sequence blocks for copy sizes b/w 32-192 bytes. > 3) Block copy operation above 192 bytes is performed using destination > address aligned PRE-MAIN-POST loop. Main loop > copies 192 b

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos

2020-09-22 Thread Weijun Wang
On Mon, 21 Sep 2020 08:19:28 GMT, Alexey Bakhtin wrote: > Hi, > > Plaese review JDK-8245527 fix which implements LDAP Channel Binding support > for Java GSS/Kerberos. > Initial review is available at core-devs: > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068197.html > T

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos

2020-09-22 Thread Daniel Fuchs
On Tue, 22 Sep 2020 15:17:23 GMT, Alexey Bakhtin wrote: >> src/java.naming/share/classes/com/sun/jndi/ldap/sasl/TlsChannelBinding.java >> line 63: >> >>> 61: * Channel binding on the basis of TLS Finished message >>> 62: */ >>> 63: TLS_UNIQUE("tls-unique"), >> >> Is t

Re: RFR: 8173585: Intrinsify StringLatin1.indexOf(char) [v3]

2020-09-22 Thread Volker Simonis
On Mon, 21 Sep 2020 12:45:55 GMT, Jason Tatton wrote: >> This is an implementation of the indexOf(char) intrinsic for StringLatin1 (1 >> byte encoded Strings). It is provided for >> x86 and ARM64. The implementation is greatly inspired by the indexOf(char) >> intrinsic for StringUTF16. To inco

Re: RFR: 8173585: Intrinsify StringLatin1.indexOf(char) [v2]

2020-09-22 Thread Volker Simonis
On Fri, 18 Sep 2020 11:56:09 GMT, Jason Tatton wrote: >> This is an implementation of the indexOf(char) intrinsic for StringLatin1 (1 >> byte encoded Strings). It is provided for >> x86 and ARM64. The implementation is greatly inspired by the indexOf(char) >> intrinsic for StringUTF16. To inco

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos

2020-09-22 Thread Alexey Bakhtin
On Tue, 22 Sep 2020 14:47:35 GMT, Daniel Fuchs wrote: >> Hi, >> >> Plaese review JDK-8245527 fix which implements LDAP Channel Binding support >> for Java GSS/Kerberos. >> Initial review is available at core-devs: >> https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068197.html

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos

2020-09-22 Thread Alexey Bakhtin
On Tue, 22 Sep 2020 14:41:57 GMT, Daniel Fuchs wrote: >> Hi, >> >> Plaese review JDK-8245527 fix which implements LDAP Channel Binding support >> for Java GSS/Kerberos. >> Initial review is available at core-devs: >> https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068197.html

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos

2020-09-22 Thread Daniel Fuchs
On Mon, 21 Sep 2020 08:19:28 GMT, Alexey Bakhtin wrote: > Hi, > > Plaese review JDK-8245527 fix which implements LDAP Channel Binding support > for Java GSS/Kerberos. > Initial review is available at core-devs: > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068197.html > T

Re: RFR: 8231591: [TESTBUG] Create additional two phase jpackage tests [v3]

2020-09-22 Thread Andy Herrick
On Tue, 22 Sep 2020 02:49:50 GMT, Alexander Matveev wrote: > > > > How about testing of other jpackage command line options in two phase mode? > > Like "--name", "--version"? Any plans to > > add them? > > Plan was to file separate bugs for any additional options. I do not think we > should

Re: RFR: 8245527: LDAP Channel Binding support for Java GSS/Kerberos

2020-09-22 Thread Daniel Fuchs
On Mon, 21 Sep 2020 08:19:28 GMT, Alexey Bakhtin wrote: > Hi, > > Plaese review JDK-8245527 fix which implements LDAP Channel Binding support > for Java GSS/Kerberos. > Initial review is available at core-devs: > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068197.html > T

Re: RFR: 8251188: Update LDAP tests not to use wildcard addresses

2020-09-22 Thread Aleksei Efimov
On Tue, 22 Sep 2020 12:30:47 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please help to review >> [JDK-8251188](https://bugs.openjdk.java.net/browse/JDK-8251188) fix which >> helps to improve LDAP >> tests stability. The list of changes: 1. Usages of wildcard address have >> been replaced with loop

Re: RFR: 8251188: Update LDAP tests not to use wildcard addresses

2020-09-22 Thread Daniel Fuchs
On Fri, 18 Sep 2020 12:59:07 GMT, Aleksei Efimov wrote: > Hi, > > Please help to review > [JDK-8251188](https://bugs.openjdk.java.net/browse/JDK-8251188) fix which > helps to improve LDAP > tests stability. The list of changes: 1. Usages of wildcard address have been > replaced with loopback

Re: RFR: 8253149: Building an installer from invalid app image fails on Window… [v3]

2020-09-22 Thread Andy Herrick
> 8253149: Building an installer from invalid app image fails on Windows and > Linux > When jpackage builds a package from an app-image that was not generated by > jpackage, the tool should give user a > warning message, and then complete the package anyway. Andy Herrick has updated the pull req

Math.exp() yields different results on 32 bit systems

2020-09-22 Thread Andreas Ahlenstorf
Hi! According to a bug report at AdoptOpenJDK [1] Math.exp(10_000.0) yields different results on 32 bit systems than on 64 bit systems. public class Test { public static void main(String[] args) { System.out.println(Math.exp(10_000.0)); } } On 64 bit systems the

Re: RFR: 8246774: Record Classes (final) implementation

2020-09-22 Thread Chris Hegarty
On Mon, 21 Sep 2020 23:21:18 GMT, Vicente Romero wrote: >> Hi Vicente, >> Please file a separate subtask for the javax.lang.model changes. This helps >> with the JSR 269 MR paperwork. >> Thanks, >> -Joe > > note: I have removed from the original patch the code related to > javax.lang.model, I w

Re: RFR: 8231591: [TESTBUG] Create additional two phase jpackage tests [v3]

2020-09-22 Thread Alexander Matveev
> https://bugs.openjdk.java.net/browse/JDK-8231591 > > - Added MultiLauncherTwoPhaseTest which uses predefine app image with > multiple launcher and tests to make sure installer > will create shortcuts for all launchers. > - Fixed Linux DesktopIntegration to create shortcuts for additional laun

Re: RFR: 8173585: Intrinsify StringLatin1.indexOf(char)

2020-09-22 Thread Andrew Dinn
On Tue, 22 Sep 2020 02:31:14 GMT, Vladimir Kozlov wrote: >>> >Can you explain where this restricted effect is documented? >> >>> Certainly! I’ve found that determining the capability of the CPU and >>> whether to enable AVX2 support if the chip >>> supports it is mostly controlled in: vm_v

Re: RFR: 8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package [v2]

2020-09-22 Thread Erik Gahlin
On Sat, 12 Sep 2020 00:19:00 GMT, Vladimir Kozlov wrote: >> Philippe Marschall has refreshed the contents of this pull request, and >> previous commits have been removed. The >> incremental views will show differences compared to the previous content of >> the PR. The pull request contains one

Re: RFR: 8252739: Deflater.setDictionary(byte[], int off, int len) ignores the starting offset for the dictionary [v4]

2020-09-22 Thread Alan Bateman
On Mon, 21 Sep 2020 19:06:44 GMT, Lance Andersen wrote: >> Hi all, >> >> Please review the fix for JDK-8252739 which addresses an issue introduced by >> https://bugs.openjdk.java.net/browse/JDK-8225189, where Deflater.c ignored >> the offset specified by >> Deflater.setDictionary. Mach5 jdk-t

Re: RFR: 8252730: jlink does not create reproducible builds on different servers [v11]

2020-09-22 Thread Alan Bateman
On Tue, 22 Sep 2020 01:25:16 GMT, Ian Graves wrote: >> Related to [JDK-8252730 jlink does not create reproducible builds on >> different >> servers](https://bugs.openjdk.java.net/browse/JDK-8252730). Introduces >> ordering based on `Archive` module names to >> ensure stable files (and file sign

Re: RFR: 8252730: jlink does not create reproducible builds on different servers [v9]

2020-09-22 Thread Alan Bateman
On Tue, 22 Sep 2020 01:22:03 GMT, Ian Graves wrote: >> Whatever is easiest but 2 x copy tree would be simpler and the result should >> be two identical JDKs as reported in >> JDK-8252730. > > I misunderstood what you meant when I read it earlier today, apologies! The > new changes should addres