Closed
Description
Issue spotted when trying to compile https://github.com/mjakubowski84/parquet4s using the latest nightly
More logs: https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/775/artifact/build-logs.txt
Compiler version
3.2.0-RC1-bin-20220429-400427d-NIGHTLY
Works with 3.1.2
Fails with 3.1.3-RC2
First bad commit 681e17e in #14426
Minimized code
Needs further minimization:
Sources failing class: https://github.com/apache/yetus/blob/main/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceAudience.java
//> using scala "3.2.0-RC1-bin-20220429-400427d-NIGHTLY"
// //> using scala "3.1.2" // Last stable working version
//> using lib "org.apache.parquet:parquet-hadoop:1.12.2"
//Any usage of class from library
val x: org.apache.yetus.audience.InterfaceAudience.Private = ???
Output
Error: error while loading InterfaceStability,
class file org/apache/yetus/audience/InterfaceStability.class is broken, reading aborted with class java.lang.UnsupportedOperationException
complete
Warning: Caught: java.lang.AssertionError: assertion failed: failure to resolve inner class:
externalName = org.apache.yetus.audience.InterfaceStability$Evolving,
outerName = org.apache.yetus.audience.InterfaceStability,
innerName = Evolving
owner.fullName = org.apache.yetus.audience.InterfaceStability
while parsing /home/wmazur/.cache/coursier/v1/https/repo1.maven.org/maven2/org/apache/yetus/audience-annotations/0.13.0/audience-annotations-0.13.0.jar(org/apache/yetus/audience/InterfaceAudience.class) while parsing annotations in /home/wmazur/.cache/coursier/v1/https/repo1.maven.org/maven2/org/apache/yetus/audience-annotations/0.13.0/audience-annotations-0.13.0.jar(org/apache/yetus/audience/InterfaceAudience.class)
Expectation
ClassfileParser should be able to read to jar