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

Remove native modifier from Class::getSigners method

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 24
    • 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() {

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

              Created:
              Updated:
              Resolved: