Skip to content

Conversation

@olavloite
Copy link
Collaborator

The trick that the SpanTest class does to change a private static final field
is no longer possible in JDK12 and higher. This test therefore needs to be
skipped when the tests are running on Java12 or higher.

Fixes the build error in #1462

The trick that the SpanTest class does to change a private static final field
is no longer possible in JDK12 and higher. This test therefore needs to be
skipped when the tests are running on Java12 or higher.

Fixes the build error in #1462
@olavloite olavloite requested a review from a team as a code owner September 29, 2021 08:22
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Sep 29, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 29, 2021
@thiagotnunes thiagotnunes added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 29, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 29, 2021
@thiagotnunes thiagotnunes added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 3, 2021
@thiagotnunes thiagotnunes changed the title test: skip SpanTest on JDK17 and higher test: skip SpanTest on JDK12 and higher Oct 3, 2021
@thiagotnunes thiagotnunes merged commit bbe7603 into main Oct 4, 2021
@thiagotnunes thiagotnunes deleted the skip-span-test-on-java12 branch October 4, 2021 04:33
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
…eapis#911)

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Source-Link: googleapis/synthtool@72c64b7
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b2e8f445ca0e605d4bbefbfdbdf7335692d75cf1647af62243828dcc0ea4e690
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants