Skip to content

Upgrade forbiddenapis to version 3.5#12215

Merged
uschindler merged 2 commits intoapache:mainfrom
uschindler:dev/forbiddenapis-3.5
Mar 27, 2023
Merged

Upgrade forbiddenapis to version 3.5#12215
uschindler merged 2 commits intoapache:mainfrom
uschindler:dev/forbiddenapis-3.5

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.

1 participant