Java 10 – Consolidated JDK Forest

Java 10 - Consolidated JDK Forest

This topic is about Java 10 – Consolidated JDK Forest.

JEP 296 – Consolidated JDK Forest as Single Repository

In JDK 9, there are eight module based directories termed as repos.

  • root
  • corba
  • hotspot
  • jaxp
  • jaxws
  • jdk
  • langtools
  • nashorn

Code is organized like −

$ROOT/jdk/src/java.base
...
$ROOT/langtools/src/java.compiler
...

Java 10 onwards, JDK forests are organized into single repository to streamline development. Now code in organized as –

$ROOT/src/java.base
$ROOT/src/java.compiler
...

In this topic we learned about Java 10 – Consolidated JDK Forest. To learn more, Click Here.

This Post Has 2 Comments

Leave a Reply