Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8064375

Change certain errors to warnings in CDS output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b42

      Backports

        Description

        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.

        Details:
        [1]
        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

        [2]
        'Removed error class' -> 'Warning: removed class'

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jiangli Jiangli Zhou
                Reporter:
                mseledtsov Mikhailo Seledtsov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: