Affects Version/s: None
Fix Version/s: None
Component/s: Library (Misc)
=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===
I reproduced the problem by deploying a WAR compiled with Scala 2.9.0 to Tomcat 7.0.12.
=== What is the expected behavior? ===
=== What do you see instead? ===
=== Additional information ===
To compensate for the lack of an isolated test case, here's some information (Alex Cruise provided some of it on IRC after I mentioned the initial error).
The source of the issue seems to be the following @bridge method in RichInt:
The problem is that Range defines a final foreach and Range.ByOne tries to override it.
Using javap, in Range.class, there is:
and in RichInt$$$$anon$$1 which inherits from Range.Inclusive which inherits from Range, there is:
=== What versions of the following are you using? ===
- Scala: 2.9.0
- Java: JDK 6 Update 25
- Operating system: Linux