8339735: Remove references to Applet in core-libs/security APIs

Reviewed-by: coffeys, naoto, iris, rriggs, lancea, mullan
This commit is contained in:
Justin Lu 2024-09-19 16:18:37 +00:00
parent 2ada313cdd
commit 5f3e7aa833
7 changed files with 18 additions and 19 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@ -39,7 +39,7 @@ import javax.crypto.spec.*;
* The {@code CryptoPermission} class extends the
* {@code java.security.Permission} class. A
* {@code CryptoPermission} object is used to represent
* the ability of an application/applet to use certain
* the ability of an application to use certain
* algorithms with certain key sizes and other
* restrictions in certain environments.
*

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@ -43,7 +43,7 @@ import sun.security.jca.GetInstance.Instance;
* of which are <i>key recovery</i>, <i>key weakening</i>, and
* <i>key escrow</i>.
*
* <p>Applications or applets that use an exemption mechanism may be granted
* <p>Applications that use an exemption mechanism may be granted
* stronger encryption capabilities than those which don't.
*
* @since 1.4

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@ -36,9 +36,9 @@ import java.lang.StackWalker.*;
* The JCE security manager.
*
* <p>The JCE security manager is responsible for determining the maximum
* allowable cryptographic strength for a given applet/application, for a given
* allowable cryptographic strength for a given application, for a given
* algorithm, by consulting the configured jurisdiction policy files and
* the cryptographic permissions bundled with the applet/application.
* the cryptographic permissions bundled with the application.
*
* @author Jan Luehe
*
@ -85,7 +85,7 @@ final class JceSecurityManager {
/**
* Returns the maximum allowable crypto strength for the given
* applet/application, for the given algorithm.
* application, for the given algorithm.
*/
CryptoPermission getCryptoPermission(String theAlg) {