-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Comparing changes
Open a pull request
base repository: spring-projects/spring-framework
base: v5.2.8.RELEASE
head repository: spring-projects/spring-framework
compare: v5.2.9.RELEASE
Commits on Jul 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fc6b38a - Browse repository at this point
Copy the full SHA fc6b38aView commit details
Commits on Jul 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ab859fc - Browse repository at this point
Copy the full SHA ab859fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 335c3d5 - Browse repository at this point
Copy the full SHA 335c3d5View commit details
Commits on Jul 25, 2020
-
Avoid infinite loop in AnnotationScanner
Prior to this commit, scanning for annotations resulted in an infinite loop when using the INHERITED_ANNOTATIONS search strategy and a class filter that filters out visited classes. This commit avoids an infinite loop in AnnotationsScanner's processClassInheritedAnnotations(...) method by skipping the current level of the class hierarchy when the current source class has been filtered out. Closes gh-25429
Configuration menu - View commit details
-
Copy full SHA for 650cbee - Browse repository at this point
Copy the full SHA 650cbeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5442d87 - Browse repository at this point
Copy the full SHA 5442d87View commit details
Commits on Jul 28, 2020
-
Remove unused class filtering support in AnnotationScanner
PR gh-25429 brought it to our attention that there was a bug in AnnotationScanner when using a non-null class filter that filtered out classes; however, it turns out that there is no production code that utilizes the package-private class filtering support. This commit therefore removes all class filtering support from AnnotationScanner since that functionality is effectively unused. Closes gh-25477
Configuration menu - View commit details
-
Copy full SHA for 2b3fdfa - Browse repository at this point
Copy the full SHA 2b3fdfaView commit details
Commits on Jul 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b841e85 - Browse repository at this point
Copy the full SHA b841e85View commit details -
Filter repeatable annotations in AnnotationTypeMappings
Prior to this commit, AnnotationTypeMappings did not filter repeatable annotations with the supplied annotation filter. Closes gh-25483
Configuration menu - View commit details
-
Copy full SHA for 83a9583 - Browse repository at this point
Copy the full SHA 83a9583View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dbf42e - Browse repository at this point
Copy the full SHA 7dbf42eView commit details
Commits on Aug 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9b07290 - Browse repository at this point
Copy the full SHA 9b07290View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89bb9cb - Browse repository at this point
Copy the full SHA 89bb9cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 785ab57 - Browse repository at this point
Copy the full SHA 785ab57View commit details -
Reset charset field in MockHttpServletResponse
Prior to this commit, calling reset() on MockHttpServletResponse did not reset the `charset` field to `false` which could result in the "Content-Type" header containing `;charset=null` which in turn would result in errors when parsing the "Content-Type" header. This commit resets the charset field to `false` in MockHttpServletResponse's reset() method to avoid such errors. Closes gh-25501
Configuration menu - View commit details
-
Copy full SHA for 5576321 - Browse repository at this point
Copy the full SHA 5576321View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a12e7b - Browse repository at this point
Copy the full SHA 5a12e7bView commit details -
Fix error message for type mismatch in jsonPath().value()
Prior to this commit, if a value existed at the specified JSON path but had an incompatible type, the AssertionError thrown contained a message stating that the value did not exist (i.e., "No Value at JSON Path"), which was not only misleading but also technically incorrect. This commit fixes the error message for such use cases. For example, the AssertionError thrown in such use cases now resembles the following. At JSON path "$.name", value <Lisa> of type <java.lang.String> cannot be converted to type <byte[]> Closes gh-25480
Configuration menu - View commit details
-
Copy full SHA for 482adb9 - Browse repository at this point
Copy the full SHA 482adb9View commit details
Commits on Aug 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 969aa8a - Browse repository at this point
Copy the full SHA 969aa8aView commit details -
Use Spliterators.emptySpliterator() in TypeMappedAnnotations
For greater clarity, this commit invokes Spliterators.emptySpliterator() directly instead of going through java.util.Collections.EmptyList.
Configuration menu - View commit details
-
Copy full SHA for 91d1383 - Browse repository at this point
Copy the full SHA 91d1383View commit details
Commits on Aug 4, 2020
-
Fix bug in StaticListableBeanFactory.isSingleton()
Prior to this commit, StaticListableBeanFactory.isSingleton() returned false for singleton beans unless they were created by a FactoryBean. StaticListableBeanFactory.isSingleton() now properly returns true for all beans not created by a FactoryBean. Closes gh-25522
Configuration menu - View commit details
-
Copy full SHA for 7a31885 - Browse repository at this point
Copy the full SHA 7a31885View commit details
Commits on Aug 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 40fc472 - Browse repository at this point
Copy the full SHA 40fc472View commit details -
Support @RestControllerAdvice in Standalone MockMvc again
Since Spring Framework 5.2, @RestControllerAdvice registered with MockMvc when using MockMvcBuilders.standaloneSetup() has no longer been properly supported if annotation attributes were declared in the @RestControllerAdvice annotation. Prior to 5.2, this was not an issue. The cause for this regression is two-fold. 1. Commit 50c2577 refactored DefaultListableBeanFactory so that findAnnotationOnBean() supports merged annotations; however, that commit did not refactor StaticListableBeanFactory#findAnnotationOnBean() to support merged annotations. 2. Commit 978adbd refactored ControllerAdviceBean so that a merged @ControllerAdvice annotation is only looked up via ApplicationContext#findAnnotationOnBean(). The latter relies on the fact that findAnnotationOnBean() supports merged annotations (e.g., @RestControllerAdvice as a merged instance of @ControllerAdvice). Behind the scenes, MockMvcBuilders.standaloneSetup() creates a StubWebApplicationContext which internally uses a StubBeanFactory which extends StaticListableBeanFactory. Consequently, since the implementation of findAnnotationOnBean() in StaticListableBeanFactory was not updated to support merged annotations like it was in DefaultListableBeanFactory, we only see this regression with the standalone MockMvc support and not with MockMvc support for an existing WebApplicationContext or with standard Spring applications using an ApplicationContext that uses DefaultListableBeanFactory. This commit fixes this regression by supporting merged annotations in StaticListableBeanFactory#findAnnotationOnBean() as well. Closes gh-25520
Configuration menu - View commit details
-
Copy full SHA for 96da1ff - Browse repository at this point
Copy the full SHA 96da1ffView commit details
Commits on Aug 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5cb2cc2 - Browse repository at this point
Copy the full SHA 5cb2cc2View commit details -
Merge pull request #25539 from diguage
* pr/25539: Fix asciidoctor syntax for source Closes gh-25539
Configuration menu - View commit details
-
Copy full SHA for b684273 - Browse repository at this point
Copy the full SHA b684273View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0501999 - Browse repository at this point
Copy the full SHA 0501999View commit details
Commits on Aug 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6acbc50 - Browse repository at this point
Copy the full SHA 6acbc50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96a4e11 - Browse repository at this point
Copy the full SHA 96a4e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94eee6a - Browse repository at this point
Copy the full SHA 94eee6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dd285f - Browse repository at this point
Copy the full SHA 8dd285fView commit details -
Upgrade to Jetty 9.4.31, Groovy 2.5.13, Hibernate ORM 5.4.19, Eclipse…
…Link 2.7.7, Checkstyle 8.35
Configuration menu - View commit details
-
Copy full SHA for 7fdb33a - Browse repository at this point
Copy the full SHA 7fdb33aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 692c5f2 - Browse repository at this point
Copy the full SHA 692c5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b9558a - Browse repository at this point
Copy the full SHA 3b9558aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 686f5d4 - Browse repository at this point
Copy the full SHA 686f5d4View commit details -
Populate dependencies metadata for resolved target behind lazy depend…
…ency proxy Closes gh-25562
Configuration menu - View commit details
-
Copy full SHA for 292f581 - Browse repository at this point
Copy the full SHA 292f581View commit details
Commits on Aug 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a614abe - Browse repository at this point
Copy the full SHA a614abeView commit details -
Assert preconditions for MergedAnnotations.from() factory methods
Prior to this commit, if null values were supplied for the RepeatableContainers or AnnotationFilter arguments to `from()` factory methods in MergedAnnotations, certain operations would eventually result in a NullPointerException. This is to be expected; however, the NullPointerException is often swallowed and only logged at INFO level with an exception message similar to the following. > Failed to introspect annotations on org.example.MyClass: NullPointerException In such cases, the INFO log message is not helpful in diagnosing the problem. Furthermore, since the exception is swallowed, the desired operation (e.g., MergedAnnotations.stream(...)) simply returns no results. This commit improves the user experience by eagerly asserting non-null preconditions for required arguments in MergedAnnotations.from() factory methods. Closes gh-25568
Configuration menu - View commit details
-
Copy full SHA for e25e690 - Browse repository at this point
Copy the full SHA e25e690View commit details
Commits on Aug 10, 2020
-
Add @FunctionalInterface to MessagePostProcessor
Add the @FunctionalInterface annotation to the MessagePostProcessor interfaces in the spring-jms and spring-messaging projects. Closes gh-25571
Configuration menu - View commit details
-
Copy full SHA for 6a7e58a - Browse repository at this point
Copy the full SHA 6a7e58aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd65762 - Browse repository at this point
Copy the full SHA bd65762View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d56c30 - Browse repository at this point
Copy the full SHA 7d56c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bf5cba - Browse repository at this point
Copy the full SHA 9bf5cbaView commit details
Commits on Aug 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 93e5214 - Browse repository at this point
Copy the full SHA 93e5214View commit details
Commits on Aug 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 32e8516 - Browse repository at this point
Copy the full SHA 32e8516View commit details -
Introduce createContext() factory method in AbstractGenericContextLoader
Prior to this commit it was possible to configure the DefaultListableBeanFactory used by the GenericApplicationContext created by AbstractGenericContextLoader, but it was not possible to completely replace the bean factory. This commit introduces a new createContext() factory method in AbstractGenericContextLoader which indirectly allows subclasses to supply a custom DefaultListableBeanFactory implementation to the GenericApplicationContext. Closes gh-25600
Configuration menu - View commit details
-
Copy full SHA for a83529c - Browse repository at this point
Copy the full SHA a83529cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d939016 - Browse repository at this point
Copy the full SHA d939016View commit details
Commits on Aug 22, 2020
-
Fix regressions in SimpleThreadScope and SimpleTransactionScope
PR gh-25038 introduced regressions in SimpleThreadScope and SimpleTransactionScope in Spring Framework 5.2.7. Specifically, if a thread-scoped or transaction-scoped bean has a dependency on another thread-scoped or transaction-scoped bean, respectively, a ConcurrentModificationException will be thrown on Java 11 or higher. The reason is that Java 11 introduced a check for concurrent modification in java.util.HashMap's computeIfAbsent() implementation, and such a modification can occur when a thread-scoped bean is being created in order to satisfy a dependency of another thread-scoped bean that is currently being created. This commit fixes these regressions by switching from HashMap to ConcurrentHashMap for the instance maps in SimpleThreadScope and SimpleTransactionScope. Closes gh-25618
Configuration menu - View commit details
-
Copy full SHA for 148dc95 - Browse repository at this point
Copy the full SHA 148dc95View commit details
Commits on Aug 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0d4040a - Browse repository at this point
Copy the full SHA 0d4040aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04df9b8 - Browse repository at this point
Copy the full SHA 04df9b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f0461c - Browse repository at this point
Copy the full SHA 6f0461cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f43c39c - Browse repository at this point
Copy the full SHA f43c39cView commit details
Commits on Aug 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 60fa704 - Browse repository at this point
Copy the full SHA 60fa704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 589060d - Browse repository at this point
Copy the full SHA 589060dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf2e0c7 - Browse repository at this point
Copy the full SHA cf2e0c7View commit details
There are no files selected for viewing