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

Method handle #1689

Merged
merged 6 commits into from
Sep 30, 2020
Merged

Method handle #1689

merged 6 commits into from
Sep 30, 2020

Conversation

suztomo
Copy link
Contributor

@suztomo suztomo commented Sep 30, 2020

Fixes #1684 .

@google-cla google-cla bot added the cla: yes label Sep 30, 2020
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

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

tests are failing

@suztomo
Copy link
Contributor Author

suztomo commented Sep 30, 2020

@elharo PTAL.

@suztomo suztomo requested a review from elharo September 30, 2020 16:56
@@ -134,7 +134,6 @@
<mainClass>com.google.cloud.tools.opensource.dependencies.Java8IncompatibleReferenceCheck</mainClass>
<arguments>
<argument>../boms/cloud-oss-bom/pom.xml</argument>
<argument>src/main/resources/java8-incompatible-reference-check-exclusion.xml</argument>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file contained only the linkage errors on MethodHandle.

@@ -134,7 +134,6 @@
<mainClass>com.google.cloud.tools.opensource.dependencies.Java8IncompatibleReferenceCheck</mainClass>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll remove this class once protobuf-java fixes the issue.
protocolbuffers/protobuf#7827

assert buildLog.text.contains("Linkage Checker rule found 850 errors:")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

MethodHandle linkage errors are not reported.

@suztomo suztomo merged commit 6710f1d into master Sep 30, 2020
@suztomo suztomo deleted the method_handle branch September 30, 2020 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MethodHandle's invoke method reference is always marked as a linkage error
2 participants