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

Use JDK 8 default method for LinkerServices.asTypeLosslessReturn

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • b88
    • generic
    • generic

        LinkerServices interface always had a default implementation for asTypeLosslessReturn but it had to live in a static inner class named "Implementation". For JDK 9 only, this can be changed to canonical solution of using a default method.

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

                Created:
                Updated:
                Resolved: