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
363d35a0
Commit
363d35a0
authored
Sep 22, 2020
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.2.x' into 2.3.x
Closes gh-23444
parents
e12a449e
b443d22c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
detect-jdk-updates.sh
ci/scripts/detect-jdk-updates.sh
+6
-6
HandlerFunctionDescription.java
...ate/web/mappings/reactive/HandlerFunctionDescription.java
+7
-1
No files found.
ci/scripts/detect-jdk-updates.sh
View file @
363d35a0
...
@@ -9,23 +9,23 @@ trap 'report_error $? $LINENO' ERR
...
@@ -9,23 +9,23 @@ trap 'report_error $? $LINENO' ERR
case
"
$JDK_VERSION
"
in
case
"
$JDK_VERSION
"
in
java8
)
java8
)
BASE_URL
=
"https://api.adoptopenjdk.net/v3/assets/feature_releases/8"
BASE_URL
=
"https://api.adoptopenjdk.net/v3/assets/feature_releases/8
/ga
"
ISSUE_TITLE
=
"Upgrade Java 8 version in CI image"
ISSUE_TITLE
=
"Upgrade Java 8 version in CI image"
;;
;;
java11
)
java11
)
BASE_URL
=
"https://api.adoptopenjdk.net/v3/assets/feature_releases/11"
BASE_URL
=
"https://api.adoptopenjdk.net/v3/assets/feature_releases/11
/ga
"
ISSUE_TITLE
=
"Upgrade Java 11 version in CI image"
ISSUE_TITLE
=
"Upgrade Java 11 version in CI image"
;;
;;
java1
4
)
java1
5
)
BASE_URL
=
"https://api.adoptopenjdk.net/v3/assets/feature_releases/1
4
"
BASE_URL
=
"https://api.adoptopenjdk.net/v3/assets/feature_releases/1
5/ga
"
ISSUE_TITLE
=
"Upgrade Java 1
4
version in CI image"
ISSUE_TITLE
=
"Upgrade Java 1
5
version in CI image"
;;
;;
*
)
*
)
echo
$"Unknown java version"
echo
$"Unknown java version"
exit
1
;
exit
1
;
esac
esac
response
=
$(
curl
-s
${
BASE_URL
}
\
/
ga
\
?
architecture
\=
x64
\&
heap_size
\=
normal
\&
image_type
\=
jdk
\&
jvm_impl
\=
hotspot
\&
os
\=
linux
\&
sort_order
\=
DESC
\&
vendor
\=
adoptopenjdk
)
response
=
$(
curl
-s
${
BASE_URL
}
\?
architecture
\=
x64
\&
heap_size
\=
normal
\&
image_type
\=
jdk
\&
jvm_impl
\=
hotspot
\&
os
\=
linux
\&
sort_order
\=
DESC
\&
vendor
\=
adoptopenjdk
)
latest
=
$(
jq
-r
'.[0].binaries[0].package.link'
<<<
"
$response
"
)
latest
=
$(
jq
-r
'.[0].binaries[0].package.link'
<<<
"
$response
"
)
if
[[
${
latest
}
=
"null"
||
${
latest
}
=
""
]]
;
then
if
[[
${
latest
}
=
"null"
||
${
latest
}
=
""
]]
;
then
echo
"Could not parse JDK response:
$response
"
echo
"Could not parse JDK response:
$response
"
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/web/mappings/reactive/HandlerFunctionDescription.java
View file @
363d35a0
...
@@ -29,7 +29,13 @@ public class HandlerFunctionDescription {
...
@@ -29,7 +29,13 @@ public class HandlerFunctionDescription {
private
final
String
className
;
private
final
String
className
;
HandlerFunctionDescription
(
HandlerFunction
<?>
handlerFunction
)
{
HandlerFunctionDescription
(
HandlerFunction
<?>
handlerFunction
)
{
this
.
className
=
handlerFunction
.
getClass
().
getCanonicalName
();
this
.
className
=
getHandlerFunctionClassName
(
handlerFunction
);
}
private
static
String
getHandlerFunctionClassName
(
HandlerFunction
<?>
handlerFunction
)
{
Class
<?>
functionClass
=
handlerFunction
.
getClass
();
String
canonicalName
=
functionClass
.
getCanonicalName
();
return
(
canonicalName
!=
null
)
?
canonicalName
:
functionClass
.
getName
();
}
}
public
String
getClassName
()
{
public
String
getClassName
()
{
...
...
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