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

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

    XMLWordPrintable

Details

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

    Description

      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(...)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: