Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Refactor build configuration and update Maven setup for Java 22+#16

Open
stan0x wants to merge 6 commits intojdolan:mainfrom
stan0x:main
Open

Refactor build configuration and update Maven setup for Java 22+#16
stan0x wants to merge 6 commits intojdolan:mainfrom
stan0x:main

Conversation

@stan0x
Copy link
Copy Markdown
Contributor

@stan0x stan0x commented Mar 25, 2026

This pull request introduces several improvements to the development and build process, primarily focusing on documenting prerequisites, enhancing Java/Maven compatibility, and refining the file synchronization logic. The most notable changes are grouped below.

Build and Development Prerequisites:

  • Expanded .github/copilot-instructions.md to specify required Java (21+) and Maven (3.9+) versions, with detailed steps for installing Maven and handling PowerShell-specific output issues.

Java/Maven Compatibility Enhancements:

  • Added JVM options in .mvn/jvm.config to enable native access, allow sun.misc unsafe memory access, open java.lang.reflect for reflection, and permit final field mutation, improving compatibility with newer Java versions and Maven internals.

File Synchronization Logic:

  • Changed Manager.sync() in Manager.java to use flatMap instead of concatMap, allowing file synchronization tasks to run concurrently rather than sequentially, which can improve performance.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant