RFR: 8317141: Remove unused validIndex method from URLClassPath$JarLoader

2023-09-28 Thread Jaikiran Pai
Can I please get a review of this change which removes unused (internal) method from the `private` `URLClassPath$JarLoader`? The `validIndex` method which is being removed here was being used when JAR index was supported. We removed support for JAR index in

Re: ReservedStackAccess in ThreadLocal

2023-09-28 Thread Егор Зиборов
Unexpected behaviour is too common phrase - got it As i sad i’ve experienced it in https://github.com/spring-projects/spring-framework/blob/main/spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java Error on ThreadLocal#set in finally section there lead

Re: ReservedStackAccess in ThreadLocal

2023-09-28 Thread David Holmes
On 29/09/2023 6:33 am, Егор Зиборов wrote: Hello, Alan I’ve experienced SO in ThreadLocal#set on my production instance (more than that it‘s happened in Spring’s ExposeInvocationInterceptor that uses TL as context storage)As a result of SO in ThreadLocal we’ve experienced unexpected errors with

Re: RFR: 8316998: Remove redundant type arguments in the java.util.stream package [v3]

2023-09-28 Thread Paul Sandoz
On Fri, 29 Sep 2023 00:21:52 GMT, Mourad Abbay wrote: > Are you referring to the expand of lambdas and the extra whitespaces ? Yes, sometimes the IDE just does it automatically! - PR Comment: https://git.openjdk.org/jdk/pull/15936#issuecomment-1740160022

Re: RFR: 8316998: Remove redundant type arguments in the java.util.stream package [v3]

2023-09-28 Thread Mourad Abbay
On Fri, 29 Sep 2023 00:35:08 GMT, Paul Sandoz wrote: > > Are you referring to the expand of lambdas and the extra whitespaces ? > > Yes, sometimes the IDE just does it automatically! Is there a way I can make the IDE respect the code style? - PR Comment:

Re: RFR: 8316998: Remove redundant type arguments in the java.util.stream package [v3]

2023-09-28 Thread Paul Sandoz
On Fri, 29 Sep 2023 00:37:16 GMT, Mourad Abbay wrote: > > > Are you referring to the expand of lambdas and the extra whitespaces ? > > > > > > Yes, sometimes the IDE just does it automatically! > > Is there a way I can make the IDE respect the code style? I doubt it, since 1) there is no

Re: RFR: 8317283: jpackage tests run osx-specific checks on windows and linux

2023-09-28 Thread Alexander Matveev
On Thu, 28 Sep 2023 23:38:51 GMT, Alexey Semenyuk wrote: > - Don't run osx specific checks on Linux and Windows > - Rework checks output from > > [17:31:52.845] TRACE: assertTrue(): Unexptected value in app image file for > > [17:31:52.860] TRACE: assertTrue(): Unexptected value in app

Re: RFR: 8316998: Remove redundant type arguments in the java.util.stream package [v3]

2023-09-28 Thread Mourad Abbay
On Thu, 28 Sep 2023 22:05:15 GMT, Paul Sandoz wrote: > Looks good. Note a general rule to mostly follow is to try and stick to the > prevailing style in source being modified and not make additional and > unrelated changes (no matter how tempting it might be). In this case i don't > have

Integrated: JDK-8316559: Refactor some util/Calendar tests to JUnit

2023-09-28 Thread Justin Lu
On Wed, 20 Sep 2023 23:20:43 GMT, Justin Lu wrote: > Please review this PR which converts some tests under _Calendar_ to use > JUnit. These tests either previously used the internal _IntlTest_, or used no > framework at all. > > Any files named BugXXX.java will be renamed after review.

RFR: 8317283: jpackage tests run osx-specific checks on windows and linux

2023-09-28 Thread Alexey Semenyuk
- Don't run osx specific checks on Linux and Windows - Rework checks output from [17:31:52.845] TRACE: assertTrue(): Unexptected value in app image file for [17:31:52.860] TRACE: assertTrue(): Unexptected value in app image file for to [22:07:46.519] TRACE: assertEquals(false): Check for

Integrated: 8317264: Pattern.Bound has `static` fields that should be `static final`.

2023-09-28 Thread Eamonn McManus
On Thu, 28 Sep 2023 17:20:47 GMT, Eamonn McManus wrote: > It looks to have been an oversight that `final` was omitted. The fields are > never assigned after initialization. `final` leads to shorter bytecode. This pull request has now been integrated. Changeset: ecb5e8a0 Author:Eamonn

Re: RFR: 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" [v43]

2023-09-28 Thread Doug Lea
> Addresses Jdk 8288899 : java/util/concurrent/ExecutorService/CloseTest.java > failed with "InterruptedException: sleep interrupted" and related issues. > > This is a major ForkJoin update (and hard to review -- sorry) that finally > addresses incompatibilities between ExecutorService and

Integrated: 8317119: Remove unused imports in the java.util.stream package

2023-09-28 Thread Mourad Abbay
On Wed, 27 Sep 2023 17:45:58 GMT, Mourad Abbay wrote: > Remove unused imports in the java.util.stream package. This pull request has now been integrated. Changeset: f2c221de Author:Mourad Abbay Committer: Paul Sandoz URL:

Re: RFR: 8317119: Remove unused imports in the java.util.stream package [v2]

2023-09-28 Thread Paul Sandoz
On Wed, 27 Sep 2023 22:44:52 GMT, Mourad Abbay wrote: >> Remove unused imports in the java.util.stream package. > > Mourad Abbay has updated the pull request incrementally with one additional > commit since the last revision: > > Update copyright year. Marked as reviewed by psandoz

Re: RFR: 8317034: Remove redundant type cast in the java.util.stream package [v3]

2023-09-28 Thread Paul Sandoz
On Wed, 27 Sep 2023 22:47:43 GMT, Mourad Abbay wrote: >> Remove redundant type cast in the java.util.stream package. > > Mourad Abbay has updated the pull request incrementally with one additional > commit since the last revision: > > Update copyright year. Marked as reviewed by psandoz

Re: RFR: 8316998: Remove redundant type arguments in the java.util.stream package [v3]

2023-09-28 Thread Paul Sandoz
On Wed, 27 Sep 2023 22:44:07 GMT, Mourad Abbay wrote: >> Remove cases of redundant type arguments in the java.util.stream package. > > Mourad Abbay has updated the pull request incrementally with one additional > commit since the last revision: > > Update copyright year. Looks good. Note a

Re: RFR: 8316150: Refactor get chars and string size [v21]

2023-09-28 Thread 温绍锦
On Sun, 24 Sep 2023 02:46:38 GMT, 温绍锦 wrote: >> 1. Reduce duplicate stringSize code >> 2. Move java.lang.StringLatin1.getChars to >> jdk.internal.util.DecimalDigits::getCharLatin1,not only java.lang, other >> packages also need to use this method > > 温绍锦 has updated the pull request

Re: RFR: 8317264: Pattern.Bound has `static` fields that should be `static final`. [v2]

2023-09-28 Thread Paul Sandoz
On Thu, 28 Sep 2023 20:39:13 GMT, Eamonn McManus wrote: >> It looks to have been an oversight that `final` was omitted. The fields are >> never assigned after initialization. `final` leads to shorter bytecode. > > Eamonn McManus has updated the pull request with a new target base due to a >

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v15]

2023-09-28 Thread 温绍锦
> @cl4es made performance optimizations for the simple specifiers of > String.format in PR https://github.com/openjdk/jdk/pull/2830. Based on the > same idea, I continued to make improvements. I made patterns like %2d %02d > also be optimized. > > The following are the test results based on

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v14]

2023-09-28 Thread 温绍锦
On Thu, 28 Sep 2023 21:12:37 GMT, 温绍锦 wrote: >> @cl4es made performance optimizations for the simple specifiers of >> String.format in PR https://github.com/openjdk/jdk/pull/2830. Based on the >> same idea, I continued to make improvements. I made patterns like %2d %02d >> also be optimized.

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v14]

2023-09-28 Thread 温绍锦
> @cl4es made performance optimizations for the simple specifiers of > String.format in PR https://github.com/openjdk/jdk/pull/2830. Based on the > same idea, I continued to make improvements. I made patterns like %2d %02d > also be optimized. > > The following are the test results based on

Re: RFR: 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files

2023-09-28 Thread Alexander Matveev
On Thu, 28 Sep 2023 20:58:30 GMT, Alexey Semenyuk wrote: > Don't use JDK image from `$JAVA_HOME` as a value of `--runtime-image` > jpackage cli option. Use jlink to create a runtime in test work dir if the > default runtime is not specified and pass the location of jlink output. Looks good.

RFR: 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files

2023-09-28 Thread Alexey Semenyuk
Don't use JDK image from `$JAVA_HOME` as a value of `--runtime-image` jpackage cli option. Use jlink to create a runtime in test work dir if the default runtime is not specified and pass the location of jlink output. - Commit messages: - 8303959:

Re: RFR: 8283689: Update the foreign linker VM implementation [v23]

2023-09-28 Thread Doug Simon
On Tue, 17 May 2022 15:53:05 GMT, Jorn Vernee wrote: >> Hi, >> >> This PR updates the VM implementation of the foreign linker, by bringing >> over commits from the panama-foreign repo. >> >> This is split off from the main JEP integration for 19, since we have >> limited resources to handle

Re: RFR: 5066247: Refine the spec of equals() and hashCode() for j.text.Format classes [v7]

2023-09-28 Thread Justin Lu
> Please review this PR and [CSR](https://bugs.openjdk.org/browse/JDK-8315720) > which refines the spec of `equals()` and `hashCode()` in `java.text.Format` > related classes. > > The current spec for most of these methods is either "_Overrides > _" or are incomplete/wrong (i.e. see

Re: RFR: 8317264: Pattern.Bound has `static` fields that should be `static final`. [v2]

2023-09-28 Thread Eamonn McManus
> It looks to have been an oversight that `final` was omitted. The fields are > never assigned after initialization. `final` leads to shorter bytecode. Eamonn McManus has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated

Re: ReservedStackAccess in ThreadLocal

2023-09-28 Thread Егор Зиборов
Hello, Alan I’ve experienced SO in ThreadLocal#set on my production instance (more than that it‘s happened in Spring’s ExposeInvocationInterceptor that uses TL as context storage)As a result of SO in ThreadLocal we’ve experienced unexpected errors with Spring AOP, but I’m sure that it could

Re: RFR: 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" [v42]

2023-09-28 Thread Doug Lea
> Addresses Jdk 8288899 : java/util/concurrent/ExecutorService/CloseTest.java > failed with "InterruptedException: sleep interrupted" and related issues. > > This is a major ForkJoin update (and hard to review -- sorry) that finally > addresses incompatibilities between ExecutorService and

Re: RFR: 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" [v41]

2023-09-28 Thread Doug Lea
> Addresses Jdk 8288899 : java/util/concurrent/ExecutorService/CloseTest.java > failed with "InterruptedException: sleep interrupted" and related issues. > > This is a major ForkJoin update (and hard to review -- sorry) that finally > addresses incompatibilities between ExecutorService and

Re: RFR: 8317126: Redundant entries in Windows `tzmappings` file

2023-09-28 Thread Joe Wang
On Thu, 28 Sep 2023 17:37:00 GMT, Naoto Sato wrote: > Removing redundant entries in `lib/tzmappings` file on Windows. The file maps > Windows time zones to Java time zones according to the region. Since `001` > means world, no region-specific entries are needed if those time zones are > the

Re: RFR: 8317126: Redundant entries in Windows `tzmappings` file

2023-09-28 Thread Iris Clark
On Thu, 28 Sep 2023 17:37:00 GMT, Naoto Sato wrote: > Removing redundant entries in `lib/tzmappings` file on Windows. The file maps > Windows time zones to Java time zones according to the region. Since `001` > means world, no region-specific entries are needed if those time zones are > the

Re: RFR: JDK-8316559: Refactor some util/Calendar tests to JUnit [v6]

2023-09-28 Thread Justin Lu
> Please review this PR which converts some tests under _Calendar_ to use > JUnit. These tests either previously used the internal _IntlTest_, or used no > framework at all. > > Any files named BugXXX.java will be renamed after review. Justin Lu has updated the pull request incrementally

Integrated: 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163

2023-09-28 Thread Aleksei Voitylov
On Mon, 25 Sep 2023 15:52:12 GMT, Aleksei Voitylov wrote: > test java.lang.String.RegionMatches1Tests fails on all platforms with > -XX:-CompactStrings option and on ARM32 where Compact Strings is disabled by > default. The fix is to return true immediately if len is negative, since for >

Re: RFR: JDK-8316696: Remove the testing base classes: IntlTest and CollatorTest [v3]

2023-09-28 Thread Justin Lu
> Please review this PR which removes the i18n related testing base classes > `IntlTest` and `CollatorTest` and converts all the tests that use them, > > IntlTest and CollatorTest are testing classes which are extended by tests in > `text/`, `util/Locale`, `util/TimeZone`, and `util/Calendar`.

Re: RFR: 8317126: Redundant entries in Windows `tzmappings` file

2023-09-28 Thread Lance Andersen
On Thu, 28 Sep 2023 17:37:00 GMT, Naoto Sato wrote: > Removing redundant entries in `lib/tzmappings` file on Windows. The file maps > Windows time zones to Java time zones according to the region. Since `001` > means world, no region-specific entries are needed if those time zones are > the

RFR: 8317126: Redundant entries in Windows `tzmappings` file

2023-09-28 Thread Naoto Sato
Removing redundant entries in `lib/tzmappings` file on Windows. The file maps Windows time zones to Java time zones according to the region. Since `001` means world, no region-specific entries are needed if those time zones are the same. The diff of the generated tzmappings files, before and

RFR: 8317264: In `Pattern.Bound`, make some constants `static final`

2023-09-28 Thread Eamonn McManus
It looks to have been an oversight that `final` was omitted. The fields are never assigned after initialization. `final` leads to shorter bytecode. - Commit messages: - In `Pattern.Bound`, make some constants `static final`. Changes: https://git.openjdk.org/jdk/pull/15967/files

Re: RFR: 8303374: Compiler Implementation for Primitive types in patterns, instanceof, and switch (Preview) [v2]

2023-09-28 Thread Aggelos Biboudis
On Thu, 28 Sep 2023 16:46:11 GMT, Aggelos Biboudis wrote: >> This is the first draft of a patch for Primitive types in patterns, >> instanceof, and switch (Preview). >> >> Draft spec here: >> https://cr.openjdk.org/~abimpoudis/instanceof/instanceof-20230913/specs/instanceof-jls.html > >

Re: RFR: 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163 [v6]

2023-09-28 Thread Aleksei Voitylov
On Wed, 27 Sep 2023 14:13:05 GMT, Aleksei Voitylov wrote: >> test java.lang.String.RegionMatches1Tests fails on all platforms with >> -XX:-CompactStrings option and on ARM32 where Compact Strings is disabled by >> default. The fix is to return true immediately if len is negative, since for

Re: RFR: 8316971: Add Lint warning for restricted method calls [v2]

2023-09-28 Thread Vicente Romero
On Thu, 28 Sep 2023 15:36:30 GMT, Maurizio Cimadamore wrote: >> This patch adds a new lint warning category, namely `-Xlint:restricted` to >> enable warnings on restricted method calls. >> >> The patch is relatively straightforward: javac marks methods that are marked >> with the

Re: RFR: JDK-8316696: Remove the testing base classes: IntlTest and CollatorTest [v2]

2023-09-28 Thread Justin Lu
> Please review this PR which removes the i18n related testing base classes > `IntlTest` and `CollatorTest` and converts all the tests that use them, > > IntlTest and CollatorTest are testing classes which are extended by tests in > `text/`, `util/Locale`, `util/TimeZone`, and `util/Calendar`.

Re: RFR: 8303374: Compiler Implementation for Primitive types in patterns, instanceof, and switch (Preview) [v2]

2023-09-28 Thread Raffaello Giulietti
On Thu, 28 Sep 2023 16:46:11 GMT, Aggelos Biboudis wrote: >> This is the first draft of a patch for Primitive types in patterns, >> instanceof, and switch (Preview). >> >> Draft spec here: >> https://cr.openjdk.org/~abimpoudis/instanceof/instanceof-20230913/specs/instanceof-jls.html > >

Re: ReservedStackAccess in ThreadLocal

2023-09-28 Thread Alan Bateman
On 28/09/2023 17:21, Егор Зиборов wrote: Hello, everyone I'm new there and writing this letter during advice of Dalibor Topic I faced an issue with SOE in ThreadLocal and want to add this java9 annotation on ThreadLocal#set. Does anyone have any concerns about it? This annotation is for very

Re: RFR: 8303374: Compiler Implementation for Primitive types in patterns, instanceof, and switch (Preview) [v2]

2023-09-28 Thread Aggelos Biboudis
> This is the first draft of a patch for Primitive types in patterns, > instanceof, and switch (Preview). > > Draft spec here: > https://cr.openjdk.org/~abimpoudis/instanceof/instanceof-20230913/specs/instanceof-jls.html Aggelos Biboudis has updated the pull request incrementally with one

ReservedStackAccess in ThreadLocal

2023-09-28 Thread Егор Зиборов
Hello, everyone I'm new there and writing this letter during advice of Dalibor Topic I faced an issue with SOE in ThreadLocal and want to add this java9 annotation on ThreadLocal#set. Does anyone have any concerns about it? Thank you in advance

Integrated: 8316974: ListFormat creation is unsuccessful for some of the supported Locales

2023-09-28 Thread Naoto Sato
On Tue, 26 Sep 2023 21:49:11 GMT, Naoto Sato wrote: > Some CLDR locales have partial list patterns, such as only the "end" pattern, > and expect "start" and "middle" patterns to be inherited from parent locales. > Made the code capable of the inheritance. This pull request has now been

Re: RFR: 8308753: Class-File API transition to Preview [v2]

2023-09-28 Thread Jonathan Gibbons
On Tue, 26 Sep 2023 12:32:37 GMT, Adam Sotona wrote: >> Classfile API is an internal library under package `jdk.internal.classfile`  >> in JDK 21. >> This pull request turns the Classfile API into a preview feature and moves >> it into `java.lang.classfile`. >> It repackages all uses across JDK

Re: RFR: 8316971: Add Lint warning for restricted method calls [v2]

2023-09-28 Thread Vicente Romero
On Thu, 28 Sep 2023 15:36:30 GMT, Maurizio Cimadamore wrote: >> This patch adds a new lint warning category, namely `-Xlint:restricted` to >> enable warnings on restricted method calls. >> >> The patch is relatively straightforward: javac marks methods that are marked >> with the

Re: RFR: 8316971: Add Lint warning for restricted method calls [v2]

2023-09-28 Thread Maurizio Cimadamore
> This patch adds a new lint warning category, namely `-Xlint:restricted` to > enable warnings on restricted method calls. > > The patch is relatively straightforward: javac marks methods that are marked > with the `@Restricted` annotation with a corresponding internal flag. This is > done

Re: RFR: 8316971: Add Lint warning for restricted method calls

2023-09-28 Thread Magnus Ihse Bursie
On Thu, 28 Sep 2023 13:13:31 GMT, Maurizio Cimadamore wrote: > This patch adds a new lint warning category, namely `-Xlint:restricted` to > enable warnings on restricted method calls. > > The patch is relatively straightforward: javac marks methods that are marked > with the `@Restricted`

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v13]

2023-09-28 Thread Raffaello Giulietti
On Wed, 27 Sep 2023 21:26:46 GMT, 温绍锦 wrote: >> @cl4es made performance optimizations for the simple specifiers of >> String.format in PR https://github.com/openjdk/jdk/pull/2830. Based on the >> same idea, I continued to make improvements. I made patterns like %2d %02d >> also be optimized.

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v12]

2023-09-28 Thread 温绍锦
On Wed, 27 Sep 2023 19:51:25 GMT, Raffaello Giulietti wrote: >> 温绍锦 has updated the pull request incrementally with one additional commit >> since the last revision: >> >> fix : the exception thrown when the input does not include conversion is >> different from baselne. > > You might

Re: RFR: 8316971: Add Lint warning for restricted method calls

2023-09-28 Thread Maurizio Cimadamore
On Thu, 28 Sep 2023 13:13:31 GMT, Maurizio Cimadamore wrote: > This patch adds a new lint warning category, namely `-Xlint:restricted` to > enable warnings on restricted method calls. > > The patch is relatively straightforward: javac marks methods that are marked > with the `@Restricted`

Re: RFR: 8312522: Implementation of Foreign Function & Memory API [v32]

2023-09-28 Thread Jorn Vernee
> This patch contains the implementation of the foreign linker & memory API JEP > for Java 22. The initial patch is composed of commits brought over directly > from the [panama-foreign repo](https://github.com/openjdk/panama-foreign). > The main changes found in this patch come from the

Re: RFR: 8316971: Add Lint warning for restricted method calls

2023-09-28 Thread Maurizio Cimadamore
On Thu, 28 Sep 2023 13:13:31 GMT, Maurizio Cimadamore wrote: > This patch adds a new lint warning category, namely `-Xlint:restricted` to > enable warnings on restricted method calls. > > The patch is relatively straightforward: javac marks methods that are marked > with the `@Restricted`

RFR: 8316971: Add Lint warning for restricted method calls

2023-09-28 Thread Maurizio Cimadamore
This patch adds a new lint warning category, namely `-Xlint:restricted` to enable warnings on restricted method calls. The patch is relatively straightforward: javac marks methods that are marked with the `@Restricted` annotation with a corresponding internal flag. This is done both in

Re: RFR: 8312522: Implementation of Foreign Function & Memory API [v31]

2023-09-28 Thread Jorn Vernee
> This patch contains the implementation of the foreign linker & memory API JEP > for Java 22. The initial patch is composed of commits brought over directly > from the [panama-foreign repo](https://github.com/openjdk/panama-foreign). > The main changes found in this patch come from the

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v12]

2023-09-28 Thread Raffaello Giulietti
On Wed, 27 Sep 2023 19:13:02 GMT, 温绍锦 wrote: >> @cl4es made performance optimizations for the simple specifiers of >> String.format in PR https://github.com/openjdk/jdk/pull/2830. Based on the >> same idea, I continued to make improvements. I made patterns like %2d %02d >> also be optimized.

Re: RFR: 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers [v13]

2023-09-28 Thread Raffaello Giulietti
On Wed, 27 Sep 2023 21:26:46 GMT, 温绍锦 wrote: >> @cl4es made performance optimizations for the simple specifiers of >> String.format in PR https://github.com/openjdk/jdk/pull/2830. Based on the >> same idea, I continued to make improvements. I made patterns like %2d %02d >> also be optimized.

Integrated: 8316970: Add internal annotation to mark restricted methods

2023-09-28 Thread Maurizio Cimadamore
On Wed, 27 Sep 2023 16:09:01 GMT, Maurizio Cimadamore wrote: > This patch adds a new internal annotation that is used to mark all restricted > me > thods in the FFM API. The new annotation is similar to the one we used for > preview API methods. > > We plan to use the new annotation for

Re: RFR: 8315532: Compiler Implementation for Unnamed Variables and Patterns [v3]

2023-09-28 Thread Maurizio Cimadamore
On Thu, 28 Sep 2023 08:38:27 GMT, Aggelos Biboudis wrote: >> I agree. Also, this is not helped by the fact that in this particular >> message, the `_` does not appear in a variable declaration. Maybe we should >> use two distinct messages for when `_` is found as an "expression" (e.g. an >>

Re: RFR: 8315532: Compiler Implementation for Unnamed Variables and Patterns [v3]

2023-09-28 Thread Maurizio Cimadamore
On Thu, 28 Sep 2023 08:40:20 GMT, Aggelos Biboudis wrote: >> This PR finalizes the feature of unnamed variables and patterns. >> >> - >> ### Progress >> - [ ] Change must be properly reviewed (1 review required, with at least 1 >> [Reviewer](https://openjdk.org/bylaws#reviewer)) >> -

Re: RFR: 8315532: Compiler Implementation for Unnamed Variables and Patterns [v3]

2023-09-28 Thread Aggelos Biboudis
On Tue, 26 Sep 2023 10:21:06 GMT, Maurizio Cimadamore wrote: >> test/langtools/tools/javac/lambda/IdentifierTest9.out line 33: >> >>> 31: IdentifierTest.java:152:17: compiler.err.use.of.underscore.not.allowed >>> 32: IdentifierTest.java:158:16: >>>

Re: RFR: 8315532: Compiler Implementation for Unnamed Variables and Patterns [v3]

2023-09-28 Thread Aggelos Biboudis
> This PR finalizes the feature of unnamed variables and patterns. > > - > ### Progress > - [ ] Change must be properly reviewed (1 review required, with at least 1 > [Reviewer](https://openjdk.org/bylaws#reviewer)) > - [x] Change must not contain extraneous whitespace > - [x] Commit

Re: RFR: 8312522: Implementation of Foreign Function & Memory API [v30]

2023-09-28 Thread Alan Bateman
On Wed, 27 Sep 2023 16:50:33 GMT, Jorn Vernee wrote: >> This patch contains the implementation of the foreign linker & memory API >> JEP for Java 22. The initial patch is composed of commits brought over >> directly from the [panama-foreign >> repo](https://github.com/openjdk/panama-foreign).