Merged branch 'jetty-9.4.x' into 'master'.
This commit is contained in:
commit
f7302a13b4
|
@ -1,6 +1,3 @@
|
||||||
[name]
|
|
||||||
protonego-boot
|
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[files]
|
||||||
|
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
||||||
|
|
||||||
|
[exec]
|
||||||
|
-Xbootclasspath/p:lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
|
@ -246,6 +246,7 @@ The ALPN implementation, relying on modifications of OpenJDK classes, updates ev
|
||||||
|1.8.0u121 |8.1.11.v20170118
|
|1.8.0u121 |8.1.11.v20170118
|
||||||
|1.8.0u131 |8.1.11.v20170118
|
|1.8.0u131 |8.1.11.v20170118
|
||||||
|1.8.0u141 |8.1.11.v20170118
|
|1.8.0u141 |8.1.11.v20170118
|
||||||
|
|1.8.0u144 |8.1.11.v20170118
|
||||||
|=============================
|
|=============================
|
||||||
|
|
||||||
[[alpn-build]]
|
[[alpn-build]]
|
||||||
|
|
|
@ -100,7 +100,7 @@ public class DefaultFileLocatorHelper implements BundleFileLocatorHelper
|
||||||
// some osgi frameworks do use the file protocol directly in some
|
// some osgi frameworks do use the file protocol directly in some
|
||||||
// situations. Do use the PathResource to transform the URL into a
|
// situations. Do use the PathResource to transform the URL into a
|
||||||
// File: URL#toURI is broken
|
// File: URL#toURI is broken
|
||||||
return new PathResource(url).getFile().getParentFile().getParentFile();
|
return new PathResource(url).getFile().getParentFile().getParentFile().getCanonicalFile();
|
||||||
}
|
}
|
||||||
else if (url.getProtocol().equals("bundleentry"))
|
else if (url.getProtocol().equals("bundleentry"))
|
||||||
{
|
{
|
||||||
|
@ -131,7 +131,7 @@ public class DefaultFileLocatorHelper implements BundleFileLocatorHelper
|
||||||
FILE_FIELD.setAccessible(true);
|
FILE_FIELD.setAccessible(true);
|
||||||
}
|
}
|
||||||
File f = (File) FILE_FIELD.get(bundleEntry);
|
File f = (File) FILE_FIELD.get(bundleEntry);
|
||||||
return f.getParentFile().getParentFile();
|
return f.getParentFile().getParentFile().getCanonicalFile();
|
||||||
}
|
}
|
||||||
else if (match(bundleEntry.getClass().getName(), ZIP_BUNDLE_ENTRY_CLASSES))
|
else if (match(bundleEntry.getClass().getName(), ZIP_BUNDLE_ENTRY_CLASSES))
|
||||||
{
|
{
|
||||||
|
@ -173,7 +173,7 @@ public class DefaultFileLocatorHelper implements BundleFileLocatorHelper
|
||||||
if (location.startsWith("file:/"))
|
if (location.startsWith("file:/"))
|
||||||
{
|
{
|
||||||
URI uri = new URI(URIUtil.encodePath(location));
|
URI uri = new URI(URIUtil.encodePath(location));
|
||||||
return new File(uri);
|
return new File(uri).getCanonicalFile();
|
||||||
}
|
}
|
||||||
else if (location.startsWith("file:"))
|
else if (location.startsWith("file:"))
|
||||||
{
|
{
|
||||||
|
@ -199,7 +199,7 @@ public class DefaultFileLocatorHelper implements BundleFileLocatorHelper
|
||||||
else if (location.startsWith("reference:file:"))
|
else if (location.startsWith("reference:file:"))
|
||||||
{
|
{
|
||||||
location = URLDecoder.decode(location.substring("reference:".length()), "UTF-8");
|
location = URLDecoder.decode(location.substring("reference:".length()), "UTF-8");
|
||||||
File file = new File(location.substring("file:".length()));
|
File file = new File(location.substring("file:".length())).getCanonicalFile();
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -794,14 +794,15 @@ public class HttpInput extends ServletInputStream implements Runnable
|
||||||
{
|
{
|
||||||
if (_state instanceof ErrorState)
|
if (_state instanceof ErrorState)
|
||||||
{
|
{
|
||||||
Throwable failure = new Throwable(_state.getError());
|
IOException failure = new IOException(x);
|
||||||
failure.addSuppressed(new Throwable(x));
|
|
||||||
LOG.warn(failure);
|
LOG.warn(failure);
|
||||||
|
_state.getError().addSuppressed(failure);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Retain the current stack trace by wrapping the failure.
|
// Add a suppressed throwable to capture this stack trace
|
||||||
_state = new ErrorState(new Throwable(x));
|
x.addSuppressed(new IOException("HttpInput failed"));
|
||||||
|
_state = new ErrorState(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_listener == null)
|
if (_listener == null)
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
[name]
|
|
||||||
protonego-boot
|
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
[name]
|
|
||||||
protonego-boot
|
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[files]
|
||||||
|
http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar|lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
||||||
|
|
||||||
|
[exec]
|
||||||
|
-Xbootclasspath/p:lib/alpn/alpn-boot-8.1.11.v20170118.jar
|
12
pom.xml
12
pom.xml
|
@ -1479,6 +1479,18 @@
|
||||||
<alpn.version>8.1.11.v20170118</alpn.version>
|
<alpn.version>8.1.11.v20170118</alpn.version>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>8u144</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>java.version</name>
|
||||||
|
<value>1.8.0_144</value>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<alpn.version>8.1.11.v20170118</alpn.version>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
|
|
Loading…
Reference in New Issue