ballerina-lang
ballerina-lang copied to clipboard
[Bug]: Incorrect 'module-info.class' file is packed with the Ballerina executable JAR
Description
The module-info.class
file of the Ballerina executable JAR (found in the jar's root directory) contains the same content of the module-info.java
file of the lang.__internal
langlib module, which is irrelevant.
module io.ballerina.lang.internal {
requires io.ballerina.lang;
requires io.ballerina.runtime;
exports org.ballerinalang.langlib.internal;
}
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The above module-info.class is packed with ballerina-rt.jar
as well. It seems that the modular info creation needs to be handled properly.
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.
- Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
- Reason/Regression - The issue has introduced a regression.
- Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
- Reason/Complex - Issue occurred due to complex scenario.
- Reason/Invalid - Issue is invalid.
- Reason/Other - None of the above cases.