This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testSymbolicLink(TestInfo testInfo) throws Exception | |
{ | |
File dir = MavenTestingUtils.getTargetTestingDir(testInfo.getDisplayName()); | |
FS.ensureEmpty(dir); | |
File realFile = new File(dir, "real"); | |
Path realPath = realFile.toPath(); | |
FS.touch(realFile); | |
File linkFile = new File(dir, "link"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR] Tests run: 85, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.512 s <<< FAILURE! - in org.eclipse.jetty.websocket.javax.tests.server.PrimitivesTextEchoTest | |
[ERROR] org.eclipse.jetty.websocket.javax.tests.server.PrimitivesTextEchoTest.testPrimitiveEcho(String, Class, String, String)[55] Time elapsed: 0.028 s <<< ERROR! | |
java.io.IOException: java.nio.channels.ClosedChannelException | |
at org.eclipse.jetty.util.FutureCallback.block(FutureCallback.java:168) | |
at org.eclipse.jetty.util.FutureCallback.block(FutureCallback.java:144) | |
at org.eclipse.jetty.websocket.javax.tests.NetworkFuzzer$FrameCapture.writeRaw(NetworkFuzzer.java:273) | |
at org.eclipse.jetty.websocket.javax.tests.NetworkFuzzer.sendBulk(NetworkFuzzer.java:151) | |
at org.eclipse.jetty.websocket.javax.tests.server.PrimitivesTextEchoTest.testPrimitiveEcho(PrimitivesTextEchoTest.java:392) | |
at jdk.internal.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | |
at java.base/jdk.internal.reflect.Dele |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 25, 2020 9:45:15 PM org.glassfish.jersey.internal.Errors logErrors | |
WARNING: The following warnings have been detected: WARNING: HK2 service reification failed for [org.glassfish.jersey.message.internal.DataSourceProvider] with an exception: | |
MultiException stack 1 of 2 | |
java.lang.NoClassDefFoundError: javax/activation/DataSource | |
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) | |
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137) | |
at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2357) | |
at org.jvnet.hk2.internal.Utilities$3.run(Utilities.java:1311) | |
at org.jvnet.hk2.internal.Utilities$3.run(Utilities.java:1307) | |
at java.base/java.security.AccessController.doPrivileged(Native Method) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Running org.eclipse.jetty.client.ssl.NeedWantClientAuthTest | |
2020-01-15 21:56:01.472:INFO:oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-01-15T20:40:56.447Z; git: d4f72256e7f7e62b163894360960eb1314071009; jvm 13.0.2+8 | |
2020-01-15 21:56:01.484:INFO:oejus.SslContextFactory:main: x509=X509@4d56b7f1(mykey,h=[],w=[]) for Server@6dd65b79[provider=null,keyStore=file:///home/gregw/src/jetty-10.0.x/jetty-client/src/test/resources/keystore.jks,trustStore=null] | |
2020-01-15 21:56:01.485:INFO:oejs.AbstractConnector:main: Started ServerConnector@759c0c14{SSL,[ssl, http/1.1]}{0.0.0.0:45137} | |
2020-01-15 21:56:01.485:INFO:oejs.Server:main: Started Server@3e4dabcb{STARTING}[10.0.0-SNAPSHOT] @131855ms | |
2020-01-15 21:56:01.503:WARN:oejusS.config:main: Trusting all certificates configured for Client@815e8e3[provider=null,keyStore=null,trustStore=null] | |
2020-01-15 21:56:01.503:WARN:oejusS.config:main: No Client EndPointIdentificationAlgorithm configured for Client@815e8e3[provider=null,keyStore=null,trustStore=null] | |
2020-01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set a fancy prompt | |
__gitps1 () { | |
local b="$(__git_ps1)" | |
if [ -n "$b" ] | |
then | |
local c=$(git log @{u}.. --oneline 2>/dev/null | wc -l) | |
if [ "$c" -gt 0 ] | |
then | |
printf "%s^%d" "${b##refs/heads/}" "$c" | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static boolean combine(IncludeExcludeSet<Entry, String> names, String name, IncludeExcludeSet<Entry, URI> locations, Supplier<URI> location) | |
{ | |
// check the name set | |
Boolean byName = names.isIncludedAndNotExcluded(name); | |
// If we excluded by name, then no match | |
if (Boolean.FALSE == byName) | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ======================================================================== | |
// Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd. | |
// ------------------------------------------------------------------------ | |
// All rights reserved. This program and the accompanying materials | |
// are made available under the terms of the Eclipse Public License v1.0 | |
// and Apache License v2.0 which accompanies this distribution. | |
// | |
// The Eclipse Public License is available at | |
// http://www.eclipse.org/legal/epl-v10.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PID=$1 | |
CPUFILE=/tmp/cpu-$PID-0 | |
LASTFILE=/tmp/cpu-$PID-1 | |
>$LASTFILE | |
function cleanup { rm $CPUFILE $LASTFILE ; } | |
trap cleanup EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java b/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java | |
index b86a1b7958..4c22f8536c 100644 | |
--- a/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java | |
+++ b/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java | |
@@ -22,6 +22,7 @@ import java.net.URI; | |
import java.net.URISyntaxException; | |
import java.nio.charset.Charset; | |
import java.nio.charset.StandardCharsets; | |
+import java.text.Normalizer; | |
NewerOlder