On Mon, 10 Apr 2023 12:44:08 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> Two CSS AttributeSet-s can be compared using the AttributeSet.isEqual() 
> method which can fail due to missing implementation of equals method in CSS 
> subclasses.
> In this issue, even when two CSS AttributeSet has same 42 font size string 
> value, Object equality fails.
> Fixed by implementing the equality and hashCode method for CSS.FontSize class.
> 
> All jtreg/jck tests are ok

This pull request has now been integrated.

Changeset: d2a858e1
Author:    Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/d2a858e173ae10c577d7a3d14eb87ab5c3f60062
Stats:     264 lines in 2 files changed: 264 ins; 0 del; 0 mod

7083187: Class CSS.CssValue is missing implementations of equals() and 
hashCode()

Co-authored-by: Alexey Ivanov <aiva...@openjdk.org>
Reviewed-by: aivanov, prr

-------------

PR: https://git.openjdk.org/jdk/pull/13405

Reply via email to