diff --git a/src/java.base/share/classes/java/lang/Record.java b/src/java.base/share/classes/java/lang/Record.java index 2f8bd60ac5b4c..869cc22127429 100644 --- a/src/java.base/share/classes/java/lang/Record.java +++ b/src/java.base/share/classes/java/lang/Record.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -115,7 +115,7 @@ protected Record() {} *
  • If the component is of a reference type, the component is * considered equal if and only if {@link * java.util.Objects#equals(Object,Object) - * Objects.equals(this.c, r.c} would return {@code true}. + * Objects.equals(this.c, r.c)} would return {@code true}. * *
  • If the component is of a primitive type, using the * corresponding primitive wrapper class {@code PW} (the