mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8325990: Remove use of snippet @replace annotation in java.base
Reviewed-by: jlu, naoto
This commit is contained in:
parent
00b5c70750
commit
7a76252007
2 changed files with 5 additions and 5 deletions
|
@ -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, ' ');
|
||||
* }
|
||||
* }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue