Skip to content

Support Java Modules #689

@aalmiray

Description

@aalmiray

joda-time 2.12.2 defines an automatic module name

$ jarviz module descriptor --file joda-time-2.12.2.jar 
name: org.joda.time
version: 2.12.2
open: false
automatic: true
requires:
  java.base mandated
contains:
  org.joda.time
  org.joda.time.base
  org.joda.time.chrono
  org.joda.time.convert
  org.joda.time.field
  org.joda.time.format
  org.joda.time.tz

I'd be great if the library supplied a full Java module descriptor. It's possible to keep bytecode baseline compatible with Java 5 while providing a full module descriptor thanks to ModiTect. This will help modular projects that consume joda-time, specifically those that create custom Java Runtimes with jlink, as the latter does not support automatic modules but explicit modules. If interested I can send a PR to make it happen.

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