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

Full cross-versioning #140

Closed
VladUreche opened this Issue Nov 7, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@VladUreche
Member

VladUreche commented Nov 7, 2014

Since the compiler API is constantly changing, we'll need to do full cross-versioning for the 0.4 release. Luckily, it's not too hard to bootstrap the miniboxing plugin:

./sbt-publish -J-Dminiboxing.bootstrap=stage1 clean compile package publish
./sbt-publish -J-Dminiboxing.bootstrap=stage2 clean compile package publish
./sbt-publish clean update compile package test publish

@VladUreche VladUreche added this to the 0.4 milestone Nov 7, 2014

VladUreche added a commit to VladUreche/scala-rrb-vector that referenced this issue Dec 7, 2014

Bumped version to 2.11.4
Miniboxing is no longer compatible with Scala 2.11.{0,1,2}, since the
compiler releases **are not binary compatible**. There is a but tracking
full cross-compilation, but I just didn't have time to pursue this
further: miniboxing/miniboxing-plugin#140

Just for reference, this is the error you will get:
```
java.lang.NoSuchMethodError: scala.tools.nsc.typechecker.Contexts$class.rootContext$default$4(Lscala/tools/nsc/typechecker/Analyzer;)Z
	at miniboxing.plugin.ScalacCrossCompilingLayer$TweakedAnalyzer.rootContext$default$4(ScalacCrossCompilingLayer.scala:38)
	at miniboxing.plugin.transform.interop.coerce.InteropCoerceTreeTransformer$TreeAdapters.adapt(InteropCoerceTreeTransformer.scala:52)
	at miniboxing.plugin.transform.interop.coerce.InteropCoerceTreeTransformer$CoercePhase$$anonfun$1.apply(InteropCoerceTreeTransformer.scala:42)
	at miniboxing.plugin.transform.interop.coerce.InteropCoerceTreeTransformer$CoercePhase$$anonfun$1.apply(InteropCoerceTreeTransformer.scala:42)
	at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:235)
	at scala.reflect.internal.SymbolTable.exitingPhase(SymbolTable.scala:256)
```

@VladUreche VladUreche added the wontfix label May 2, 2015

@VladUreche

This comment has been minimized.

Show comment
Hide comment
@VladUreche

VladUreche May 2, 2015

Member

Unfortunately at this point I simply don't have the resources to maintain full cross-compilation across the 2.10, 2.11 and 2.12 versions of Scala. Instead, miniboxing will be compiled and tested against the latest revision/milestone in each minor release.

Member

VladUreche commented May 2, 2015

Unfortunately at this point I simply don't have the resources to maintain full cross-compilation across the 2.10, 2.11 and 2.12 versions of Scala. Instead, miniboxing will be compiled and tested against the latest revision/milestone in each minor release.

@VladUreche

This comment has been minimized.

Show comment
Hide comment
@VladUreche

VladUreche May 2, 2015

Member

Passing the 2.12 problem to bug #212. Pun not intended, but definitely enjoyed :)

Member

VladUreche commented May 2, 2015

Passing the 2.12 problem to bug #212. Pun not intended, but definitely enjoyed :)

@VladUreche VladUreche closed this in 2b4ec51 May 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment