From eb8686790b1c17e7c86394d022e7e2a359b76b4d Mon Sep 17 00:00:00 2001 From: Nizar Benalla Date: Tue, 23 Jun 2026 18:47:45 +0100 Subject: [PATCH] fix typos --- src/java.base/share/man/java.md | 2 +- test/jdk/java/awt/event/helpers/lwcomponents/LWButton.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java.base/share/man/java.md b/src/java.base/share/man/java.md index ef99084018d5a..30f018314e5ac 100644 --- a/src/java.base/share/man/java.md +++ b/src/java.base/share/man/java.md @@ -483,7 +483,7 @@ the JVM. without any warnings. - `warn`: This mode is identical to `allow` except that a warning message is - issued for the first illegal final field mutation performaed in a module. + issued for the first illegal final field mutation performed in a module. This mode is the default for the current JDK but will change in a future release. diff --git a/test/jdk/java/awt/event/helpers/lwcomponents/LWButton.java b/test/jdk/java/awt/event/helpers/lwcomponents/LWButton.java index 8d132825de079..b4505bbda97c5 100644 --- a/test/jdk/java/awt/event/helpers/lwcomponents/LWButton.java +++ b/test/jdk/java/awt/event/helpers/lwcomponents/LWButton.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2025, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2026, 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 @@ -63,7 +63,7 @@ public class LWButton extends LWComponent { private transient ActionListener actionListener; /* - * The action to be performaed once a button has been + * The action to be performed once a button has been * pressed. * actionCommand can be null. * @serial