There is an initialization code in `Console` class that searches for the 
Console implementations. Refactoring the init code not to use lambda/stream 
would reduce the (initial) number of loaded classes by about 100 for java.base 
implementations. This would become relevant when the java.io.IO (JEP 477) uses 
Console as the underlying framework.

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

Commit messages:
 - initial commit

Changes: https://git.openjdk.org/jdk/pull/19467/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19467&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8333103
  Stats: 20 lines in 1 file changed: 4 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/19467.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19467/head:pull/19467

PR: https://git.openjdk.org/jdk/pull/19467

Reply via email to