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

Replace asserts in VarHandle.AccessMode with tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: