Skip to content

Require Java 25 for org.eclipse.core.net - #3099

Open
vogella wants to merge 2 commits into
eclipse-platform:masterfrom
vogella:core-net-java25
Open

vogella wants to merge 2 commits into
eclipse-platform:masterfrom
vogella:core-net-java25

Conversation

@vogella

@vogella vogella commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This raises the required execution environment of org.eclipse.core.net from Java 17 to Java 25 and adjusts the JRE container and compiler settings to match. With this change we can start the migration from JNA to the Foreign Function & Memory (FFM) API, which will allow us to drop the JNA dependency of this bundle.

vogella and others added 2 commits December 4, 2026 12:07
Raise the required execution environment to JavaSE-25, which allows
migrating the bundle from JNA to the Foreign Function & Memory API.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
@eclipse-platform-bot

Copy link
Copy Markdown
Contributor

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

team/bundles/org.eclipse.core.net/META-INF/MANIFEST.MF

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From 4f543822e46799964c0638af910472cae1bc6621 Mon Sep 17 00:00:00 2001
From: Eclipse Platform Bot <platform-bot@eclipse.org>
Date: Fri, 4 Dec 2026 11:18:32 +0000
Subject: [PATCH] Version bump(s) for 4.43 stream


diff --git a/team/bundles/org.eclipse.core.net/META-INF/MANIFEST.MF b/team/bundles/org.eclipse.core.net/META-INF/MANIFEST.MF
index b3a29d7e24..da0f2df656 100644
--- a/team/bundles/org.eclipse.core.net/META-INF/MANIFEST.MF
+++ b/team/bundles/org.eclipse.core.net/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: %PLUGIN_NAME
 Bundle-SymbolicName: org.eclipse.core.net;singleton:=true
-Bundle-Version: 1.5.1000.qualifier
+Bundle-Version: 1.5.1100.qualifier
 Bundle-Activator: org.eclipse.core.internal.net.Activator
 Bundle-Vendor: %PLUGIN_PROVIDER
 Bundle-Localization: plugin
-- 
2.56.1

Further information are available in Common Build Issues - Missing version increments.

@laeubi

laeubi commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Why not include it with the change that requires it then? I think such thing then would even qualify for a minor version bump (what would make the micro one here unnecessary).

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Test Results

   36 files   -    18     36 suites   - 18   22m 54s ⏱️ - 9m 15s
5 029 tests ±    0  4 984 ✅  -    23   45 💤 +23  0 ❌ ±0 
8 652 runs   - 4 326  8 540 ✅  - 4 284  112 💤  - 42  0 ❌ ±0 

Results for commit e820add. ± Comparison against base commit 68420ce.

This pull request skips 23 tests.
org.eclipse.core.tests.resources.regression.Bug_026294 ‑ testDeleteClosedProjectLinux
org.eclipse.core.tests.resources.regression.Bug_026294 ‑ testDeleteFolderLinux
org.eclipse.core.tests.resources.regression.Bug_026294 ‑ testDeleteOpenProjectLinux
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedFile
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedFileKeepHistory
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedFolder
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedFolderKeepHistory
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedFolderParentKeepHistory
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedResourceInProject
org.eclipse.core.tests.resources.regression.Bug_044106 ‑ testDeleteLinkedResourceInProjectKeepHistory
…

@akurtakov

Copy link
Copy Markdown
Member

Minor version bump is required in this case yes https://github.com/eclipse-platform/eclipse.platform/blob/master/docs/VersionNumbering.md#when-to-change-the-minor-segment .
The version bump should be separate commit for sure so only a functional change commit can be reverted without touching the BREE. Whether to do it in separate PR is a personal preference and to me it depends on the amount of changes done for switching to new Java version - if it will make the functional change PR too big to review, it is better to have it separate as is the case in e.g. eclipse-platform/eclipse.platform.swt#3946 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants