Details

Description

This is the first step of the JEP JDK-8185996 - Application Class Data Sharing.

In JDK 9, significant portion of AppCDS code resided in the closed repo. As part of the open-sourcing effort of JDK 18.3, we will move the source code into the open repo.

With this task, the code (implementation and test) is moved verbatim as much as possible. The intention is only to relocate the sources, not to changing existing behaviors, and not to do any sort of refactoring.

Source code refactoring may be desirable, because the old open/closed source code structure had introduced some intermediary APIs to connect code between the two repos. Such API should be removed in a separate RFE (JDK-8197954)

The only functional change in this task is that the UseAppCDS flag is changed from a "commercial" flag to a regular "product" flag. This is because "commercial" flags are not supported by the OpenJDK build.