cf35e7989e
http://www.scala-lang.org/news/2.11.6 Scala 2.11.6 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. We would like to highlight the following changes: * We fixed a cross-site scripting vulnerability in Scaladoc's JavaScript. Many thanks to @todesking for discovering this, suggesting a fix, and for delaying disclosure until this release! This bug could be used to access sensitive information on sites hosted on the same domain as Scaladoc-generated documentation. All previous versions of Scaladoc are affected (Scala 2.10.5 includes the fix as well). We do recommend, as a general precaution, to host Scaladoc documentation on its own domain. * SI-9089 repl is now much less crash-and-burny when calling a function (which turns out to be a common thing people do in a REPL). Also, apologies to the author of SI-9022, who reported this before the bug was discovered and you had to wait in line for like three hours on a Tuesday afternoon. Or, maybe, that honor should go to the enigmatic dk14. * SI-8759 no need to enter almost half the konami code to enter a right square bracket in the REPL (via jline 2.12.1). Thank you for implementing the jline fix, @michael72, and kudos to @jdillon and @trptcolin for cutting a new jline release just for us! http://www.scala-lang.org/news/2.11.5 Scala 2.11.5 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. We would like to highlight the following changes: * heathermiller's SI-6502 Reenables loading jars into the running REPL * mpociecha's The alternative, flat representation of classpath elements * gbasler's Avoid the ¡CNF budget exceeded¢ exception via smarter translation into CNF * adriaanm's SAMmy: eta-expansion, overloading, existentials * A great number of documentation improvements - thank you (and, to those appearing for the first time in our release notes, welcome!): @kanielc, @lymia, @stevegury, @vigdorchik, @gourlaysama, @ichoran, @retronym, @xuwei-k, @dickwall, @phaller. http://www.scala-lang.org/news/2.11.4 Scala 2.11.4 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. The changes include: * Scala shell (REPL) is more friendly to Ctrl+D. It leaves your terminal in a clean state and suggests using :quit the next time (see #3902). Kudos to @gourlaysama! * REPL uses different colors when printing references to vals and types. Pass -Dscala.color to enable that behavior (see #3993). Thanks to @puffnfresh! * The Scala specification received a fair amount of love and became much more beautiful. It has got syntax highlighting (#3984), linkable headers, and a side bar with TOC (#3996). A few final touches has been merged that fix typos and mistakes stemming from automatic Latex to Markdown conversion we've done a while ago. Thanks for attention to details @gourlaysama, @som-snytt and roberthoedicke! * Non-deterministic pattern matching warnings has been fixed (SI-7746). Many thanks to @gbasler for diving deep (#3954) into logical formulas constructed by our pattern matcher implementation! https://groups.google.com/forum/#!msg/scala-internals/SSD9BNJaFbU/rACBkHrs2JEJ > I've got an important information to share. I'd like to announce the > Scala 2.11.3 artifacts as being dead on arrival. The 2.11.3 > artifacts that got released to Maven Central have a critical bug > related to binary compatibility. Please stick to using Scala 2.11.2 > until 2.11.4 is released which is planned to happen as soon as we > fix all critical bugs found in Scala 2.11.3. The rest of my email > will discuss the events that led to a broken Scala release, next > steps we're planning to take. http://www.scala-lang.org/news/2.11.2 Scala 2.11.2 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series. The changes include: * Several issues in the collections library were resolved, most notably equality on ranges (SI-8738). * The optimizer no longer eliminates division instructions that may throw an ArithmeticException (SI-7607). * The -Xlint compiler flag is now parameterized by individual warnings. This is intended to replace the -Ywarn-... options, for instance, -Xlint:nullary-unit is equivalent to -Ywarn-nullary-unit. Run scalac -Xlint:help to see all available options. Kudos to @som-snytt!x * TypeTags and Exprs are now serializable (SI-5919).
24 lines
714 B
Text
24 lines
714 B
Text
$NetBSD: patch-bin_scalac,v 1.3 2015/04/07 14:21:44 yyamano Exp $
|
|
|
|
Hardwire paths to installed files and Java binary.
|
|
|
|
--- bin/scalac.orig 2015-02-26 01:09:38.000000000 +0000
|
|
+++ bin/scalac
|
|
@@ -68,7 +68,7 @@ if uname | grep -q ^MINGW; then
|
|
fi
|
|
|
|
# Finding the root folder for this Scala distribution
|
|
-SCALA_HOME="$(findScalaHome)"
|
|
+SCALA_HOME="@SCALA_HOME@"
|
|
SEP=":"
|
|
|
|
# Possible additional command line options
|
|
@@ -201,7 +201,7 @@ fi
|
|
# be quoted: otherwise an empty string will appear as a command line
|
|
# argument, and java will think that is the program to run.
|
|
execCommand \
|
|
- "${JAVACMD:=java}" \
|
|
+ "${JAVACMD:=@JAVA_HOME@/bin/java}" \
|
|
$JAVA_OPTS \
|
|
"${java_args[@]}" \
|
|
"${classpath_args[@]}" \
|