You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/10/23 11:31:07 UTC

(commons-vfs) branch master updated (4f1eb034 -> 236b1d72)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


    from 4f1eb034 Bump org.apache.httpcomponents.core5:httpcore5 from 5.3 to 5.3.1 #624
     new 6653892d Update GH CI from Java 23-ea to 23
     new 236b1d72 Allow security manager on Java 23 for HDFS

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven.yml |  6 +++---
 commons-vfs2-hdfs/pom.xml   | 10 ++++++++++
 2 files changed, 13 insertions(+), 3 deletions(-)


(commons-vfs) 02/02: Allow security manager on Java 23 for HDFS

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit 236b1d7292cd0f5ad6f917f70223cf4a4f7513ee
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Oct 23 07:30:59 2024 -0400

    Allow security manager on Java 23 for HDFS
    
    java.lang.UnsupportedOperationException: getSubject is supported only if
    a security manager is allowed
            at java.base/javax.security.auth.Subject.getSubject(Subject.java:347)
            at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:588)
---
 commons-vfs2-hdfs/pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/commons-vfs2-hdfs/pom.xml b/commons-vfs2-hdfs/pom.xml
index 41816a39..8de814fa 100644
--- a/commons-vfs2-hdfs/pom.xml
+++ b/commons-vfs2-hdfs/pom.xml
@@ -264,6 +264,16 @@
 	</plugins>
   </reporting>
   <profiles>
+    <profile>
+      <!-- Java 23 and up -->
+      <id>java-23-up</id>
+      <activation>
+        <jdk>[23,)</jdk>
+      </activation>
+      <properties>
+        <java.security.manager>allow</java.security.manager>
+      </properties>
+    </profile>
     <profile>
       <activation>
         <os>


(commons-vfs) 01/02: Update GH CI from Java 23-ea to 23

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit 6653892d03b7cdbca07efc1f5393b70d4fc0a3b8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Oct 23 07:26:04 2024 -0400

    Update GH CI from Java 23-ea to 23
---
 .github/workflows/maven.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5431b8ad..90748c27 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,13 +32,13 @@ jobs:
         java: [ 8, 11, 17, 21, 22 ]
         experimental: [false]
         include:
-          - java: 23-ea
+          - java: 23
             os: ubuntu-latest
             experimental: true
-          - java: 23-ea
+          - java: 23
             os: windows-latest
             experimental: true
-          - java: 23-ea
+          - java: 23
             os: macos-latest
             experimental: true
           - java: 24-ea