Skip to content

Release Scala 2.10.7 #434

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

Closed
9 tasks done
adriaanm opened this issue Oct 11, 2017 · 8 comments
Closed
9 tasks done

Release Scala 2.10.7 #434

adriaanm opened this issue Oct 11, 2017 · 8 comments

Comments

@adriaanm
Copy link
Contributor

adriaanm commented Oct 11, 2017

Backport changes to support running on JDK 9.

See e.g., scala/scala#6113

Backport changes to support compiling on JDK 9.

(The scala-2.11.x jenkins jobs are not mistakes below)

@adriaanm adriaanm changed the title Release 2.10.7 Release Scala 2.10.7 Oct 11, 2017
@SethTisue SethTisue removed their assignment Oct 30, 2017
@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 2, 2017

From https://scala-ci.typesafe.com/job/scala-2.11.x-release-package-unix/1017/console:

+++ java -Dfile.encoding=UTF-8 -server -XX:+AggressiveOpts -XX:+UseParNewGC -Xmx2G -Xss1M -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=128M -Dpartest.threads=4 -Djava.io.tmpdir=/home/jenkins/tmp -Dsbt.log.noformat=true -Dsbt.ivy.home=/home/jenkins/workspace/scala-2.11.x-release-package-unix/.ivy2 -Dsbt.override.build.repos=true -Dsbt.repository.config=/home/jenkins/workspace/scala-2.11.x-release-package-unix/conf/repositories -jar /usr/local/lib/share/sbt-launch.jar 'set version := "2.10.7-bin-89e57bc"' scala-dist-finish s3-upload
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
error: error while loading AnnotatedElement, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/reflect/AnnotatedElement.class)' is broken
(bad constant pool tag 18 at byte 76)
error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
(bad constant pool tag 18 at byte 10)

@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 3, 2017

ah right, the packaging job needs to run on java 6

@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 3, 2017

scala/scala-dist@65228ef

@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 3, 2017

The 2.10 version number was being mangled, should be fixed by scala/scala-jenkins-infra#235. To use that fix, I had to temporarily add the publishToSonatype parameter to the release-main job, and set it to 'yes' in https://scala-ci.typesafe.com/view/scala-2.11.x/job/scala-2.11.x-release-main/1110/parameters/

@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 3, 2017

It also got a bit messier because I had to figure out how to separately run the unix/win packager jobs on Java 6, but all good now.

@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 6, 2017

Thanks to @eed3si9n for integration testing with sbt 0.13. All good to go! Promoting staging repo and pushing tags.

@adriaanm
Copy link
Contributor Author

adriaanm commented Nov 6, 2017

st_stagingRepoPromote orgscala-lang-1451

(cd ~/git/scala && g fetch scala && git tag -s -m "Scala 2.10.7" v2.10.7 89e57bc7ad4a1809864b637617456736fd7b8101) 
(cd ~/git/scala-dist && g fetch scala && git tag -s -m "Scala 2.10.7" v2.10.7 cf52065d4bb52ac725fbe0d0ce4b5067625e8a1b)

(cd ~/git/scala && g show v2.10.7) 
(cd ~/git/scala-dist && g show v2.10.7) 

(cd ~/git/scala && g push https://github.com/scala/scala.git v2.10.7) 
(cd ~/git/scala-dist && g push https://github.com/scala/scala-dist.git v2.10.7)

@adriaanm adriaanm closed this as completed Nov 6, 2017
@sjrd
Copy link
Member

sjrd commented Nov 6, 2017

Scala.js compiler plugins for 0.6.19, 0.6.20, 0.6.21 and 1.0.0-M1 on their way to Maven Central.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants