Re: RFR: 8254711: Add java.security.Provider.getService JFR Event [v2]

2022-09-19 Thread Jaikiran Pai
On Mon, 19 Sep 2022 16:55:01 GMT, Sean Coffey wrote: >> Plus one regarding "too much noise". This event is at the >> Provider.getService() level and would reports all calls regardless the type >> and algorithm. Crypto services which supports the delayed provider selection >> may call Provider.

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event [v2]

2022-09-19 Thread Jaikiran Pai
On Mon, 19 Sep 2022 16:12:18 GMT, Sean Coffey wrote: >> Add a JFR Event for `java.security.Provider.getService(String type, String >> algorithm)` calls. > > Sean Coffey has updated the pull request incrementally with one additional > commit since the last revision: > > update from review com

Re: RFR: 8293977: jdk/modules/etc/VerifyModuleDelegation.java fail with jfx

2022-09-19 Thread Alan Bateman
On Mon, 19 Sep 2022 11:53:19 GMT, dumasun wrote: > jtreg/bin/jtreg -dir:test/jdk > -testjdk:./jdk-fx-jdk-20+15-56-g4020ed53dd6-linux_x64 \ > -verbose:all jdk/modules/etc/VerifyModuleDelegation.java Is jdk-fx-jdk-20+15-56-g4020ed53dd6-linux_x64 your build or is it coming from somewhere else? Al

Re: RFR: 8289610: Degrade Thread.stop [v4]

2022-09-19 Thread Alan Bateman
On Tue, 20 Sep 2022 04:21:39 GMT, David Holmes wrote: >> Alan Bateman has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 12 additional >> commits s

Re: RFR: 8289610: Degrade Thread.stop [v4]

2022-09-19 Thread David Holmes
On Sat, 17 Sep 2022 08:41:19 GMT, Alan Bateman wrote: >> Degrade Thread.stop to throw UOE unconditionally, deprecate ThreadDeath for >> removal, and remove the remaining special handling of ThreadDeath from the >> JDK. >> >> Thread.stop is inherently unsafe and has been deprecated since JDK 1.

Re: RFR: 8293462: [macos] app image signature invalid when creating DMG or PKG from post processed signed image [v2]

2022-09-19 Thread Alexander Matveev
On Mon, 19 Sep 2022 18:51:30 GMT, Alexey Semenyuk wrote: >> Alexander Matveev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8293462: [macos] app image signature invalid when creating DMG or PKG from >> post processed signed image [v2]

Re: RFR: 8293462: [macos] app image signature invalid when creating DMG or PKG from post processed signed image [v2]

2022-09-19 Thread Alexander Matveev
> Problem is that [JDK-8286850](https://bugs.openjdk.org/browse/JDK-8286850) > never set correct value in .jpackage.xml to mark image as signed. > [JDK-8289030](https://bugs.openjdk.org/browse/JDK-8289030) reads this value > to check if we can add per-user and system wide configuration to packag

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException [v3]

2022-09-19 Thread Naoto Sato
On Mon, 19 Sep 2022 23:04:12 GMT, Stuart Marks wrote: >> Thanks, Joe. Added comment to the method. > > OK yeah this is really confusing. One might ask a similar question in > `charAt` about why it doesn't call > > src.setIndex(index + src.getBeginIndex()); > > The answer is that this is a

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException [v3]

2022-09-19 Thread Naoto Sato
> Fixing JCK failures caused by the new grapheme implementation. The length of > a CharSequence should return the `endIndex`, not `endIndex - beginIndex`. Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Refine the comments by adding cl

Re: RFR: 8290482: Update JNI Specification of DestroyJavaVM for better alignment with JLS, JVMS, and Java SE API Specifications [v2]

2022-09-19 Thread David Holmes
> This update is primarily about changes to the JNI Invocation API > specification, mainly in relation to `DestroyJavaVM`. The motivation for the > changes is to align with changes being made to the JLS, JVMS and > `java.lang.Runtime`, specifications in relation to VM termination - ref: > > JDK

Re: RFR: 8293977: jdk/modules/etc/VerifyModuleDelegation.java fail with jfx

2022-09-19 Thread dumasun
On Mon, 19 Sep 2022 00:45:32 GMT, Leslie Zhai wrote: > Hi, > > @dumasun reported the issue: > > Configured with jfx-ls-modular-sdk: > > > configure --with-import-modules=modular-sdk > > > `make run-test CONF=fastdebug > TEST="jdk/modules/etc/VerifyModuleDelegation.java"` failed: > > > --

RFR: 8290482: Update JNI Specification of DestroyJavaVM for better alignment with JLS, JVMS, and Java SE API Specifications

2022-09-19 Thread David Holmes
This update is primarily about changes to the JNI Invocation API specification, mainly in relation to `DestroyJavaVM`. The motivation for the changes is to align with changes being made to the JLS, JVMS and `java.lang.Runtime`, specifications in relation to VM termination - ref: JDK-8290196 12.

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException [v2]

2022-09-19 Thread Stuart Marks
On Mon, 19 Sep 2022 22:18:42 GMT, Naoto Sato wrote: >> Yeah, I saw there's a mismatch between the src and limit in this call that >> led to the index check Exception: >> 286 for (int b = ci.getBeginIndex(); b < end;) { >> 287 boundaries.add(b); >> 288

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException [v2]

2022-09-19 Thread Naoto Sato
On Mon, 19 Sep 2022 22:07:13 GMT, Joe Wang wrote: >> It's somewhat confusing as this class adapts `CharacterIterator` into >> `CharSequence` which are similar to each other (thus the bug). Those >> `beginIndex`/`endIndex` designate the range in the source >> `CharacterIterator`, and this `leng

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException [v2]

2022-09-19 Thread Naoto Sato
> Fixing JCK failures caused by the new grapheme implementation. The length of > a CharSequence should return the `endIndex`, not `endIndex - beginIndex`. Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Added comments to length()

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException

2022-09-19 Thread Joe Wang
On Mon, 19 Sep 2022 21:02:38 GMT, Naoto Sato wrote: >> src/java.base/share/classes/sun/util/locale/provider/BreakIteratorProviderImpl.java >> line 329: >> >>> 327: @Override >>> 328: public int length() { >>> 329: return src.getEndIndex(); >> >> Could the issue be s

Re: RFR: 8294008: Grapheme implementation of setText() throws IndexOutOfBoundsException

2022-09-19 Thread Joe Wang
On Mon, 19 Sep 2022 19:01:57 GMT, Naoto Sato wrote: > Fixing JCK failures caused by the new grapheme implementation. The length of > a CharSequence should return the `endIndex`, not `endIndex - beginIndex`. Marked as reviewed by joehw (Reviewer). - PR: https://git.openjdk.org/jdk/

Re: RFR: 8293595: tstrings::any() is missing an overload

2022-09-19 Thread Alexander Matveev
On Fri, 9 Sep 2022 13:38:14 GMT, Julian Waters wrote: > tstrings::any() has an overload for std::wstring (if required) but is missing > the corresponding operator overload for std::string, leaving only the > templated one as a fallback, which will expand into a std::wostringstream << > std::st

Re: RFR: 8294008: Graphme implementation of setText() throws IndexOutOfBoundsException

2022-09-19 Thread Naoto Sato
On Mon, 19 Sep 2022 20:46:08 GMT, Joe Wang wrote: >> Fixing JCK failures caused by the new grapheme implementation. The length of >> a CharSequence should return the `endIndex`, not `endIndex - beginIndex`. > > src/java.base/share/classes/sun/util/locale/provider/BreakIteratorProviderImpl.java >

Re: RFR: 8294008: Graphme implementation of setText() throws IndexOutOfBoundsException

2022-09-19 Thread Joe Wang
On Mon, 19 Sep 2022 19:01:57 GMT, Naoto Sato wrote: > Fixing JCK failures caused by the new grapheme implementation. The length of > a CharSequence should return the `endIndex`, not `endIndex - beginIndex`. src/java.base/share/classes/sun/util/locale/provider/BreakIteratorProviderImpl.java lin

Re: RFR: 8293595: tstrings::any() is missing an overload

2022-09-19 Thread Julian Waters
On Mon, 19 Sep 2022 19:17:06 GMT, Alexey Semenyuk wrote: >> I deliberately left those 2 out since the comments accompanying them seem to >> suggest that they're Windows specific overloads that are there for different >> reasons (As opposed to the one this PR is aimed at, which takes in a regula

Re: RFR: 8293613: need to properly handle and hide tmp VTMS transitions [v3]

2022-09-19 Thread Chris Plummer
On Mon, 19 Sep 2022 19:18:57 GMT, Serguei Spitsyn wrote: >> There are several places in VirtualThread class implementation where virtual >> threads are being mounted or unmounted, so there is a transition of the >> JavaThread identity from carrier thread to virtual thread and back. The >> exec

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v6]

2022-09-19 Thread Weijun Wang
On Mon, 19 Sep 2022 17:53:51 GMT, Lance Andersen wrote: >>> I can remove, but I am not sure I agree we need to describe main vs >>> attribute here given we are pointing to the Jar spec and if there is any >>> discussion of Pre-entry attributes, it should be in JarEntry IMHO. I guess >>> the cl

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v8]

2022-09-19 Thread Lance Andersen
On Mon, 19 Sep 2022 19:26:53 GMT, Sean Mullan wrote: >> Lance Andersen has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Minor clarification for verifying an JarInputStream > > src/java.base/share/classes/java/util/jar/JarInputStream.java

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v9]

2022-09-19 Thread Lance Andersen
On Mon, 19 Sep 2022 20:04:18 GMT, Lance Andersen wrote: >> Please review this PR which updates the JarInputStream class description to >> clarify when the Manifest is accessible via JarInputStream::getManifest and >> JarInputStream::get[Jar]Entry. >> >> It is worth noting that with this updat

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v9]

2022-09-19 Thread Lance Andersen
> Please review this PR which updates the JarInputStream class description to > clarify when the Manifest is accessible via JarInputStream::getManifest and > JarInputStream::get[Jar]Entry. > > It is worth noting that with this update, we are finally documenting > behavior that dates back to w

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v8]

2022-09-19 Thread Sean Mullan
On Mon, 19 Sep 2022 17:25:53 GMT, Lance Andersen wrote: >> Please review this PR which updates the JarInputStream class description to >> clarify when the Manifest is accessible via JarInputStream::getManifest and >> JarInputStream::get[Jar]Entry. >> >> It is worth noting that with this updat

Re: RFR: 8293595: tstrings::any() is missing an overload

2022-09-19 Thread Alexey Semenyuk
On Mon, 19 Sep 2022 18:06:51 GMT, Julian Waters wrote: >> src/jdk.jpackage/share/native/common/tstrings.h line 363: >> >>> 361: return *this; >>> 362: } >>> 363: >> >> I guess you also need >> >> any& operator << (LPSTR v) { >> data << (v ? fromUtf8(v)

Re: RFR: 8293595: tstrings::any() is missing an overload

2022-09-19 Thread Alexey Semenyuk
On Fri, 9 Sep 2022 13:38:14 GMT, Julian Waters wrote: > tstrings::any() has an overload for std::wstring (if required) but is missing > the corresponding operator overload for std::string, leaving only the > templated one as a fallback, which will expand into a std::wostringstream << > std::st

RFR: 8294008: Graphme implementation of setText() throws IndexOutOfBoundsException

2022-09-19 Thread Naoto Sato
Fixing JCK failures caused by the new grapheme implementation. The length of a CharSequence should return the `endIndex`, not `endIndex - beginIndex`. - Commit messages: - 8294008: Graphme implementation of setText() throws IndexOutOfBoundsException Changes: https://git.openjdk.org

Re: RFR: 8293613: need to properly handle and hide tmp VTMS transitions [v3]

2022-09-19 Thread Serguei Spitsyn
> There are several places in VirtualThread class implementation where virtual > threads are being mounted or unmounted, so there is a transition of the > JavaThread identity from carrier thread to virtual thread and back. The > execution state in such transitions is inconsistent, and so, has to

Re: RFR: 8293462: [macos] app image signature invalid when creating DMG or PKG from post processed signed image

2022-09-19 Thread Alexey Semenyuk
On Fri, 16 Sep 2022 22:55:52 GMT, Alexander Matveev wrote: > Problem is that [JDK-8286850](https://bugs.openjdk.org/browse/JDK-8286850) > never set correct value in .jpackage.xml to mark image as signed. > [JDK-8289030](https://bugs.openjdk.org/browse/JDK-8289030) reads this value > to check

Re: RFR: 8293595: tstrings::any() is missing an overload

2022-09-19 Thread Julian Waters
On Mon, 19 Sep 2022 17:27:29 GMT, Alexey Semenyuk wrote: >> tstrings::any() has an overload for std::wstring (if required) but is >> missing the corresponding operator overload for std::string, leaving only >> the templated one as a fallback, which will expand into a >> std::wostringstream <<

Re: RFR: 8293613: need to properly handle and hide tmp VTMS transitions [v2]

2022-09-19 Thread Serguei Spitsyn
> There are several places in VirtualThread class implementation where virtual > threads are being mounted or unmounted, so there is a transition of the > JavaThread identity from carrier thread to virtual thread and back. The > execution state in such transitions is inconsistent, and so, has to

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v6]

2022-09-19 Thread Lance Andersen
On Mon, 19 Sep 2022 06:34:00 GMT, Alan Bateman wrote: > > I can remove, but I am not sure I agree we need to describe main vs > > attribute here given we are pointing to the Jar spec and if there is any > > discussion of Pre-entry attributes, it should be in JarEntry IMHO. I guess > > the clar

Re: RFR: 8284493: Fix rounding error in computeNextExponential [v14]

2022-09-19 Thread Chris Hennick
On Sun, 19 Jun 2022 23:38:36 GMT, Chris Hennick wrote: >> This PR improves both the performance of `nextExponential` and >> `nextGaussian` and the distribution of output at the tails. It fixes the >> following imperfections: >> >> * Repeatedly adding DoubleZigguratTables.exponentialX0 to extra

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event [v2]

2022-09-19 Thread Valerie Peng
On Mon, 19 Sep 2022 16:12:18 GMT, Sean Coffey wrote: >> Add a JFR Event for `java.security.Provider.getService(String type, String >> algorithm)` calls. > > Sean Coffey has updated the pull request incrementally with one additional > commit since the last revision: > > update from review com

Re: RFR: 8293595: tstrings::any() is missing an overload

2022-09-19 Thread Alexey Semenyuk
On Fri, 9 Sep 2022 13:38:14 GMT, Julian Waters wrote: > tstrings::any() has an overload for std::wstring (if required) but is missing > the corresponding operator overload for std::string, leaving only the > templated one as a fallback, which will expand into a std::wostringstream << > std::st

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v8]

2022-09-19 Thread Lance Andersen
> Please review this PR which updates the JarInputStream class description to > clarify when the Manifest is accessible via JarInputStream::getManifest and > JarInputStream::get[Jar]Entry. > > It is worth noting that with this update, we are finally documenting > behavior that dates back to w

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event [v2]

2022-09-19 Thread Sean Coffey
On Mon, 19 Sep 2022 16:43:26 GMT, Valerie Peng wrote: >> Yes, I think this would generate too much noise and detract from the main >> motivation for these events, which is to help users analyze the security of >> algorithms that are being used by their applications at the JCE layer. > > Plus on

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event [v2]

2022-09-19 Thread Valerie Peng
On Mon, 19 Sep 2022 15:52:08 GMT, Sean Mullan wrote: >> I had this as the original design actually. I'm not sure how interesting it >> would be to record such "no-service" type events. It would probably add 2-4 >> times the number of events for this event type to a typical recording, given >>

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Erik Gahlin
On Mon, 19 Sep 2022 15:46:46 GMT, Sean Coffey wrote: > This new event is disabled by default just like the other crypto related > events that were added some time back (e.g. `TLSHandshakeEvent`). My > assumption is that these events will be enabled for audit mode when one is > interested in fi

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event [v2]

2022-09-19 Thread Sean Coffey
> Add a JFR Event for `java.security.Provider.getService(String type, String > algorithm)` calls. Sean Coffey has updated the pull request incrementally with one additional commit since the last revision: update from review comments - Changes: - all: https://git.openjdk.org/jd

Re: RFR: 8289508: Improve test coverage for XPath Axes: ancestor, ancestor-or-self, preceding, and preceding-sibling [v6]

2022-09-19 Thread Joe Wang
On Sat, 17 Sep 2022 06:41:55 GMT, Rahul Prabhu wrote: >> Created two files for testing XPath Axes: XPathAncestors.java tests the >> ancestor and ancestor-or-self axes, while XPathPrecedingTest.java tests the >> preceding and preceding-sibling axes. > > Rahul Prabhu has updated the pull request

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Sean Mullan
On Mon, 19 Sep 2022 15:25:43 GMT, Sean Coffey wrote: >> src/java.base/share/classes/java/security/Provider.java line 1293: >> >>> 1291: } >>> 1292: >>> 1293: if (s != null && SecurityProviderServiceEvent.isTurnedOn()) { >> >> Would it be useful to generate an event even for the

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Sean Coffey
On Wed, 27 Jul 2022 13:14:39 GMT, Sean Coffey wrote: > Add a JFR Event for `java.security.Provider.getService(String type, String > algorithm)` calls. > This new event is disabled by default just like the other crypto related events that were added some time back (e.g. `TLSHandshakeEvent`).

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Sean Coffey
On Mon, 19 Sep 2022 14:25:55 GMT, Jaikiran Pai wrote: >> Add a JFR Event for `java.security.Provider.getService(String type, String >> algorithm)` calls. > > src/java.base/share/classes/java/security/Provider.java line 1293: > >> 1291: } >> 1292: >> 1293: if (s != null && Secur

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Sean Coffey
On Mon, 19 Sep 2022 15:27:05 GMT, Sean Coffey wrote: >> src/jdk.jfr/share/classes/jdk/jfr/internal/instrument/JDKEvents.java line 32: >> >>> 30: >>> 31: import jdk.jfr.Event; >>> 32: import jdk.jfr.events.*; >> >> Hello Sean, rest of the changes look fine to me, except this one. Was this >> a

Re: RFR: 8293567: AbstractSplittableWithBrineGenerator: salt has digits that duplicate the marker

2022-09-19 Thread Raffaello Giulietti
On Mon, 19 Sep 2022 15:32:34 GMT, Raffaello Giulietti wrote: > 8293567: AbstractSplittableWithBrineGenerator: salt has digits that duplicate > the marker See the JBS issue for background info - PR: https://git.openjdk.org/jdk/pull/10345

RFR: 8293567: AbstractSplittableWithBrineGenerator: salt has digits that duplicate the marker

2022-09-19 Thread Raffaello Giulietti
8293567: AbstractSplittableWithBrineGenerator: salt has digits that duplicate the marker - Commit messages: - 8293567: AbstractSplittableWithBrineGenerator: salt has digits that duplicate the marker Changes: https://git.openjdk.org/jdk/pull/10345/files Webrev: https://webrevs.ope

Re: RFR: 8294006: Avoid hardcoding object file suffixes in make

2022-09-19 Thread Magnus Ihse Bursie
On Mon, 19 Sep 2022 12:55:47 GMT, Julian Waters wrote: > Replaces hardcoding of object file suffixes in make, to ensure they are > always reliably set from a single place in autoconf. LGTM - Marked as reviewed by ihse (Reviewer). PR: https://git.openjdk.org/jdk/pull/10341

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Jaikiran Pai
On Wed, 27 Jul 2022 13:14:39 GMT, Sean Coffey wrote: > Add a JFR Event for `java.security.Provider.getService(String type, String > algorithm)` calls. src/java.base/share/classes/java/security/Provider.java line 1293: > 1291: } > 1292: > 1293: if (s != null && SecurityProvider

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Erik Gahlin
On Wed, 27 Jul 2022 13:14:39 GMT, Sean Coffey wrote: > Add a JFR Event for `java.security.Provider.getService(String type, String > algorithm)` calls. I noticed that the event is disabled by default. Is it because of concerns of too many events, or too much overhead? Or something else? I thi

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Jaikiran Pai
On Wed, 27 Jul 2022 13:14:39 GMT, Sean Coffey wrote: > Add a JFR Event for `java.security.Provider.getService(String type, String > algorithm)` calls. The failures reported in the GitHub Actions job look related to this change - `jdk.jfr.event.metadata.TestDefaultConfigurations` test appears t

Re: RFR: 8294006: Avoid hardcoding object file suffixes in make

2022-09-19 Thread Erik Joelsson
On Mon, 19 Sep 2022 12:55:47 GMT, Julian Waters wrote: > Replaces hardcoding of object file suffixes in make, to ensure they are > always reliably set from a single place in autoconf. Marked as reviewed by erikj (Reviewer). - PR: https://git.openjdk.org/jdk/pull/10341

Re: RFR: 8278863: Add method ClassDesc::ofInternalName [v6]

2022-09-19 Thread Adam Sotona
> The symbolic constants API (`java.lang.constant`) was designed, in part, to > provide bytecode parsing and generation APIs with a validated, common, > symbolic form for constants in Java class files. > > There is an easy way to create a `ClassDesc` from a binary name > (`ClassDesc::of`) or a

RFR: 8294006: Avoid hardcoding object file suffixes in make

2022-09-19 Thread Julian Waters
Replaces hardcoding of object file suffixes in make, to ensure they are always reliably set from a single place in autoconf. - Commit messages: - Launcher.gmk - JvmMapfile.gmk - NativeCompilation.gmk Changes: https://git.openjdk.org/jdk/pull/10341/files Webrev: https://webrevs.o

Re: RFR: 8254711: Add java.security.Provider.getService JFR Event

2022-09-19 Thread Sean Mullan
On Wed, 27 Jul 2022 13:14:39 GMT, Sean Coffey wrote: > Add a JFR Event for `java.security.Provider.getService(String type, String > algorithm)` calls. Looks good. - Marked as reviewed by mullan (Reviewer). PR: https://git.openjdk.org/jdk/pull/9657

RFR: 8293991: java/lang/Float/Binary16ConversionNaN.java fails on silent NaN conversions

2022-09-19 Thread Aleksey Shipilev
Reliably reproduces on x86-32 with FPU: $ CONF=linux-x86-server-fastdebug make test TEST=java/lang/Float/Binary16ConversionNaN.java TEST_VM_OPTS="-XX:UseAVX=0 -XX:UseSSE=0" ... Roundtrip failure on NaN value 7de2 got back 7fe2 Roundtrip failure on NaN value fde2 got back ffe2 Since there are

Re: RFR: 8215788: Clarify JarInputStream Manifest access [v7]

2022-09-19 Thread Lance Andersen
On Mon, 19 Sep 2022 06:45:13 GMT, Alan Bateman wrote: > I realise you've had a few iterations with Max on this section but I'm > concerned that the text is telling the reader that they should use the 2-arg > constructor to verify the signatures when a JAR is signed. The default is to > verify

Re: RFR: 8279986: methods Math::asXExact for safely checked primitive casts [v6]

2022-09-19 Thread Raffaello Giulietti
On Wed, 25 May 2022 09:40:42 GMT, Raffaello Giulietti wrote: >> Add a family of "safe" cast methods. > > Raffaello Giulietti has updated the pull request incrementally with one > additional commit since the last revision: > > 8279986: methods Math::asXExact for safely checked primitive casts

Re: RFR: 8205592: BigDecimal.doubleValue() is depressingly slow

2022-09-19 Thread Raffaello Giulietti
On Thu, 7 Jul 2022 15:20:32 GMT, Raffaello Giulietti wrote: > A reimplementation of `BigDecimal.[double|float]Value()` to enhance > performance, avoiding an intermediate string and its subsequent parsing on > the slow path. keep open, waiting for review - PR: https://git.openjdk.

RFR: 8293409: [vectorapi] Intrinsify VectorSupport.indexVector

2022-09-19 Thread Xiaohong Gong
"`VectorSupport.indexVector()`" is used to compute a vector that contains the index values based on a given vector and a scale value (`i.e. index = vec + iota * scale`). This function is widely used in other APIs like "`VectorMask.indexInRange`" which is useful to the tail loop vectorization. An

Re: RFR: 8293977: jdk/modules/etc/VerifyModuleDelegation.java fail with jfx

2022-09-19 Thread Alan Bateman
On Mon, 19 Sep 2022 07:02:40 GMT, Leslie Zhai wrote: > java.lang.Error: platform/javafx.swing can't delegate to find classes from > app/jdk.unsupported.desktop There must be configuration somewhere that is mapping the javafx.* modules to the platform class loader So I think the test is doing i

Re: RFR: 8293977: jdk/modules/etc/VerifyModuleDelegation.java fail with jfx

2022-09-19 Thread Leslie Zhai
On Mon, 19 Sep 2022 06:14:25 GMT, Alan Bateman wrote: >> Hi, >> >> @dumasun reported the issue: >> >> Configured with jfx-ls-modular-sdk: >> >> >> configure --with-import-modules=modular-sdk >> >> >> `make run-test CONF=fastdebug >> TEST="jdk/modules/etc/VerifyModuleDelegation.java"` faile

Re: RFR: JDK-8293701: jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present

2022-09-19 Thread Alan Bateman
On Mon, 19 Sep 2022 06:51:36 GMT, Matthias Baesken wrote: > > What is the cause of this issue? It expects the dependency can be found but > > missing in this case. I wonder if it's due to a `requires static` > > dependency? > > Hi Mandy, good question, so far I have just a zip with a coupple o