Skip to content

Commit 5c1776a

Browse files
committed
Merge branch '5.1.x'
2 parents 7abe9c6 + b8f2996 commit 5c1776a

File tree

6 files changed

+24
-15
lines changed

6 files changed

+24
-15
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ ext {
4343
rxjavaVersion = "1.3.8"
4444
rxjavaAdapterVersion = "1.2.1"
4545
rxjava2Version = "2.2.7"
46-
slf4jVersion = "1.7.25" // spring-jcl + consistent 3rd party deps
46+
slf4jVersion = "1.7.26" // spring-jcl + consistent 3rd party deps
4747
tiles3Version = "3.0.8"
4848
tomcatVersion = "9.0.16"
49-
undertowVersion = "2.0.18.Final"
49+
undertowVersion = "2.0.19.Final"
5050

5151
gradleScriptDir = "${rootProject.projectDir}/gradle"
5252
withoutJclOverSlf4J = {
@@ -156,7 +156,7 @@ configure(allprojects) { project ->
156156
testCompile("junit:junit:4.12") {
157157
exclude group: "org.hamcrest", module: "hamcrest-core"
158158
}
159-
testCompile("org.mockito:mockito-core:2.24.0") {
159+
testCompile("org.mockito:mockito-core:2.25.0") {
160160
exclude group: "org.hamcrest", module: "hamcrest-core"
161161
}
162162
testCompile("io.mockk:mockk:1.9.1")

spring-beans/src/main/java/org/springframework/beans/factory/xml/ResourceEntityResolver.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,18 @@ else if (systemId.endsWith(DTD_SUFFIX) || systemId.endsWith(XSD_SUFFIX)) {
114114
if (url.startsWith("http:")) {
115115
url = "https:" + url.substring(5);
116116
}
117-
source = new InputSource(url);
118-
source.setPublicId(publicId);
119-
return source;
117+
try {
118+
source = new InputSource(new URL(url).openStream());
119+
source.setPublicId(publicId);
120+
source.setSystemId(systemId);
121+
}
122+
catch (IOException ex) {
123+
if (logger.isDebugEnabled()) {
124+
logger.debug("Could not resolve XML entity [" + systemId + "] through URL [" + url + "]", ex);
125+
}
126+
// Fall back to the parser's default behavior.
127+
source = null;
128+
}
120129
}
121130
}
122131

spring-jdbc/spring-jdbc.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies {
77
optional(project(":spring-context")) // for JndiDataSourceLookup
88
optional("javax.transaction:javax.transaction-api:1.3")
99
optional("org.hsqldb:hsqldb:${hsqldbVersion}")
10-
optional("com.h2database:h2:1.4.197")
10+
optional("com.h2database:h2:1.4.198")
1111
optional("org.apache.derby:derby:10.14.2.0")
1212
optional("org.apache.derby:derbyclient:10.14.2.0")
1313
optional("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")

spring-web/spring-web.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
exclude group: "javax.servlet", module: "javax.servlet-api"
3939
}
4040
optional("org.eclipse.jetty:jetty-reactive-httpclient:1.0.2")
41-
optional("com.squareup.okhttp3:okhttp:3.12.1")
41+
optional("com.squareup.okhttp3:okhttp:3.13.1")
4242
optional("org.apache.httpcomponents:httpclient:4.5.7") {
4343
exclude group: "commons-logging", module: "commons-logging"
4444
}
@@ -74,7 +74,7 @@ dependencies {
7474
testCompile("org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}")
7575
testCompile("org.eclipse.jetty:jetty-server")
7676
testCompile("org.eclipse.jetty:jetty-servlet")
77-
testCompile("com.squareup.okhttp3:mockwebserver:3.12.1")
77+
testCompile("com.squareup.okhttp3:mockwebserver:3.13.1")
7878
testCompile("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
7979
testCompile("org.skyscreamer:jsonassert:1.5.0")
8080
testCompile("org.xmlunit:xmlunit-matchers:2.6.2")

spring-webflux/spring-webflux.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies {
1717
optional(project(":spring-context-support")) // for FreeMarker support
1818
optional("javax.servlet:javax.servlet-api:4.0.1")
1919
optional("javax.websocket:javax.websocket-api:1.1")
20-
optional("org.webjars:webjars-locator-core:0.36")
20+
optional("org.webjars:webjars-locator-core:0.37")
2121
optional("org.freemarker:freemarker:${freemarkerVersion}")
2222
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
2323
optional("com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${jackson2Version}")
@@ -53,11 +53,11 @@ dependencies {
5353
testCompile("org.eclipse.jetty:jetty-server")
5454
testCompile("org.eclipse.jetty:jetty-servlet")
5555
testCompile("org.eclipse.jetty:jetty-reactive-httpclient:1.0.2")
56-
testCompile("com.squareup.okhttp3:mockwebserver:3.12.1")
56+
testCompile("com.squareup.okhttp3:mockwebserver:3.13.1")
5757
testCompile("org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}")
5858
testRuntime("org.jetbrains.kotlin:kotlin-script-util:${kotlinVersion}")
5959
testRuntime("org.jetbrains.kotlin:kotlin-compiler:${kotlinVersion}")
60-
testRuntime("org.jruby:jruby:9.2.5.0")
60+
testRuntime("org.jruby:jruby:9.2.6.0")
6161
testRuntime("org.python:jython-standalone:2.7.1")
6262
testRuntime("org.synchronoss.cloud:nio-multipart-parser:1.1.0")
6363
testRuntime("org.webjars:underscorejs:1.8.3")

spring-webmvc/spring-webmvc.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ dependencies {
2121
optional("javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.1")
2222
optional("javax.el:javax.el-api:3.0.1-b04")
2323
optional("javax.xml.bind:jaxb-api:2.3.1")
24-
optional("org.webjars:webjars-locator-core:0.36")
24+
optional("org.webjars:webjars-locator-core:0.37")
2525
optional("com.rometools:rome:1.12.0")
26-
optional("com.github.librepdf:openpdf:1.2.7")
26+
optional("com.github.librepdf:openpdf:1.2.10")
2727
optional("org.apache.poi:poi-ooxml:4.0.1")
2828
optional("org.freemarker:freemarker:${freemarkerVersion}")
2929
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
@@ -74,7 +74,7 @@ dependencies {
7474
testCompile("org.jetbrains.kotlin:kotlin-script-runtime:${kotlinVersion}")
7575
testRuntime("org.jetbrains.kotlin:kotlin-script-util:${kotlinVersion}")
7676
testRuntime("org.jetbrains.kotlin:kotlin-compiler:${kotlinVersion}")
77-
testRuntime("org.jruby:jruby:9.2.5.0")
77+
testRuntime("org.jruby:jruby:9.2.6.0")
7878
testRuntime("org.python:jython-standalone:2.7.1")
7979
testRuntime("org.webjars:underscorejs:1.8.3")
8080
testRuntime("org.glassfish:javax.el:3.0.1-b08")

0 commit comments

Comments
 (0)