Skip to content

Conversation

@smarter
Copy link
Member

@smarter smarter commented Apr 21, 2018

We force all types appearing in the extends clause using cook before
completing the current class, in B_1.java this means we force C before
B_1 is completed, ClassfileLoader#load ends up calling
scalacLinkedClass which before this commit forced the owner of C,
causing a cycle.

We force all types appearing in the extends clause using `cook` before
completing the current class, in B_1.java this means we force `C` before
`B_1` is completed, ClassfileLoader#load ends up calling
`scalacLinkedClass` which before this commit forced the owner of `C`,
causing a cycle.
@smarter smarter requested a review from odersky April 21, 2018 14:08
@smarter smarter merged commit 8feb596 into scala:master Apr 22, 2018
@allanrenucci allanrenucci deleted the fix/java-tparams-cycle branch April 23, 2018 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants