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

Remove uses of loose type equality tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • tools
    • b01

      Since Java SE 8, javac has two ways of performing equality tests: a loose one (the historical one) and a stricter one (closer to JLS) which was necessary to have in order a sound implementation of the new inference scheme.

      As the compiler implementation was progressively refined, we should try and get rid of remaining uses of the loose equality check.

      See:
      http://mail.openjdk.java.net/pipermail/compiler-dev/2018-January/011593.html

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: