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

Replace asserts in VarHandle.AccessMode with tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

      The asserts in the constructor of VarHandle.AccessMode can result in the loading of local-based classes too early in the startup process that may cause java/util/Locale/Bug4152725.java to fail if AtomicInteger is updated to use VarHandles.

      The asserts should be replaced with tests.

        Attachments

          Activity

            People

            Assignee:
            psandoz Paul Sandoz
            Reporter:
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: