Skip to content

Commit 199c11f

Browse files
authored
Merge pull request #299 from ashawley/fix-java-api-mapping
Fix Java 11 API mappings
2 parents 6675745 + 514a723 commit 199c11f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
9090
-> url("http://docs.oracle.com/javase/8/docs/api")
9191
)
9292
} getOrElse {
93-
// If everything fails, jam in the Java 9 base module.
93+
// If everything fails, jam in Java 11 modules.
9494
Map(
9595
file("/modules/java.base")
96-
-> url("http://docs.oracle.com/javase/9/docs/api"),
96+
-> url("https://docs.oracle.com/en/java/javase/11/docs/api/java.base"),
9797
file("/modules/java.xml")
98-
-> url("http://docs.oracle.com/javase/9/docs/api")
98+
-> url("https://docs.oracle.com/en/java/javase/11/docs/api/java.xml")
9999
)
100100
}
101101
}

shared/src/main/scala/scala/xml/package.scala

-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ package scala
5656
* [[http://xerces.apache.org/ Xerces]] parser and is provided in Java
5757
* by [[javax.xml.parsers.SAXParser]].
5858
*
59-
* A less greedy XML reader can return data as a sequential collection
60-
* of events, see [[scala.xml.pull.XMLEventReader]].
61-
*
6259
* For more control of the input, use the parser written in Scala that
6360
* is provided, [[scala.xml.parsing.ConstructingParser]].
6461
*

0 commit comments

Comments
 (0)