Skip to content

Commit cfdecb6

Browse files
nicolasstuckisjrd
authored andcommitted
Fix scala-js#1937: Change 2.12.0-M2 to 2.12.0-M3.
* Changed all refrences of 2.12.0-M2 to 2.12.0-M3. * Updated partest whitelist and blacklist. * Fix scala-js#1893: Remove ScalaRunTime override in 2.12. (cherry picked from commit 75ee1ba) Conflicts: ci/checksizes.sh project/Build.scala scripts/build-all-js.sh scripts/publish.sh
1 parent 800081e commit cfdecb6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+52
-383
lines changed

ci/checksizes.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ case $FULLVER in
1111
2.11.7)
1212
VER=2.11
1313
;;
14-
2.12.0-M2)
15-
VER=2.12.0-M2
14+
2.12.0-M3)
15+
VER=2.12.0-M3
1616
;;
1717
2.10.3|2.10.4|2.10.5|2.11.0|2.11.1|2.11.2|2.11.4|2.11.5|2.11.6)
1818
echo "Ignoring checksizes for Scala $FULLVER"
@@ -45,7 +45,7 @@ case $FULLVER in
4545
REVERSI_PREOPT_GZ_EXPECTEDSIZE=87000
4646
REVERSI_OPT_GZ_EXPECTEDSIZE=40000
4747
;;
48-
2.12.0-M2)
48+
2.12.0-M3)
4949
REVERSI_PREOPT_EXPECTEDSIZE=618000
5050
REVERSI_OPT_EXPECTEDSIZE=146000
5151
REVERSI_PREOPT_GZ_EXPECTEDSIZE=86000

ci/matrix.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
<v n="java">1.8</v>
311311
</run>
312312
<run task="main">
313-
<v n="scala">2.12.0-M2</v>
313+
<v n="scala">2.12.0-M3</v>
314314
<v n="java">1.8</v>
315315
</run>
316316

@@ -337,7 +337,7 @@
337337
<v n="java">1.8</v>
338338
</run>
339339
<run task="bootstrap">
340-
<v n="scala">2.12.0-M2</v>
340+
<v n="scala">2.12.0-M3</v>
341341
<v n="java">1.8</v>
342342
</run>
343343

@@ -522,15 +522,15 @@
522522
<v n="java">1.7</v>
523523
</run>
524524
<run task="partest-noopt">
525-
<v n="scala">2.12.0-M2</v>
525+
<v n="scala">2.12.0-M3</v>
526526
<v n="java">1.8</v>
527527
</run>
528528
<run task="partest-fastopt">
529-
<v n="scala">2.12.0-M2</v>
529+
<v n="scala">2.12.0-M3</v>
530530
<v n="java">1.8</v>
531531
</run>
532532
<run task="partest-fullopt">
533-
<v n="scala">2.12.0-M2</v>
533+
<v n="scala">2.12.0-M3</v>
534534
<v n="java">1.8</v>
535535
</run>
536536
</matrix>

partest-suite/src/test/resources/scala/tools/partest/scalajs/2.12.0-M2/BlacklistedTests.txt renamed to partest-suite/src/test/resources/scala/tools/partest/scalajs/2.12.0-M3/BlacklistedTests.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ run/t6988.scala
160160
# Object{Output|Input}Streams
161161
run/t6935.scala
162162
run/t8188.scala
163+
run/t9375.scala
164+
run/t9365.scala
165+
run/inlineAddDeserializeLambda.scala
163166

164167
# Using System.getProperties
165168

@@ -491,14 +494,17 @@ run/t8549b.scala
491494
run/t8574.scala
492495
run/t8549.scala
493496
run/t8637.scala
494-
run/t8346.scala
495497
run/t8253.scala
496498
run/t9027.scala
497499
run/t6622.scala
500+
run/toolbox_expand_macro.scala
498501
run/toolbox-varargs
499502
run/t9252.scala
500503
run/t9182.scala
501504
run/t9102.scala
505+
run/t720.scala
506+
run/t9408.scala
507+
run/trait-default-specialize.scala
502508

503509
run/reify_newimpl_29.scala
504510
run/reify_magicsymbols.scala
@@ -661,6 +667,7 @@ run/exceptions-2.scala
661667
run/exceptions-nest.scala
662668
run/t8601c.scala
663669
run/t8601b.scala
670+
run/inlineHandlers.scala
664671

665672
# Expecting unsupported exceptions (e.g. ArrayIndexOutOfBounds)
666673
run/optimizer-array-load.scala
@@ -892,10 +899,14 @@ run/t8907.scala
892899
run/t9097.scala
893900
run/macroPlugins-enterStats.scala
894901
run/sbt-icode-interface.scala
902+
run/t8502b.scala
895903

896904
# partest.CompilerTest
897905
run/t8852a.scala
898906

907+
# partest.ASMConverters
908+
run/t9403
909+
899910
# partest.BytecodeTest
900911
run/t6546
901912
run/t7106
@@ -909,6 +920,7 @@ run/t8843-repl-xlat.scala
909920
run/t9206.scala
910921
run/t9170.scala
911922
run/t8918-unary-ids.scala
923+
run/t1931.scala
912924

913925
# partest.JavapTest
914926
run/t8608-no-format.scala

partest-suite/src/test/resources/scala/tools/partest/scalajs/2.12.0-M2/WhitelistedTests.txt renamed to partest-suite/src/test/resources/scala/tools/partest/scalajs/2.12.0-M3/WhitelistedTests.txt

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,6 @@ neg/t910.scala
10051005
neg/parstar.scala
10061006
neg/t4568.scala
10071007
neg/newpat_unreachable.scala
1008-
neg/warn-unused-imports.scala
10091008
neg/t1181.scala
10101009
neg/t5903c
10111010
neg/t7294.scala
@@ -2012,7 +2011,6 @@ neg/t3987.scala
20122011
neg/t877.scala
20132012
neg/t0117.scala
20142013
neg/t692.scala
2015-
neg/t6666d.scala
20162014
neg/t5702-neg-ugly-xbrace.scala
20172015
neg/t7752.scala
20182016
neg/case-collision2.scala
@@ -2847,7 +2845,6 @@ pos/macro-bundle-disambiguate-nonbundle.scala
28472845
pos/package-ob-case
28482846
pos/t1786-counter.scala
28492847
pos/reflection-compat-api-universe.scala
2850-
pos/list-optim-check.scala
28512848
pos/existential-java-case-class
28522849
pos/t1786-cycle.scala
28532850
pos/reflection-compat-c.scala
@@ -3081,6 +3078,30 @@ neg/t6895b.scala
30813078
neg/t8892.scala
30823079
neg/t8849.scala
30833080
neg/inlineIndyLambdaPrivate
3081+
run/t9029.scala
3082+
run/t7850c.scala
3083+
run/t7850d.scala
3084+
run/t8334.scala
3085+
run/t9029c.scala
3086+
run/t9029b.scala
3087+
run/t9422.scala
3088+
run/t9425.scala
3089+
pos/t9475.scala
3090+
pos/t9498.scala
3091+
pos/t9479.scala
3092+
pos/t9479b.scala
3093+
pos/t9442.scala
3094+
pos/t9369.scala
3095+
pos/t6666d.scala
3096+
pos/t9370
3097+
neg/t6810.scala
3098+
neg/t8127a.scala
3099+
neg/t8989.scala
3100+
neg/t9401.scala
3101+
neg/implicit-ambiguous.scala
3102+
neg/implicit-ambiguous-2.scala
3103+
neg/implicit-ambiguous-invalid.scala
3104+
neg/warn-unused-imports
30843105

30853106
# Adapt checkfiles for (1.0).toString == "1"
30863107
run/Course-2002-01.scala

project/Build.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ object Build extends sbt.Build {
5252
CrossVersion.binaryMapped(v => s"sjs${previousSJSBinaryVersion}_$v")
5353

5454
val scalaVersionsUsedForPublishing: Set[String] =
55-
Set("2.10.5", "2.11.7", "2.12.0-M2")
55+
Set("2.10.5", "2.11.7", "2.12.0-M3")
5656
val newScalaBinaryVersionsInThisRelease: Set[String] =
5757
Set()
5858

@@ -66,8 +66,8 @@ object Build extends sbt.Build {
6666
} else if (newScalaBinaryVersionsInThisRelease.contains(scalaBinaryV)) {
6767
// New in this release, no binary compatibility to comply to
6868
None
69-
} else if (scalaBinaryV == "2.12.0-M2") {
70-
// See #1865: MiMa is much too noisy with 2.12.0-M2 to be useful
69+
} else if (scalaBinaryV == "2.12.0-M3") {
70+
// See #1865: MiMa is much too noisy with 2.12.0-M3 to be useful
7171
None
7272
} else {
7373
val thisProjectID = projectID.value
@@ -222,7 +222,7 @@ object Build extends sbt.Build {
222222
"2.11.5",
223223
"2.11.6",
224224
"2.11.7",
225-
"2.12.0-M2"
225+
"2.12.0-M3"
226226
),
227227
// Default stage
228228
scalaJSStage in Global := PreLinkStage

0 commit comments

Comments
 (0)