- 27 Feb, 2018 40 commits
-
-
Phillip Webb authored
-
Andy Wilkinson authored
Closes gh-12256
-
Andy Wilkinson authored
Closes gh-12246
-
Andy Wilkinson authored
Closes gh-12245
-
Andy Wilkinson authored
Closes gh-12111 Closes gh-12266
-
Madhura Bhave authored
-
Madhura Bhave authored
Fixes gh-12239
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-12259
-
Andy Wilkinson authored
Closes gh-12258
-
Andy Wilkinson authored
Closes gh-12257
-
Andy Wilkinson authored
Closes gh-12255
-
Andy Wilkinson authored
Closes gh-12254
-
Andy Wilkinson authored
Closes gh-12253
-
Andy Wilkinson authored
Closes gh-12252
-
Andy Wilkinson authored
Closes gh-12251
-
Stephane Nicoll authored
Closes gh-12244
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-12249
-
-
Andy Wilkinson authored
Closes gh-12250
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-12120: Polish "Set host when creating Jetty SSL connector" Set host when creating Jetty SSL connector
-
Andy Wilkinson authored
Closes gh-12120
-
mtrejo authored
See gh-12120
-
Andy Wilkinson authored
See gh-12247
-
Andy Wilkinson authored
See gh-12246
-
Andy Wilkinson authored
See gh-12234
-
Andy Wilkinson authored
See gh-12235
-
Andy Wilkinson authored
Previously, if a user declared a custom conversionService bean that was not an ApplicationConversionService instance, the binder lost the ability to convert a String to a Duration (along with any other conversions that are specific to ApplicationConversionService). This commit updates BindConverter so that, if the ConversionService with which it is created is not an ApplicationConversionService, it will use one as an additional service when performing conversion. Closes gh-12237
-
Andy Wilkinson authored
Closes gh-12232
-
Andy Wilkinson authored
Previously, working with a JarFile created a large amount of garbage that was allocated on the thread local allocation buffer (TLAB). The TLAB allocations made a significant contribution to GC pressure and slowed down startup. This commit reduces the amount of garbage by making a number of changes. Reading from a RandomAccessDataFile has been reworked to avoid creating new RandomAccessFile instances. A single RandomAccessFile is now created for an entire jar file and it is used to read data from anywhere in that jar file, including entries in nested jar files. To ensure that reads remain thread-safe, a lock is taken on the RandomAccessFile that is shared by all RandomAccessDataFile instances that are provided access to (portions of) the same jar file. Reading all of the bytes from a RandomAccessData has been reworked to avoid the use of an InputStream that was created, used to read the data, and then thrown away. In place of the InputStream-based mechanism a method has been introduced that returns all of the RandomAccessData as a byte[]. Building on this change, a method has also been introduced to read a portion of a RandomAccessData as a byte[]. This avoids the need to create a new RandomAccessData subsection where the subsection was only used to read its entire contents and then thrown away. Decoding of an MS-DOS datetime has been reworked to use LocalDataTime rather than GregorianCalendar. The former produces less garbage than the latter. Closes gh-12226
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-12132
-
Phillip Webb authored
Update `PropertySourceLoader` so that it no longer needs to deal with matching multi-document files using the `spring.profile` property. The loader now simply returns one or more `PropertSource` instances for a given `Resource`. All property matching now occurs in the `ConfigFileApplicationListener`. This allows document processing logic to be contained in a single place, and allows us to rationalize the algorithm so that negative matching profiles are processed last. Fixes gh-12159
-
Phillip Webb authored
See gh-12233
-
Phillip Webb authored
Update `ValidationBindHandler` so that validation only occurs when a value is bound, or the bind depth is zero. This prevents validation from triggering getters which may throw an exception. Fixes gh-12227
-
Phillip Webb authored
-