Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/java.base/share/classes/java/lang/SecurityManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,6 @@ public void checkMulticast(InetAddress maddr) {
* @throws NullPointerException if the address argument is
* {@code null}.
* @since 1.1
* @deprecated Use #checkPermission(java.security.Permission) instead
* @see #checkPermission(java.security.Permission) checkPermission
*/
@Deprecated(since="1.4", forRemoval=true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ public static <T> T doPrivileged(PrivilegedAction<T> action,
*/
@CallerSensitive
public static <T> T doPrivileged(PrivilegedAction<T> action,
@SuppressWarnings("removal") AccessControlContext context, Permission... perms) {
@SuppressWarnings("removal") AccessControlContext context,
Permission... perms) {

@SuppressWarnings("removal")
AccessControlContext parent = getContext();
Expand Down Expand Up @@ -511,7 +512,8 @@ public static <T> T doPrivileged(PrivilegedAction<T> action,
*/
@CallerSensitive
public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action,
@SuppressWarnings("removal") AccessControlContext context, Permission... perms) {
@SuppressWarnings("removal") AccessControlContext context,
Permission... perms) {

@SuppressWarnings("removal")
AccessControlContext parent = getContext();
Expand Down Expand Up @@ -874,7 +876,8 @@ private static PrivilegedActionException wrapException(Exception e) {
*/
@CallerSensitive
public static <T> T doPrivileged(PrivilegedExceptionAction<T> action,
@SuppressWarnings("removal") AccessControlContext context, Permission... perms)
@SuppressWarnings("removal") AccessControlContext context,
Permission... perms)
throws PrivilegedActionException
{
@SuppressWarnings("removal")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ private static JRSUIConstants.Size getSizeFromString(final String name) {

private static Size getDefaultSize() {
@SuppressWarnings("removal")
final String sizeProperty = AccessController.doPrivileged(new GetPropertyAction(SYSTEM_PROPERTY_KEY));
final String sizeProperty = AccessController.doPrivileged(
new GetPropertyAction(SYSTEM_PROPERTY_KEY));
final JRSUIConstants.Size size = getSizeFromString(sizeProperty);
if (size != null) return size;
return JRSUIConstants.Size.REGULAR;
Expand Down