8325990: Remove use of snippet @replace annotation in java.base

Reviewed-by: jlu, naoto
This commit is contained in:
Brian Burkhalter 2024-02-16 16:06:56 +00:00
parent 00b5c70750
commit 7a76252007
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2024, 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
@ -86,7 +86,7 @@ import sun.security.action.GetPropertyAction;
* char[] passwd;
* if ((cons = System.console()) != null &&
* (passwd = cons.readPassword("[%s]", "Password:")) != null) {
* code: // @replace substring="code:" replacement="..."
* ...
* java.util.Arrays.fill(passwd, ' ');
* }
* }