[
https://issues.apache.org/jira/browse/XERCESJ-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliotte Rusty Harold updated XERCESJ-1797:
-------------------------------------------
Summary: The java.security.AccessController class and doPrivileged methods
were deprecated for removal in Java 17 (JEP 411) and the Security Manager
mechanism is disabled by default in Java 18+ and permanently removed in Java 24
(JEP 486). (was: org.apache.xerces.impl.dv.xs.TypeValidator uses
AccessController.doPrivileged )
> The java.security.AccessController class and doPrivileged methods were
> deprecated for removal in Java 17 (JEP 411) and the Security Manager
> mechanism is disabled by default in Java 18+ and permanently removed in Java
> 24 (JEP 486).
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESJ-1797
> URL: https://issues.apache.org/jira/browse/XERCESJ-1797
> Project: Xerces2-J
> Issue Type: Task
> Reporter: Elliotte Rusty Harold
> Assignee: Elliotte Rusty Harold
> Priority: Major
>
> org.apache.xerces.impl.dv.xs.TypeValidator uses AccessController.doPrivileged
> which is deprecated ane marked for removal. Figure out what to do about this.
>
> {{ private static final boolean USE_CODE_POINT_COUNT_FOR_STRING_LENGTH =
> AccessController.doPrivileged(new PrivilegedAction() {
> @Override
> public Object run() {
> try {}}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]