Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
39b2d015
Commit
39b2d015
authored
Jun 19, 2020
by
Scott Frederick
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.3.x'
Closes gh-22037
parents
51e9a5da
d5e667f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
NamedPipeSocket.java
...ework/boot/buildpack/platform/socket/NamedPipeSocket.java
+2
-2
No files found.
spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/NamedPipeSocket.java
View file @
39b2d015
...
...
@@ -26,7 +26,7 @@ import java.nio.channels.AsynchronousCloseException;
import
java.nio.channels.AsynchronousFileChannel
;
import
java.nio.channels.Channels
;
import
java.nio.channels.CompletionHandler
;
import
java.nio.file.
NoSuchFile
Exception
;
import
java.nio.file.
FileSystem
Exception
;
import
java.nio.file.Paths
;
import
java.nio.file.StandardOpenOption
;
import
java.util.concurrent.CompletableFuture
;
...
...
@@ -64,7 +64,7 @@ public class NamedPipeSocket extends Socket {
return
new
AsynchronousFileByteChannel
(
AsynchronousFileChannel
.
open
(
Paths
.
get
(
path
),
StandardOpenOption
.
READ
,
StandardOpenOption
.
WRITE
));
}
catch
(
NoSuchFile
Exception
ex
)
{
catch
(
FileSystem
Exception
ex
)
{
if
(
System
.
nanoTime
()
-
startTime
>=
TIMEOUT
)
{
throw
ex
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment