eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Modular MR project may bypass its own module description

Open
#5,150 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
49

Description

Given a class that is valid in the main source folder based on the corresponding module-info.
If a source folder of a higher version defines a more restrictive module-info, this would probably break at runtime.

Should the compiler re-compile classes take from a lower release against every other module-info?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the modular multi-release project described, with a class valid against the main source folder's module-info and a more restrictive module-info in a higher-version source folder. Compare the compiler's validation and runtime behavior, then determine whether lower-release classes must be recompiled against each module-info; done means the behavior is corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.