File tree 4 files changed +7
-8
lines changed
java/org/springframework/shell
resources/META-INF/spring
test/java/org/springframework/shell
spring-shell-samples/src/main/resources/META-INF/spring
4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package org .springframework .shell . samples . config ;
16
+ package org .springframework .shell ;
17
17
18
18
import java .util .List ;
19
19
import java .util .stream .Collectors ;
28
28
import org .springframework .aot .hint .TypeHint ;
29
29
import org .springframework .aot .hint .TypeReference ;
30
30
31
- public class SamplesRuntimeHints implements RuntimeHintsRegistrar {
31
+ public class JnaRuntimeHints implements RuntimeHintsRegistrar {
32
32
33
33
@ Override
34
34
public void registerHints (RuntimeHints hints , ClassLoader classLoader ) {
Original file line number Diff line number Diff line change 1
1
org.springframework.aot.hint.RuntimeHintsRegistrar=\
2
- org.springframework.shell.CoreResourcesRuntimeHints
2
+ org.springframework.shell.CoreResourcesRuntimeHints,\
3
+ org.springframework.shell.JnaRuntimeHints
Original file line number Diff line number Diff line change 1
- package org .springframework .shell . samples . config ;
1
+ package org .springframework .shell ;
2
2
3
3
import java .util .Arrays ;
4
4
import java .util .Set ;
14
14
15
15
import static org .assertj .core .api .Assertions .assertThat ;
16
16
17
- public class SamplesRuntimeHintsTests {
17
+ public class JnaRuntimeHintsTests {
18
18
19
19
@ Test
20
20
void test () {
@@ -35,7 +35,7 @@ void test() {
35
35
36
36
private ReflectionHints registerHints () {
37
37
RuntimeHints hints = new RuntimeHints ();
38
- new SamplesRuntimeHints ().registerHints (hints , getClass ().getClassLoader ());
38
+ new JnaRuntimeHints ().registerHints (hints , getClass ().getClassLoader ());
39
39
return hints .reflection ();
40
40
}
41
41
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments