scala/scala — pull request #4208 by lrytz (2014-12-15 22:01:45+00:00)
Title: SI-9044 Fix order of interfaces in classfiles

It was reversed since ced3ca8ae1.

To make sure I created a git repo with the library classfiles of 2.11.4, 2.11.x and this fix (classfile diffing by https://github.com/retronym/libscala/tree/master/git-java)

```
lucmac:t9044 luc$ git lg
* 68b55fe - (HEAD, master) current 2.11.x (13 seconds ago)
* 405c74d - 2.11.4 (14 seconds ago)
* 9e6be17 - 9044 fixed (32 seconds ago)
```

This shows the bug (diff between 2.11.4 and 2.11.x):
```diff
lucmac:t9044 luc$ git diff 405c74d..68b55fe library/scala/collection/immutable/List.class
-public abstract class scala.collection.immutable.List extends scala.collection.AbstractSeq implements scala.collection.immutable.LinearSeq,scala.Product,scala.collection.LinearSeqOptimized,java.io.Serializable{
+public abstract class scala.collection.immutable.List extends scala.collection.AbstractSeq implements java.io.Serializable,scala.collection.LinearSeqOptimized,scala.Product,scala.collection.immutable.LinearSeq{
```

This shows the fix (diff between 2.11.x and the fix)
```diff
lucmac:t9044 luc$ git diff 68b55fe..9e6be17 library/scala/collection/immutable/List.class
-public abstract class scala.collection.immutable.List extends scala.collection.AbstractSeq implements java.io.Serializable,scala.collection.LinearSeqOptimized,scala.Product,scala.collection.immutable.LinearSeq{
+public abstract class scala.collection.immutable.List extends scala.collection.AbstractSeq implements scala.collection.immutable.LinearSeq,scala.Product,scala.collection.LinearSeqOptimized,java.io.Serializable{
```

the fix and 2.11.4 are the same (both ` public abstract class scala.collection.immutable.List extends scala.collection.AbstractSeq implements scala.collection.immutable.LinearSeq,scala.Product,scala.collection.LinearSeqOptimized,java.io.Serializable{
`)