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

Replace asserts in VarHandle.AccessMode with tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: