[ 
https://issues.apache.org/jira/browse/AMQ-9563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057827#comment-18057827
 ] 

ASF subversion and git services commented on AMQ-9563:
------------------------------------------------------

Commit b31e80401eb0ea15bb05e837db0a57c7a9e5e078 in activemq's branch 
refs/heads/main from Jean-Louis Monteiro
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=b31e80401e ]

ActiveMQ on Java 25 (#1563)

* [#] NO-JIRA: Update Jenkinsfile to add JDK 25
* [AMQ-9563] Add a SubjectShim to support JAAS API JDK 24+
* [AMQ-9366] Add DataFileFactroy to KahaDBPersistenceAdapter and update test to 
remove SecurityManager

Co-authored-by: Gurpartap Singh <gurpartap0306>

* Add support for Java 25 in CI configurations

Ensure builds under Java 21 will still work with Security Manager

Only run required tests

* AMQ-9825: ActiveMQ on Java 25
Use Java 25 compatible version of Mockito
Use Mockito Agent because self attaching an agent is now unavailable since Java 
21+
Split integration tests (MRJAR dependent) into a specific integration-test 
phase so they use the jar in the classpath
Do not rely on activeByDefault because when other profiles activate, quick 
becomes inactive

* Remove unused import for AccessController in SubjectShim.java because the API 
will be removed anyways

* Do not use * imports

* Attempt to build the MRJAR earlier so tests can use it and we can avoid the 
failsafe integration tests

* Update Maven Enforcer Plugin to require Java 24+ for builds

---------

Co-authored-by: Matt Pavlovich <[email protected]>

> Refactor code to remove deprecated AccessController and SecurityManager
> -----------------------------------------------------------------------
>
>                 Key: AMQ-9563
>                 URL: https://issues.apache.org/jira/browse/AMQ-9563
>             Project: ActiveMQ
>          Issue Type: Task
>            Reporter: Matt Pavlovich
>            Assignee: Matt Pavlovich
>            Priority: Major
>             Fix For: 6.3.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Future JDKs remove AccessController class
> TODO: Need a test framework modification to update this unit test:
> https://github.com/apache/activemq/blob/e1bcbb9f3ec377367d1d72a21bfbff7410e33105/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/JournalArchiveTest.java#L119



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to