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
InnerClass entry should added to class file for references in Java Generic Signatures #10180
Comments
Imported From: https://issues.scala-lang.org/browse/SI-10180?orig=1 |
|
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
Fix in scala/scala#5925. Created a new ticket #10348 for the fact that the signature is |
Oh, javac's signature is actually also |
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
Earlier PR: scala/scala#5690 |
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
To emit the InnerClass table we visit ClassNodes after all code generation is done. This is simpler than keeping track of things during code generation and the optimizer. Until now we didn't include references to nested classes that appear only in generic signatures. Fixes scala/bug#10180
Related to #9937, in which the same bug in Kotlin trips up scalac.
Compare with Java:
The text was updated successfully, but these errors were encountered: