Skip to content

Modularizing Spring #20903

Closed
Closed
@rolaca11

Description

@rolaca11

I'm sorry if this topic has come up a million times before, but I couldn't find an official statement about what the plans are for incorporating the JPMS into the Spring framework.

This feature has obviously received a lot of bad rep from the community, but I think it can open up interesting opportunities for the framework. Especially for Spring Boot, a @ConditionalOnModule annotation could be a nice addition, giving developers another set of tools into their auto-configuration repertoire.

By design, implementing this feature would not break projects that are not making use of modularity, since unnamed modules have access to all available modules. It also seems like Java 8 based projects are fine since JDK 8 just ignores the module-info.class altogether.

I have worked a bunch with JPMS lately, so I understand that a feature like this takes more than 5 minutes to implement and takes a lot of effort testing in the first iteration, however, I also feel like this feature would be worth the effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions