Skip to content

reload4j: fix broken build - #15886

Open
xingyaner wants to merge 1 commit into
google:masterfrom
xingyaner:fix-reload4j
Open

reload4j: fix broken build#15886
xingyaner wants to merge 1 commit into
google:masterfrom
xingyaner:fix-reload4j

Conversation

@xingyaner

Copy link
Copy Markdown
Contributor

The reload4j build fails because NewAsyncAppender.java imports the JDK-internal class sun.rmi.runtime.Log, while the java.rmi module does not export the sun.rmi.runtime package to application code. Upstream commit 70dba2d205f17cedc9ccd555877ffe13b2909216 added this import, although it has not been counterfactually verified as the root-cause commit. Since the imported type is unused, remove the import before compiling reload4j to resolve the module-access error without changing NewAsyncAppender behavior.

@github-actions

Copy link
Copy Markdown

xingyaner is a new contributor to projects/reload4j. The PR must be approved by known contributors before it can be merged. The past contributors are: henryrneh, fmeum, aschaich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant