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

Implement Java.super() as the preferred way to call super methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • core-libs
    • None
    • b106
    • generic
    • generic

      After discussing the implementation of JDK-8023373, it emerged that team members would prefer to have the pattern of calling super methods through a separate adapter. That is, instead of, using this syntax to invoke a super method:

      w.super$write(...)

      rather use this:

      var w_super = Java.super(w)
      ...
      w_super.write(...)

            attila Attila Szegedi
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: