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

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

XMLWordPrintable

    • b51
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: