Skip to content
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

Interface List Reversed in Classfile #9044

Closed
scabug opened this issue Dec 15, 2014 · 2 comments
Closed

Interface List Reversed in Classfile #9044

scabug opened this issue Dec 15, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Dec 15, 2014

Since https://github.com/scala/scala/pull/4080/files#diff-34082ec02c067748f0d47c0bf037a717R203, the list of implemented interfaces in classfiles is reversed:

2.11.4

scala> trait A; trait B; class C extends A with B; classOf[C].getInterfaces
defined trait A
defined trait B
defined class C
res0: Array[Class[_]] = Array(interface A, interface B)

current 2.11.x

scala> trait A; trait B; class C extends A with B; classOf[C].getInterfaces
defined trait A
defined trait B
defined class C
res0: Array[Class[_]] = Array(interface B, interface A)
@scabug
Copy link
Author

scabug commented Dec 15, 2014

Imported From: https://issues.scala-lang.org/browse/SI-9044?orig=1
Reporter: @lrytz

@scabug
Copy link
Author

scabug commented Dec 15, 2014

@lrytz said:
scala/scala#4208

@scabug scabug closed this as completed Dec 23, 2014
@scabug scabug added the blocker label Apr 7, 2017
@scabug scabug added this to the 2.11.5 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants