-
Notifications
You must be signed in to change notification settings - Fork 701
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
test: adding Java 7 check #2306
base: main
Are you sure you want to change the base?
Conversation
Warning: This pull request is touching the following templated files:
|
Using the same method as googleapis/google-http-java-client#1847 to use surefire's jvm system property
pom.xml
Outdated
@@ -510,6 +510,8 @@ | |||
<project.datanucleus-api-jdo.version>3.2.1</project.datanucleus-api-jdo.version> | |||
<project.datanucleus-maven-plugin.version>4.0.3</project.datanucleus-maven-plugin.version> | |||
<project.servlet-api.version>2.5</project.servlet-api.version> | |||
<!-- Declaring surefire version as property lets us ot specify its version as Maven's argument --> | |||
<project.surefire.version>3.0.0-M7</project.surefire.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a downgrade for 3.1.0
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -8,6 +8,7 @@ branchProtectionRules: | |||
requiresCodeOwnerReviews: true | |||
requiresStrictStatusChecks: false | |||
requiredStatusCheckContexts: | |||
- units (7) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is copied by owlbot?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right. I'll need manually set the required check via Settings of this repository once it's merged.
Marking this as draft while I troubleshoot the build failure. |
The Guava's 31.1-android is already compiled for Java 8 (major version: 52).
The google-http-java-client uses 30.1.1-android https://github.com/googleapis/google-http-java-client/blob/6b195272749e2ea1466fa83d7d021dbf71b5d8a6/pom.xml#L578 |
Current status:
The Mockdata is generated class via protobuf-maven-plugin. Probably because it's using Java 17? |
It's the same error with Java 8. How to reproduce?
The class file says it's for Java 7.
It's not that
|
New error:
|
Using the same method as googleapis/google-http-java-client#1847
to use surefire's jvm system property
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> ☕️
If you write sample code, please follow the samples format.