[jdk11u-dev] RFR: 8331142: Add test for number of loader threads in BasicDirectoryModel [v2]

Andrew Lu andrewlu at openjdk.org
Wed Jun 19 09:52:39 UTC 2024


> I backport this for parity with 11.0.25-oracle.
> The test is limit to Windows, so backport with JDK-8331495 together, also backport with the new issue JDK-8331999
> 
> threads.addAll(Stream.generate(() -> new Thread(new Scanner(fc)))
>                                  .limit(NUMBER_OF_THREADS)
>                                  .toList());
> change to as not supported in 11.
> 
> threads.addAll(Stream.generate(() -> new Thread(new Scanner(fc)))
>                                  .limit(NUMBER_OF_THREADS)
>                                  .collect(Collectors.toList()));

Andrew Lu has updated the pull request incrementally with one additional commit since the last revision:

  Backport fcd7fb74c7654956660082c83e42d2262478a1e5

-------------

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2789/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2789/files/ee116163..7d46b91a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2789&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2789&range=00-01

  Stats: 8 lines in 1 file changed: 5 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2789.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2789/head:pull/2789

PR: https://git.openjdk.org/jdk11u-dev/pull/2789


More information about the jdk-updates-dev mailing list