language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanRegistrationsAotContributionTests.java
@@ -167,7 +167,7 @@ private void compile( .build()); }); this.generationContext.writeGeneratedContent(); - TestCompiler.forSystem().withFiles(this.generationContext.getGeneratedFiles()).compile(compiled -> + TestCompiler.forSystem().with(this.generationContext).compile(compiled -> result.accept(compi...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-beans/src/test/java/org/springframework/beans/factory/aot/InstanceSupplierCodeGeneratorTests.java
@@ -317,7 +317,7 @@ private void compile(DefaultListableBeanFactory beanFactory, .addStatement("return $L", generatedCode).build()); }); this.generationContext.writeGeneratedContent(); - TestCompiler.forSystem().withFiles(this.generationContext.getGeneratedFiles()).compile(compiled -> + TestCompiler.forSy...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorAotContributionTests.java
@@ -165,7 +165,7 @@ private void compile(BiConsumer<Consumer<DefaultListableBeanFactory>, Compiled> .build()); }); generationContext.writeGeneratedContent(); - TestCompiler.forSystem().withFiles(generationContext.getGeneratedFiles()).compile(compiled -> + TestCompiler.forSystem().with(generationConte...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java
@@ -315,7 +315,7 @@ private void testCompiledResult(GenericApplicationContext applicationContext, @SuppressWarnings({ "rawtypes", "unchecked" }) private void testCompiledResult(TestGenerationContext generationContext, BiConsumer<ApplicationContextInitializer<GenericApplicationContext>, Compiled> result) { - Te...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-context/src/test/java/org/springframework/context/generator/ApplicationContextAotGeneratorRuntimeHintsTests.java
@@ -86,7 +86,7 @@ private void compile(GenericApplicationContext applicationContext, BiConsumer<Ru TestGenerationContext generationContext = new TestGenerationContext(); generator.processAheadOfTime(applicationContext, generationContext); generationContext.writeGeneratedContent(); - TestCompiler.forSystem().w...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-core-test/src/main/java/org/springframework/aot/test/generate/GeneratedFilesTestCompilerUtils.java
@@ -0,0 +1,56 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-core-test/src/main/java/org/springframework/aot/test/generate/TestGenerationContext.java
@@ -16,20 +16,24 @@ package org.springframework.aot.test.generate; +import java.util.function.Function; + import org.springframework.aot.generate.ClassNameGenerator; import org.springframework.aot.generate.DefaultGenerationContext; import org.springframework.aot.generate.GenerationContext; import org.springfra...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-core-test/src/main/java/org/springframework/core/test/tools/TestCompiler.java
@@ -23,6 +23,7 @@ import java.util.List; import java.util.Locale; import java.util.function.Consumer; +import java.util.function.Function; import javax.annotation.processing.Processor; import javax.tools.Diagnostic; @@ -33,8 +34,6 @@ import javax.tools.StandardJavaFileManager; import javax.tools.ToolProvider; ...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-orm/src/test/java/org/springframework/orm/jpa/persistenceunit/PersistenceManagedTypesBeanRegistrationAotProcessorTests.java
@@ -109,7 +109,7 @@ private void compile(GenericApplicationContext applicationContext, TestGenerationContext generationContext = new TestGenerationContext(); generator.processAheadOfTime(applicationContext, generationContext); generationContext.writeGeneratedContent(); - TestCompiler.forSystem().withFiles(gen...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-orm/src/test/java/org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessorAotContributionTests.java
@@ -175,7 +175,7 @@ private void testCompile(RegisteredBean registeredBean, BeanRegistrationCode beanRegistrationCode = mock(BeanRegistrationCode.class); contribution.applyTo(generationContext, beanRegistrationCode); generationContext.writeGeneratedContent(); - TestCompiler.forSystem().withFiles(generationCon...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java
@@ -21,6 +21,7 @@ import java.nio.file.Paths; import java.util.List; import java.util.Set; +import java.util.function.Function; import java.util.stream.Stream; import org.junit.jupiter.api.Disabled; @@ -37,6 +38,7 @@ import org.springframework.aot.AotDetector; import org.springframework.aot.generate.GeneratedF...
true
Other
spring-projects
spring-framework
4625e92eb86899f83513a9202d090b137a04f0e8.json
Break dependency between TestCompiler and AOT This commit improves `TestCompiler` with a `with` function that allows to customize a test compiler instance. Rather than `TestCompiler` knowing about `TestGenerationContext`, the latter implements the function so that it can be passed as is. See gh-29175
spring-test/src/test/java/org/springframework/test/context/aot/TestContextAotGeneratorTests.java
@@ -20,6 +20,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Set; +import java.util.function.Function; import java.util.stream.Stream; import javax.sql.DataSource; @@ -33,6 +34,7 @@ import org.springframework.aot.hint.MemberCategory; import org.springframework.aot.hint.RuntimeHints; i...
true
Other
spring-projects
spring-framework
91bca55cbf6e764841ad2abcfd6a1b9690b2e4c0.json
Fix broken links to ThemeResolver in Javadoc
spring-webmvc/src/main/java/org/springframework/web/servlet/support/RequestContext.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -425,9 +425,10 @@ protected org.springframew...
false
Other
spring-projects
spring-framework
f140464c1289c0d176823e246bfe21dda62e30df.json
Remove unused variable in test See gh-28324
spring-test/src/test/java/org/springframework/test/web/servlet/samples/standalone/MultipartControllerTests.java
@@ -18,7 +18,6 @@ import java.io.IOException; import java.nio.charset.StandardCharsets; -import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Optional; @@ -241,7 +240,6 @@ void multipartRequestWrapped() throws Exception { Filter filter = new RequestWrappingFilter(); M...
false
Other
spring-projects
spring-framework
d46a8167459f9e199307db1aa510788abb314d45.json
Remove deprecated SynthesizedAnnotation interface The SynthesizedAnnotation interface is no longer used in the core Spring Framework and should not be used by external parties either. Closes gh-29092
spring-core/src/main/java/org/springframework/core/annotation/SynthesizedAnnotation.java
@@ -1,32 +0,0 @@ -/* - * Copyright 2002-2022 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 -...
false
Other
spring-projects
spring-framework
3f288eea1761590671c4c8dc8fadcc4c09e50fb5.json
Fix TestAotProcessorTests on MS Windows Closes gh-29103
spring-test/src/test/java/org/springframework/test/context/aot/TestAotProcessorTests.java
@@ -92,6 +92,7 @@ private static List<String> findFiles(Path outputPath) throws IOException { .map(Path::toAbsolutePath) .map(Path::toString) .map(path -> path.substring(prefixLength)) + .map(path -> path.replace('\\', '/')) // convert Windows path .toList(); }
false
Other
spring-projects
spring-framework
d9c2ccb4b346c071b251d78e937c5b91304cd7f8.json
Upgrade Ubuntu version in CI image Closes gh-29106
ci/images/ci-image/Dockerfile
@@ -1,4 +1,4 @@ -FROM ubuntu:focal-20220801 +FROM ubuntu:focal-20220826 ADD setup.sh /setup.sh ADD get-jdk-url.sh /get-jdk-url.sh
false
Other
spring-projects
spring-framework
e1c94d7e6b35ec0081ff3ffdc3b112dcbe2245de.json
Remove obsolete RuntimeHintsUtils Closes gh-29058
spring-core/src/main/java/org/springframework/aot/hint/support/RuntimeHintsUtils.java
@@ -1,95 +0,0 @@ -/* - * Copyright 2002-2022 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 -...
true
Other
spring-projects
spring-framework
e1c94d7e6b35ec0081ff3ffdc3b112dcbe2245de.json
Remove obsolete RuntimeHintsUtils Closes gh-29058
spring-core/src/test/java/org/springframework/aot/hint/support/RuntimeHintsUtilsTests.java
@@ -1,150 +0,0 @@ -/* - * Copyright 2002-2022 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
7f9933fdb742b6eec66cfb1d79de91972bfddf74.json
Restrict permissions for GitHub action See gh-29104
.github/workflows/gradle-wrapper-validation.yml
@@ -1,6 +1,9 @@ name: "Validate Gradle Wrapper" on: [push, pull_request] +permissions: + contents: read + jobs: validation: name: "Validation"
false
Other
spring-projects
spring-framework
fdfa7cbae633a4220003c3edfd1541f5a1531e2b.json
Add docs for RSocket interface client Closes gh-24456
src/docs/asciidoc/integration.adoc
@@ -364,7 +364,7 @@ If necessary the `Content-Type` may also be set explicitly. [[rest-http-interface]] -=== HTTP Interface + === HTTP Interface The Spring Framework lets you define an HTTP service as a Java interface with annotated methods for HTTP exchanges. You can then generate a proxy that implements thi...
true
Other
spring-projects
spring-framework
fdfa7cbae633a4220003c3edfd1541f5a1531e2b.json
Add docs for RSocket interface client Closes gh-24456
src/docs/asciidoc/rsocket.adoc
@@ -904,3 +904,82 @@ simply use a callback to customize registrations as follows: } .build() ---- + + + + +[[rsocket-interface]] +== RSocket Interface + +The Spring Framework lets you define an RSocket service as a Java interface with annotated +methods for RSocket exchanges. You can then generate a proxy that...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/Payload.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,7 +51,11 @@ * <p>This attribute may o...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/DefaultRSocketRequester.java
@@ -102,6 +102,12 @@ public MimeType metadataMimeType() { return this.metadataMimeType; } + @Override + public RSocketStrategies strategies() { + return this.strategies; + } + + @Override public RequestSpec route(String route, Object... vars) { return new DefaultRequestSpec(route, vars);
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/RSocketRequester.java
@@ -83,6 +83,11 @@ public interface RSocketRequester extends Disposable { */ MimeType metadataMimeType(); + /** + * Return the configured {@link RSocketStrategies}. + */ + RSocketStrategies strategies(); + /** * Begin to specify a new request with the given route to a remote handler. * <p>The route can...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/DestinationVariableArgumentResolver.java
@@ -0,0 +1,65 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/MetadataArgumentResolver.java
@@ -0,0 +1,61 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/PayloadArgumentResolver.java
@@ -0,0 +1,78 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketExchange.java
@@ -0,0 +1,79 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketRequestValues.java
@@ -0,0 +1,268 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketServiceArgumentResolver.java
@@ -0,0 +1,40 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketServiceMethod.java
@@ -0,0 +1,242 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketServiceProxyFactory.java
@@ -0,0 +1,217 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/package-info.java
@@ -0,0 +1,11 @@ +/** + * Annotations to declare an RSocket service contract with request methods along + * with a proxy factory backed by an + * {@link org.springframework.messaging.rsocket.RSocketRequester}. + */ +@NonNullApi +@NonNullFields +package org.springframework.messaging.rsocket.service; + +import org.spring...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/DefaultRSocketRequesterTests.java
@@ -28,17 +28,14 @@ import io.reactivex.rxjava3.core.Observable; import io.reactivex.rxjava3.core.Single; import io.rsocket.Payload; -import io.rsocket.RSocket; import io.rsocket.metadata.WellKnownMimeType; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import org.reactivestreams.Pub...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/TestRSocket.java
@@ -0,0 +1,101 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/DestinationVariableArgumentResolverTests.java
@@ -0,0 +1,99 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/MetadataArgumentResolverTests.java
@@ -0,0 +1,71 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/PayloadArgumentResolverTests.java
@@ -0,0 +1,129 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/RSocketRequestValuesTests.java
@@ -0,0 +1,95 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/RSocketServiceArgumentResolverTestSupport.java
@@ -0,0 +1,60 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 +...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/RSocketServiceIntegrationTests.java
@@ -0,0 +1,162 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-messaging/src/test/java/org/springframework/messaging/rsocket/service/RSocketServiceMethodTests.java
@@ -0,0 +1,150 @@ +/* + * Copyright 2002-2022 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 ...
true
Other
spring-projects
spring-framework
8423b2cab77f0ecfdde93324f7a1e6a6cd0f2a2f.json
Add support for RSocket interface client See gh-24456
spring-web/src/main/java/org/springframework/web/service/invoker/RequestBodyArgumentResolver.java
@@ -55,31 +55,23 @@ public boolean resolve( if (argument != null) { ReactiveAdapter reactiveAdapter = this.reactiveAdapterRegistry.getAdapter(parameter.getParameterType()); - if (reactiveAdapter != null) { - setBody(argument, parameter, reactiveAdapter, requestValues); + if (reactiveAdapter == null) { +...
true
Other
spring-projects
spring-framework
1e8017107a2fd600de6b8743485d1da2f577dd33.json
Remove unnecessary workaround See gh-29091
spring-context/src/test/java/org/springframework/context/generator/ApplicationContextAotGeneratorRuntimeHintsTests.java
@@ -20,10 +20,7 @@ import org.junit.jupiter.api.Test; -import org.springframework.aot.hint.MemberCategory; import org.springframework.aot.hint.RuntimeHints; -import org.springframework.aot.hint.RuntimeHintsRegistrar; -import org.springframework.aot.hint.TypeReference; import org.springframework.aot.test.agent.En...
false
Other
spring-projects
spring-framework
d57e061d3f60010e971337ec426172adeb4fc52b.json
Introduce getAbsolutePath() in ClassPathResource Since getPath() returns a relative path if the resource was created using the ClassPathResource(String,Class) constructor, there was previously no way to consistently obtain the absolute path to the resource within the class path. This commit addresses this shortcoming...
spring-core/src/main/java/org/springframework/aot/hint/ResourceHints.java
@@ -121,7 +121,7 @@ public ResourceHints registerPattern(String include) { */ public void registerResourceIfNecessary(Resource resource) { if (resource instanceof ClassPathResource classPathResource && classPathResource.exists()) { - registerPattern(classPathResource.getPath()); + registerPattern(classPathR...
true
Other
spring-projects
spring-framework
d57e061d3f60010e971337ec426172adeb4fc52b.json
Introduce getAbsolutePath() in ClassPathResource Since getPath() returns a relative path if the resource was created using the ClassPathResource(String,Class) constructor, there was previously no way to consistently obtain the absolute path to the resource within the class path. This commit addresses this shortcoming...
spring-core/src/main/java/org/springframework/core/io/ClassPathResource.java
@@ -47,6 +47,8 @@ public class ClassPathResource extends AbstractFileResolvingResource { private final String path; + private final String absolutePath; + @Nullable private final ClassLoader classLoader; @@ -83,6 +85,7 @@ public ClassPathResource(String path, @Nullable ClassLoader classLoader) { pathToU...
true
Other
spring-projects
spring-framework
d57e061d3f60010e971337ec426172adeb4fc52b.json
Introduce getAbsolutePath() in ClassPathResource Since getPath() returns a relative path if the resource was created using the ClassPathResource(String,Class) constructor, there was previously no way to consistently obtain the absolute path to the resource within the class path. This commit addresses this shortcoming...
spring-core/src/test/java/org/springframework/aot/hint/ResourceHintsTests.java
@@ -21,7 +21,6 @@ import java.util.List; import java.util.function.Consumer; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.springframework.aot.hint.ResourceHintsTests.Nested.Inner; @@ -136,14 +135,11 @@ void registerResourceIfNecessaryWithExistingClassPathResource() { ...
true
Other
spring-projects
spring-framework
1052f48eb69c51a63c06864856abd4d9c71d2348.json
Clarify semantics of ClassPathResource.getPath() This commit also improves the overall Javadoc in ClassPathResource. See gh-29094
spring-core/src/main/java/org/springframework/core/io/ClassPathResource.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2021 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,13 +33,15 @@ * * <p>Supports resolut...
false
Other
spring-projects
spring-framework
5c2859ffa7cdc1b8fa97d58d2fe01a8ba09b81a5.json
Make fields in ClassPathResource final
spring-core/src/main/java/org/springframework/core/io/ClassPathResource.java
@@ -46,10 +46,10 @@ public class ClassPathResource extends AbstractFileResolvingResource { private final String path; @Nullable - private ClassLoader classLoader; + private final ClassLoader classLoader; @Nullable - private Class<?> clazz; + private final Class<?> clazz; /** @@ -83,6 +83,7 @@ public Cla...
false
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-aop/src/test/java/org/springframework/aop/scope/ScopedProxyBeanRegistrationAotProcessorTests.java
@@ -27,8 +27,8 @@ import org.springframework.aop.framework.AopInfrastructureBean; import org.springframework.aot.generate.MethodReference; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generato...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-beans/src/test/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanRegistrationAotContributionTests.java
@@ -26,9 +26,9 @@ import org.springframework.aot.generate.MethodReference; import org.springframework.aot.hint.predicate.RuntimeHintsPredicates; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.CompileWithTargetClassAccess; -import org.springf...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanDefinitionMethodGeneratorTests.java
@@ -31,10 +31,10 @@ import org.springframework.aot.generate.GenerationContext; import org.springframework.aot.generate.MethodReference; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.CompileWithTargetClassAccess; -import org.springframework....
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanDefinitionPropertiesCodeGeneratorTests.java
@@ -30,8 +30,8 @@ import org.springframework.aot.generate.GeneratedClass; import org.springframework.aot.hint.predicate.RuntimeHintsPredicates; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.gen...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanDefinitionPropertyValueCodeGeneratorTests.java
@@ -35,8 +35,8 @@ import org.springframework.aot.generate.GeneratedClass; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generator.compile.TestCompiler; +import org.springframework.aot.test.gen...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-beans/src/test/java/org/springframework/beans/factory/aot/BeanRegistrationsAotContributionTests.java
@@ -33,9 +33,9 @@ import org.springframework.aot.generate.MethodReference; import org.springframework.aot.test.generate.TestGenerationContext; import org.springframework.aot.test.generate.TestTarget; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generator.compi...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-beans/src/test/java/org/springframework/beans/factory/aot/InstanceSupplierCodeGeneratorTests.java
@@ -31,8 +31,8 @@ import org.springframework.aot.hint.ReflectionHints; import org.springframework.aot.hint.TypeHint; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generator.compile.TestCompiler...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorAotContributionTests.java
@@ -29,8 +29,8 @@ import org.springframework.aot.generate.MethodReference; import org.springframework.aot.hint.ResourcePatternHint; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generator.compi...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-context/src/test/java/org/springframework/context/aot/ApplicationContextAotGeneratorTests.java
@@ -32,8 +32,8 @@ import org.springframework.aot.hint.TypeReference; import org.springframework.aot.hint.predicate.RuntimeHintsPredicates; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generato...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-context/src/test/java/org/springframework/context/generator/ApplicationContextAotGeneratorRuntimeHintsTests.java
@@ -28,7 +28,7 @@ import org.springframework.aot.test.agent.RuntimeHintsInvocations; import org.springframework.aot.test.agent.RuntimeHintsRecorder; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.TestCompiler; +import org.springframework.aot...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/agent/InvocationsRecorderClassTransformer.java
@@ -37,7 +37,7 @@ class InvocationsRecorderClassTransformer implements ClassFileTransformer { private static final String AGENT_PACKAGE = InvocationsRecorderClassTransformer.class.getPackageName().replace('.', '/'); - private static final String AOT_DYNAMIC_CLASSLOADER = "org/springframework/aot/test/generator/co...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/CompilationException.java
@@ -14,12 +14,12 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; -import org.springframework.aot.test.generator.file.ResourceFile; -import org.springframework.aot.test.generator.file.ResourceFiles; -import or...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/CompileWithTargetClassAccess.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.lang.annotation.Documented; import java.lang.annotation.ElementType;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/CompileWithTargetClassAccessClassLoader.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.io.IOException; import java.io.InputStream;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/CompileWithTargetClassAccessExtension.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.lang.reflect.Method;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/Compiled.java
@@ -14,17 +14,17 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.lang.reflect.Constructor; import java.util.ArrayList; import java.util.Collections; import java.util.List; -import org.spring...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/DynamicClassFileObject.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.io.ByteArrayOutputStream; import java.io.OutputStream;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/DynamicClassLoader.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -28,8 +28,8 @@ import java.util.Enumeration; import java.util.Map; -imp...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/DynamicJavaFileManager.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.io.IOException; import java.util.Collections;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/DynamicJavaFileObject.java
@@ -14,14 +14,14 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.net.URI; import javax.tools.JavaFileObject; import javax.tools.SimpleJavaFileObject; -import org.springframework.aot.test.ge...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/TestCompiler.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.io.PrintStream; import java.util.ArrayList; @@ -35,11 +35,11 @@ import org.springframework.aot.generate.GeneratedFiles.Kind; im...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/compile/package-info.java
@@ -3,7 +3,7 @@ */ @NonNullApi @NonNullFields -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/DynamicFile.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.io.IOException; import java.util.Objects;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/DynamicFileAssert.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import org.assertj.core.api.AbstractAssert;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/DynamicFiles.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.util.Arrays; import java.util.Collections;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/ResourceFile.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/ResourceFileAssert.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; /** * Assertion methods for {@code ResourceFile} instances.
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/ResourceFiles.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.util.Iterator; import java.util.stream.Stream;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/SourceFile.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.io.IOException; import java.io.InputStreamReader;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/SourceFileAssert.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; /** * Assertion methods for {@code SourceFile} instances.
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/SourceFiles.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.util.Iterator; import java.util.Objects;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/WritableContent.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.io.IOException;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/main/java/org/springframework/aot/test/generate/file/package-info.java
@@ -5,7 +5,7 @@ */ @NonNullApi @NonNullFields -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/compile/CompilationExceptionTests.java
@@ -14,12 +14,12 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import org.junit.jupiter.api.Test; -import org.springframework.aot.test.generator.file.ResourceFiles; -import org.springframework.aot.test.g...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/compile/CompiledTests.java
@@ -14,18 +14,18 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.util.List; import java.util.concurrent.Callable; import java.util.function.Supplier; import org.junit.jupiter.api.Test; -im...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/compile/DynamicClassFileObjectTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.io.ByteArrayInputStream; import java.io.OutputStream;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/compile/DynamicJavaFileManagerTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import javax.tools.JavaFileManager; import javax.tools.JavaFileManager.Location;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/compile/DynamicJavaFileObjectTests.java
@@ -14,11 +14,11 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import org.junit.jupiter.api.Test; -import org.springframework.aot.test.generator.file.SourceFile; +import org.springframework.aot.test.gene...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/compile/TestCompilerTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.compile; +package org.springframework.aot.test.generate.compile; import java.util.ArrayList; import java.util.List; @@ -30,11 +30,11 @@ import com.example.PublicInterface; import org.junit.jupiter.api.Test;...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/file/ResourceFileTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/file/ResourceFilesTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.util.Iterator;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/file/SourceFileAssertTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import org.junit.jupiter.api.Test;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/file/SourceFileTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.io.IOException;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-core-test/src/test/java/org/springframework/aot/test/generate/file/SourceFilesTests.java
@@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aot.test.generator.file; +package org.springframework.aot.test.generate.file; import java.util.Iterator;
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-orm/src/test/java/org/springframework/orm/jpa/persistenceunit/PersistenceManagedTypesBeanRegistrationAotProcessorTests.java
@@ -23,8 +23,8 @@ import org.junit.jupiter.api.Test; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generator.compile.TestCompiler; +import org.springframework.aot.test.generate.compile.Compile...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-orm/src/test/java/org/springframework/orm/jpa/support/InjectionCodeGeneratorTests.java
@@ -27,8 +27,8 @@ import org.springframework.aot.hint.RuntimeHints; import org.springframework.aot.hint.predicate.RuntimeHintsPredicates; -import org.springframework.aot.test.generator.compile.Compiled; -import org.springframework.aot.test.generator.compile.TestCompiler; +import org.springframework.aot.test.generat...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-orm/src/test/java/org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessorAotContributionTests.java
@@ -35,9 +35,9 @@ import org.springframework.aot.hint.FieldMode; import org.springframework.aot.hint.TypeReference; import org.springframework.aot.test.generate.TestGenerationContext; -import org.springframework.aot.test.generator.compile.CompileWithTargetClassAccess; -import org.springframework.aot.test.generator.c...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-test/src/test/java/org/springframework/test/context/aot/AotIntegrationTests.java
@@ -36,8 +36,8 @@ import org.springframework.aot.AotDetector; import org.springframework.aot.generate.GeneratedFiles.Kind; import org.springframework.aot.generate.InMemoryGeneratedFiles; -import org.springframework.aot.test.generator.compile.CompileWithTargetClassAccess; -import org.springframework.aot.test.generato...
true
Other
spring-projects
spring-framework
6e93f1187c31a37448ca937b4c824657e6fc071c.json
Move TestCompiler from generator to generate This commit harmonizes the package space by moving the TestCompiler infrastructure from the now outdated "generator" package to "generate". Closes gh-29082
spring-test/src/test/java/org/springframework/test/context/aot/TestContextAotGeneratorTests.java
@@ -32,8 +32,8 @@ import org.springframework.aot.hint.MemberCategory; import org.springframework.aot.hint.RuntimeHints; import org.springframework.aot.hint.TypeReference; -import org.springframework.aot.test.generator.compile.CompileWithTargetClassAccess; -import org.springframework.aot.test.generator.compile.TestCo...
true
Other
spring-projects
spring-framework
58b0251af14f177a1accf08336987a149cf7e200.json
Relocate TestGenerationContext to spring-core-test This commit moves the test implementation for GenerationContext in spring-core-test. This also removes the copy we had in testfixtures See gh-28877
spring-aop/src/test/java/org/springframework/aop/scope/ScopedProxyBeanRegistrationAotProcessorTests.java
@@ -26,6 +26,7 @@ import org.springframework.aop.framework.AopInfrastructureBean; import org.springframework.aot.generate.MethodReference; +import org.springframework.aot.test.generate.TestGenerationContext; import org.springframework.aot.test.generator.compile.Compiled; import org.springframework.aot.test.genera...
true