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

open javac modules for google-java-format #8531

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

richardstartin
Copy link
Member

Google-java-format is JK17 incompatible, having dependencies on Javac internals, so needs some modules exported to run on JDK17. See more here: google/google-java-format#612

@@ -48,7 +48,14 @@ jobs:
NEW_COMMIT: ${{ github.event.inputs.newCommit }}
WORKING_DIR: /tmp/compatibility-verifier
TEST_SUITE: ${{ matrix.test_suite }}
MAVEN_OPTS: -Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
MAVEN_OPTS: -Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 \
Copy link
Contributor

@xiangfu0 xiangfu0 Apr 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this multi-line with backslash the correct format?
or you can try this one:

MAVEN_OPTS: >
    -Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25
    -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
    ... 

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may also need to modify the script a bit to let it trigger the job once to kick off the action tasks

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch. how do I force it to run?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just add a newline in pom.xml should trigger it. You can revert it back once the test is done

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running now

@richardstartin
Copy link
Member Author

@xiangfu0 it builds. I will revert the dummy commit.

@richardstartin
Copy link
Member Author

@xiangfu0
Copy link
Contributor

@xiangfu0 it builds. I will revert the dummy commit.

👍

@xiangfu0 xiangfu0 merged commit 400b603 into apache:master Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants