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

Some font classes rely on blind casting to implement Object.equals()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Incomplete
    • Icon: P4 P4
    • tbd
    • None
    • client-libs
    • None
    • 2d

      Some also had two separate methods to check equality, one calling the other. Objects.equals() is used in some places as a replacement for a local copy of the function. In the end, the equals methods become quicker to understand their checks, more condensed, and becomes more in line with other equality methods in the JDK.

            prr Philip Race
            jwaters Julian Waters
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: