mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-09 19:09:03 +00:00
Merge branch '3.4.x' into 3.5.x
This commit is contained in:
+1
-3
@@ -77,7 +77,6 @@ class NoSuchMethodFailureAnalyzerTests {
|
||||
void whenAMethodOnAClassIsMissingThenNoSuchMethodErrorIsAnalyzed() {
|
||||
Throwable failure = createFailureForMissingMethod();
|
||||
assertThat(failure).isNotNull();
|
||||
failure.printStackTrace();
|
||||
FailureAnalysis analysis = new NoSuchMethodFailureAnalyzer().analyze(failure);
|
||||
assertThat(analysis).isNotNull();
|
||||
assertThat(analysis.getDescription())
|
||||
@@ -107,9 +106,8 @@ class NoSuchMethodFailureAnalyzerTests {
|
||||
|
||||
private Throwable createFailureForMissingMethod() {
|
||||
try {
|
||||
System.out.println(MimeType.class.getProtectionDomain().getCodeSource().getLocation());
|
||||
MimeType mimeType = new MimeType("application", "json");
|
||||
System.out.println(mimeType.isMoreSpecific(null));
|
||||
mimeType.isMoreSpecific(null);
|
||||
return null;
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user