git: openjdk/jdk-sandbox: jep486: 6 new changesets

duke duke at openjdk.org
Fri Oct 18 12:14:51 UTC 2024


Changeset: 2ebb6de5
Branch: jep486
Author:    Sean Mullan <sean.mullan at oracle.com>
Date:      2024-10-17 09:05:04 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/2ebb6de50194770658462507cee28b785fb30dbd

Change checkAccess() methods to be no-ops, rather than throwing
SecurityException.

! src/java.base/share/classes/java/lang/Thread.java
! src/java.base/share/classes/java/lang/ThreadGroup.java
! src/java.logging/share/classes/java/util/logging/LogManager.java

Changeset: 7ea65a6f
Branch: jep486
Author:    Sean Mullan <sean.mullan at oracle.com>
Date:      2024-10-17 10:00:23 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/7ea65a6febd18ad8f8fa99cfbb8687e761558594

Add api note to getClassContext to use StackWalker instead and
add DROP_METHOD_INFO option to StackWalker.

! src/java.base/share/classes/java/lang/SecurityManager.java

Changeset: adf5ed78
Branch: jep486
Author:    Sean Mullan <sean.mullan at oracle.com>
Date:      2024-10-17 12:32:24 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/adf5ed789b0437fa57c87f29e6a4e6b6f7f0c92b

Restore text about needing permissions from the desktop environment in the
getPixelColor and createScreenCapture methods.

! src/java.desktop/share/classes/java/awt/Robot.java

Changeset: 44432e56
Branch: jep486
Author:    Sean Mullan <sean.mullan at oracle.com>
Date:      2024-10-17 12:49:40 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/44432e56a91a992150ee873e81282d1fe21e69ea

Add text to class description of MBeanServer stating that implementations
may throw SecurityException if authorization doesn't allow access to resource.

! src/java.management/share/classes/javax/management/MBeanServer.java

Changeset: 86ff7146
Branch: jep486
Author:    Sean Mullan <sean.mullan at oracle.com>
Date:      2024-10-17 13:18:18 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/86ff71461ef1d695c02497626facda63c496a287

Restored methods in RMIConnection to throw SecurityExceptions again but
with adjusted text that avoids the word "permission".

! src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnection.java

Changeset: 9dd59a12
Branch: jep486
Author:    Sean Mullan <sean.mullan at oracle.com>
Date:      2024-10-17 15:06:01 +0000
URL:       https://git.openjdk.org/jdk-sandbox/commit/9dd59a12e984c347a34a25e6fd820340b1e12505

Sanitize the class descriptions of DelegationPermission and ServicePermission
by removing text that refers to granting permissions, but avoid changes that
affect the API specification, such as the description and format of input
parameters.

! src/java.security.jgss/share/classes/javax/security/auth/kerberos/DelegationPermission.java
! src/java.security.jgss/share/classes/javax/security/auth/kerberos/ServicePermission.java



More information about the jdk-sandbox-changes mailing list