Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare missing Service usage and remove exports to non-existing modules #43401

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions bvm/ballerina-runtime/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module io.ballerina.runtime {
uses io.ballerina.runtime.api.launch.LaunchListener;
requires java.xml;
requires org.apache.commons.text;
requires axiom.api;
Expand Down Expand Up @@ -44,23 +45,22 @@
io.ballerina.lang.floatingpoint, io.ballerina.lang.internal, io.ballerina.lang.function,
io.ballerina.lang.regexp, io.ballerina.runtime.profiler;
exports io.ballerina.runtime.internal.commons to io.ballerina.lang.value;
exports io.ballerina.runtime.internal.launch to io.ballerina.testerina.runtime, io.ballerina.packerina,
ballerina.test.listener, io.ballerina.cli, org.ballerinalang.debugadapter.runtime;
exports io.ballerina.runtime.internal.scheduling to io.ballerina.cli.utils, io.ballerina.java,
exports io.ballerina.runtime.internal.launch to io.ballerina.testerina.runtime, ballerina.test.listener,
io.ballerina.cli, org.ballerinalang.debugadapter.runtime;
exports io.ballerina.runtime.internal.scheduling to io.ballerina.java,
io.ballerina.lang.array, io.ballerina.lang.error, io.ballerina.lang.internal, io.ballerina.lang.map,
io.ballerina.lang.table, io.ballerina.lang.transaction, io.ballerina.lang.value, io.ballerina.lang.xml,
io.ballerina.log.api, io.ballerina.testerina.core, io.ballerina.testerina.runtime, io.ballerina.shell,
io.ballerina.testerina.core, io.ballerina.testerina.runtime, io.ballerina.shell,
org.ballerinalang.debugadapter.runtime, io.ballerina.lang.function, io.ballerina.runtime.profiler;
exports io.ballerina.runtime.internal.util to io.ballerina.testerina.runtime, io.ballerina.lang,
io.ballerina.lang.integer, io.ballerina.lang.floatingpoint, io.ballerina.lang.array,
io.ballerina.lang.table, io.ballerina.java, io.ballerina.lang.map, io.ballerina.lang.string,
io.ballerina.lang.xml, io.ballerina.lang.bool, io.ballerina.lang.error, io.ballerina.lang.internal,
io.ballerina.lang.value, io.ballerina.auth, io.ballerina.runtime.api, io.ballerina.cli.utils,
io.ballerina.cli;
io.ballerina.lang.value, io.ballerina.cli;
exports io.ballerina.runtime.internal.errors to io.ballerina.lang.value, io.ballerina.lang.integer,
io.ballerina.java, io.ballerina.lang.internal, io.ballerina.lang.array, io.ballerina.lang.bool,
io.ballerina.lang.floatingpoint, io.ballerina.lang.map, io.ballerina.lang.string, io.ballerina.lang.table,
io.ballerina.lang.xml, io.ballerina.testerina.core, io.ballerina.cli.utils, io.ballerina.cli,
io.ballerina.lang.xml, io.ballerina.testerina.core, io.ballerina.cli,
io.ballerina.lang.decimal, org.ballerinalang.debugadapter.runtime, io.ballerina.lang.function,
io.ballerina.lang.regexp;
exports io.ballerina.runtime.internal.values to io.ballerina.testerina.core, io.ballerina.testerina.runtime,
Expand Down
3 changes: 3 additions & 0 deletions compiler/ballerina-lang/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module io.ballerina.lang {
uses io.ballerina.projects.plugins.CompilerPlugin;
uses io.ballerina.projects.buildtools.CodeGeneratorTool;
uses org.ballerinalang.spi.CompilerBackendCodeGenerator;
uses org.ballerinalang.compiler.plugins.CompilerPlugin;
uses org.ballerinalang.spi.EmbeddedExecutor;
requires java.compiler;
requires com.google.gson;
requires java.xml;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
uses org.ballerinalang.langserver.eventsync.EventPublisher;
uses org.ballerinalang.langserver.commons.codeaction.spi.DiagnosticBasedCodeActionProvider;
uses org.ballerinalang.langserver.commons.codeaction.spi.RangeBasedCodeActionProvider;
uses org.ballerinalang.langserver.commons.completion.spi.BallerinaCompletionProvider;
exports org.ballerinalang.langserver;
exports org.ballerinalang.langserver.references;
exports org.ballerinalang.langserver.common.utils;
Expand All @@ -20,7 +21,7 @@
exports org.ballerinalang.langserver.extensions;
exports org.ballerinalang.langserver.config;
exports org.ballerinalang.langserver.telemetry;
exports org.ballerinalang.langserver.util to io.ballerina.language.server.simulator;
exports org.ballerinalang.langserver.util;
exports org.ballerinalang.langserver.codeaction to io.ballerina.datamapper;
requires io.ballerina.diagram.util;
requires io.ballerina.formatter.core;
Expand Down