Skip to content

JPMS ModuleConfiguration #667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Apr 7, 2025
Merged

JPMS ModuleConfiguration #667

merged 24 commits into from
Apr 7, 2025

Conversation

wasabii
Copy link
Contributor

@wasabii wasabii commented Mar 22, 2025

Beginnings of CoreLib support for processing Java modules. The idea with this first effort is going to be allowing ikvmc to comprehend a modulepath. This code is not yet used, but I wanted to get it in.

This branch makes use of JdkUtil for most lookups of java/javac. And it requires a JDK 21 installation (in addition to the JDK 8 installation) to be present on the system. Right now that is so we can generate modularized JAR files for test cases.

wasabii added 2 commits March 22, 2025 20:00
Trying to fix submodule.

dupe

Use FindJdk to find... the JDK.

Update.

Install JDK 21 on the machine.

Message.

Using FindJdk.

Add a README. Fix a few bugs. Build tests automatically. Need to figure out how to find java utils.

Add validation of java.base.

Added an in-member module finder and reference, along with a test that uses them to do a simple Resolve.
Added DeocdeModuleName, which sanitizes module names using code points (would be nice to have Rune).
Fix problem with invalid Verison.
Replace binary class and package names with qualified.

Write a custom Deque implementation.
Implement module graph, finders, configuration and some tests. Add some test JAR and module files. These are only built in VS, and only from a hard coded JDK for now. Just going to commit them for the moment.

Work.

More.

Initial work on JDK9 modules.
@wasabii wasabii merged commit 8a369fd into develop Apr 7, 2025
251 of 253 checks passed
@wasabii wasabii deleted the modules branch April 7, 2025 14:45
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.

1 participant