Replace asserts in VarHandle.AccessMode with tests

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: