8296244: Alternate implementation of user-based authorization Subject APIs that doesn’t depend on Security Manager APIs

Reviewed-by: mullan
This commit is contained in:
Weijun Wang 2024-03-20 21:25:41 +00:00
parent 000f4d8d15
commit d32746ef4a
17 changed files with 591 additions and 141 deletions

View file

@ -2690,6 +2690,11 @@ public final class System {
public boolean bytesCompatible(String string, Charset charset) {
return string.bytesCompatible(charset);
}
@Override
public boolean allowSecurityManager() {
return System.allowSecurityManager();
}
});
}
}