There's almost identical code that handles the tables for the static and dynamic archives. For example:
https://github.com/openjdk/jdk/blob/8fc8fdca96138df20226972be8e8326237b07788/src/hotspot/share/classfile/systemDictionaryShared.cpp#L1325-L1343
We should consolidate these to simplify the code. This will also make it easier to create more than 2 levels of archives (in the future).
https://github.com/openjdk/jdk/blob/8fc8fdca96138df20226972be8e8326237b07788/src/hotspot/share/classfile/systemDictionaryShared.cpp#L1325-L1343
We should consolidate these to simplify the code. This will also make it easier to create more than 2 levels of archives (in the future).