Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit ffe9201

Browse files
committed
Fix an Exception when using spring.profiles.active
Closes gh-798
1 parent 30aaeb5 commit ffe9201

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spring-native-configuration/src/main/java/org/springframework/boot/SpringBootHints.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.boot;
1818

19+
import java.util.Set;
1920
import java.util.logging.LogManager;
2021

2122
import org.springframework.boot.logging.java.JavaLoggingSystem;
@@ -61,7 +62,10 @@
6162
LogManager.class,
6263
JavaLoggingSystem.class
6364
}, access = AccessBits.LOAD_AND_CONSTRUCT | AccessBits.PUBLIC_METHODS),
64-
@TypeHint(types = java.util.LinkedHashSet.class)
65+
@TypeHint(types = {
66+
java.util.LinkedHashSet.class,
67+
Set.class
68+
})
6569
},
6670
initialization = @InitializationHint(types = {
6771
org.springframework.boot.BeanDefinitionLoader.class,

0 commit comments

Comments
 (0)