Skip to content

Commit c8110b5

Browse files
committed
Merge pull request scala#4614 from adriaanm/scala-xml-211
Bootstrap scala-xml using `-Xsource:2.11`
2 parents 8a5aa6e + 83554a3 commit c8110b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/jobs/integrate/bootstrap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ buildXML() {
217217
then echo "Found scala-xml $XML_VER; not building."
218218
else
219219
update scala scala-xml "$XML_REF" && gfxd
220-
sbtBuild 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}"
220+
# TODO: compile under 2.12 source level once `scala.xml.XMLTest.escape` is fixed (see #4451)
221+
sbtBuild 'set scalacOptions += "-Xsource:2.11"' 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}"
221222
XML_BUILT="yes" # ensure the module is built and published when buildXML is invoked for the second time, see comment above
222223
fi
223224
}

0 commit comments

Comments
 (0)