Remove native modifier from Class::getSigners method

XMLWordPrintable

    • Type: CSR
    • Resolution: Withdrawn
    • Priority: P4
    • 24
    • Component/s: core-libs
    • None
    • binary
    • minimal
    • Changing the native flag on a final method has minimal compatibility impact.
    • Java API
    • SE

      Summary

      Remove the native modifier from Class::getSigners method.

      Problem

      Class's signers array is converted to an explicit Java field. The getSigners method now should be implemented in Java instead of native.

      Solution

      Remove the native modifier.

      Specification

      @@ -1510,14 +1511,19 @@ public Set<AccessFlag> accessFlags() {
            *          a primitive type or void.
            * @since   1.1
            */
      -    public native Object[] getSigners();
      -
      +    public Object[] getSigners() {
      

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: