Classes found in --patch-module and --upgrade-module-path shouldn't be included in the classlist file. Those classes won't be loaded from archive during runtime.
The most common case for --patch-module and --upgrade-module-path is to override classes for the boot and platform class loaders. In that case, we can just avoid printing all the boot/platform classes that are not loaded from the jimage
The most common case for --patch-module and --upgrade-module-path is to override classes for the boot and platform class loaders. In that case, we can just avoid printing all the boot/platform classes that are not loaded from the jimage