mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8345286: Remove use of SecurityManager API from misc areas
Reviewed-by: alanb, kevinw, sgehwolf
This commit is contained in:
parent
38927fc590
commit
3d49665b85
22 changed files with 43 additions and 261 deletions
|
@ -549,7 +549,6 @@ public final class String
|
|||
* Important: parameter order of this method is deliberately changed in order to
|
||||
* disambiguate it against other similar methods of this class.
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
private String(Charset charset, byte[] bytes, int offset, int length) {
|
||||
if (length == 0) {
|
||||
this.value = "".value;
|
||||
|
@ -787,7 +786,6 @@ public final class String
|
|||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("removal")
|
||||
private static String newStringNoRepl1(byte[] src, Charset cs) {
|
||||
int len = src.length;
|
||||
if (len == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue