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

Change AccessMode enum constant names to use a hybrid naming scheme

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None

      The AccessMode enum constant names were changes to conform to the expected style. However, this style detracts from the association with the correspond VarHandle signature polymorphic methods.

      A further renaming enhancement can be considered that uses a hybrid scheme, such as that employed for constant names in classes of the java.lang.invoke package.

      For example:

      AccessMode.NAME_get
      AccessMode.NAME_compareAndSet

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

              Created:
              Updated:
              Resolved: