In several places in normal CDS output certain messages are reported as errors. With these messages displayed as errors, VM continues normally and CDS sharing works. This could be confusing and possibly lead engineers investigating issues in the field in the wrong direction.
Please consider changing these error messages to warning messages.
Allocated shared space: 27394048 bytes at 0x3e4f0000
Loading classes to share ...
Preload Error: Cannot find javax/swing/JComponent$2
Preload Error: Cannot find javax/swing/RepaintManager$1$1
Preload Error: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Error: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Error: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
'Removed error class' -> 'Warning: removed class'