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

Upgrade forbiddenapis to version 3.5 #12215

Merged
merged 2 commits into from
Mar 27, 2023

Conversation

uschindler
Copy link
Contributor

@uschindler uschindler commented Mar 27, 2023

This tones down some verbose warnings printed while checking Java 19 and Java 20 sourcesets for the MR-JAR.

$ gradlew forbiddenApis
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :errorProneSkipped
WARNING: errorprone disabled (skipped on builds not running inside CI environments, pass -Pvalidation.errorprone=true to enable)

> Task :lucene:core:forbiddenApisMain19
While scanning classes to check, the following referenced classes were not found on classpath (this may miss some violations):
  java.lang.foreign.MemorySegment, java.lang.foreign.MemorySession, java.lang.foreign.ValueLayout,... (and 5 more).

> Task :lucene:core:forbiddenApisMain20
While scanning classes to check, the following referenced classes were not found on classpath (this may miss some violations):
  java.lang.foreign.Arena, java.lang.foreign.MemorySegment, java.lang.foreign.SegmentScope,... (and 6 more).

BUILD SUCCESSFUL in 35s
233 actionable tasks: 76 executed, 157 up-to-date

…rnings printed while checking Java 19 and Java 20 sourcesets for the MR-JAR
@uschindler
Copy link
Contributor Author

See policeman-tools/forbidden-apis#207 for details.

@uschindler uschindler merged commit b84b360 into apache:main Mar 27, 2023
@uschindler uschindler deleted the dev/forbiddenapis-3.5 branch March 27, 2023 11:30
asfgit pushed a commit that referenced this pull request Mar 27, 2023
Upgrade forbiddenapis to version 3.5.  This tones down some verbose warnings printed while checking Java 19 and Java 20 sourcesets for the MR-JAR
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

1 participant