Go to file
Sam Brannen ce11fdfa80 Fix concurrency issues in XStreamMarshaller
Prior to this commit, if an instance of XStreamMarshaller was used
concurrently from multiple threads without having first invoked the
afterPropertiesSet() method, the private `xstream` field could be
initialized multiple times resulting in a ConcurrentModificationException
in XStream's internal DefaultConverterLookup.

This commit fixes these concurrency issues by making the `xstream` field
volatile and by implementing a double-checked locking algorithm in
getXStream() to avoid concurrent instance creation.

Closes gh-25017
2020-05-06 18:49:47 +02:00
.github
buildSrc
framework-bom
gradle Upgrade to spring-doc-resources 0.2.1 2020-04-14 13:36:11 +02:00
integration-tests
spring-aop Use autoboxing instead of explicit wrapping in tests 2020-04-01 14:34:20 +02:00
spring-aspects
spring-beans Polishing 2020-04-25 16:37:16 +02:00
spring-context AnnotationBeanNameGenerator caches meta-annotations for stereotype check 2020-04-27 13:47:58 +02:00
spring-context-indexer
spring-context-support
spring-core Add isDeferred to ReactiveTypeDescriptor 2020-05-01 15:39:52 +01:00
spring-expression Use autoboxing instead of explicit wrapping in tests 2020-04-01 14:34:20 +02:00
spring-instrument
spring-jcl
spring-jdbc Consistent nullability of arguments array in JdbcOperations/Template 2020-04-03 21:15:00 +02:00
spring-jms Use autoboxing instead of explicit wrapping in tests 2020-04-01 14:34:20 +02:00
spring-messaging Adapt test to changes in RSocket Java 2020-04-25 07:11:34 +01:00
spring-orm Fix faulty tests 2020-04-02 09:31:00 +01:00
spring-oxm Fix concurrency issues in XStreamMarshaller 2020-05-06 18:49:47 +02:00
spring-test Copy MockHttpServletRequest changes to spring-web 2020-04-17 16:20:42 +02:00
spring-tx Polish Javadoc for TransactionManagementConfigurer 2020-04-06 15:31:48 +02:00
spring-web Add UnknownContentTypeException 2020-05-01 17:32:19 +01:00
spring-webflux Polishing 2020-04-25 16:37:16 +02:00
spring-webmvc Consistent ordering in MethodNotAllowedException 2020-04-25 07:33:30 +01:00
spring-websocket Fix failing test 2020-05-01 18:20:26 +01:00
src Update samples to latest RSocket API 2020-05-06 14:28:18 +01:00
.editorconfig
.gitattributes
.gitignore
.mailmap
CODE_OF_CONDUCT.adoc
CONTRIBUTING.md Update StackOverflow link 2020-04-20 12:32:11 +01:00
LICENSE.txt
README.md
SECURITY.md
build.gradle Upgrade to RSocket 1.0.0-RC7 2020-04-28 06:28:04 +01:00
gradle.properties Next Development Version 2020-04-28 10:58:49 +02:00
gradlew
gradlew.bat
import-into-eclipse.md
import-into-idea.md
settings.gradle

README.md

Spring Framework Build Status

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".

Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section as reference for a more complete introduction.

Code of Conduct

This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Access to Binaries

For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.

Documentation

The Spring Framework maintains reference documentation (published and source), Github wiki pages, and an API reference. There are also guides and tutorials across Spring projects.

Build from Source

See the Build from Source Wiki page and the CONTRIBUTING.md file.

Stay in Touch

Follow @SpringCentral, @SpringFramework, and its team members on Twitter. In-depth articles can be found at The Spring Blog, and releases are announced via our news feed.

License

The Spring Framework is released under version 2.0 of the Apache License.