Skip to content

Add module-info definitions for the Java libraries #7236

Open
@SamCarlberg

Description

@SamCarlberg

Java 23 added support for module imports, which would allow users to use eg import module wpilib.units to import every type from the wpiunits library instead of needing a separate import for each class. It effectively acts like a star import on every package exported by the module. This could be helpful for new programmers who aren't familiar with the library, and for example projects and documentation.

https://openjdk.org/jeps/476

While module imports will need the new MRC for a compatible JDK version, the library can still be modularized on our current JDK

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions