-
Notifications
You must be signed in to change notification settings - Fork 78
Java 8 Incompatible Reference Check
(draft)
This job checks the libraries in a BOM do not have class files with Java 8 incompatible references of java.nio.Buffer classes generated by Java 9 compilers.
Given a BOM the tool performs the following steps:
- Resolve the dependency graph for each artifact in the
dependencyManagementsection of the BOM - Find the invalid references embed in the class files in the artifacts in the dependency graphs.
- Find the invalid references embed in the class files in the latest version of the artifacts in the dependency graphs.
If it finds any references to the Java core library that are not present in Java 8 runtime, the job fails; otherwise the job succeeds.
If the job finds any invalid references at Step 2, we work with the library owner to publish a new version that does not contain the invalid references. See the fix in Java 8 incompatible references of java.nio.Buffer classes generated by Java 9 compilers.
If the job finds any invalid references at Step 3, but not in Step 2, it means the new version is not yet part of the dependency graphs of the libraries in the BOM. We work with the library owners to publish a new version with a fix while communicating to Google Cloud Java client team about the malfunction of the class files.