different between scala-lang.2.10.5 and scala-lang.2.11.7 on create method declaration.

114 views
Skip to first unread message

My Channel

unread,
Nov 26, 2015, 10:40:14 AM11/26/15
to scala-user
Hello all,

I have compiled code that using scala-lang.2.11.7 and I have JBoss that running with scala-lang.2.10.5.
I'm running code and i'm getting the following exception Caused by: java.lang.NoSuchMethodError: scala.runtime.ObjectRef.create(Ljava/lang/Object;)Lscala/runtime/ObjectRef;
I cannot upgrade my scala-lang on my system.

1) Is there away to run with part code from 2.11.7 while using scala-lang.2.10.5?
2) How come the change is so major that backwards failed.

Thanks,
S!

Simon Ochsenreither

unread,
Nov 26, 2015, 11:37:29 PM11/26/15
to scala-user

Hi S,


1) Is there away to run with part code from 2.11.7 while using scala-lang.2.10.5?

No.
 
2) How come the change is so major that backwards failed.

Major releases are in general not binary compatible with each other.

Bye,

Simon
Reply all
Reply to author
Forward
0 new messages