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

Make sun.misc.FloatingDecimal.hexFloatPattern static field initialized lazily

    XMLWordPrintable

Details

    • b51
    • generic
    • generic

    Backports

      Description

        sun.misc.FloatingDecimal has a static field of java.util.Pattern type that loads and initializes the regex classes. This static field is used by parseHexString method to parse a hexadecimal floating-point string and should be initialized lazily to avoid regex classes to be pulled until it's really needed.

        Attachments

          Issue Links

            Activity

              People

                mchung Mandy Chung
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: