In most cases, when AppCDS encounters an invalid class, it ignores the class and continue dumping (with a warning message).
However, when a class in a prohibited package is encountered, the VM quits the dumping process, but with an exit code 0.
We should fix the implementation to ignore the class and print a warning message.
However, when a class in a prohibited package is encountered, the VM quits the dumping process, but with an exit code 0.
We should fix the implementation to ignore the class and print a warning message.