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

ExtraSharedClassListFile contains extra white space at end of line

    XMLWordPrintable

Details

    • b21
    • generic

    Description

      Somewhere in test framework for CDS the line in ExtraSharedClassList file is added '\f' at end of a line. This is found when working on jdk-8247536 for test case DumpClassListWithLF.java, it led to the method type verification failed since the second part of method type length is 2 not 1.

      With this fixed, the code in src/java.base/share/classes/jdk/internal/misc/CDS.java:
      Verification first does not need to trim the string first.
                  

      Attachments

        Issue Links

          Activity

            People

              minqi Yumin Qi
              minqi Yumin Qi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: