Commit Graph

17997 Commits (930c838da96da8f35af7bd158d16ce493c5a1ebd)
 

Author SHA1 Message Date
Andy Wilkinson e0d67ae703 Avoid Atmosphere using a null URL to create a URLClassLoader
Unlike Java 8, 9, and 10, Java 11 does not tolerate a null URL being
used to create a URLClassLoader. The Atmosphere sample looks for
a resource named /WEB-INF/classes which only exists in a packaged
war application. In all other cases the resulting URL is null.
Atmosphere uses this to create a URLClassLoader which fails on Java
11.

This commit updates the sample to customize the handlers path. There
are other web application-specific assumptions in Atmosphere, such as
the scanning of WEB-INF/lib by default. This change appears to get
the sample going, but we should, perhaps, consider removing it in the
longer term, particularly as Boot itself has no Atmosphere
integration.

See gh-14028
6 years ago
Madhura Bhave 1dd8c83d77 Merge pull request #14065 from jzheaux
* gh-14065:
  Polish "Update OIDC configuration"
  Update OIDC config following Spring Security changes
6 years ago
Madhura Bhave baaf8c95ff Polish "Update OIDC configuration"
Closes gh-14065
6 years ago
Josh Cummings e34723efd2 Update OIDC config following Spring Security changes
The location changed for the class that provides a ClientRegistration
via an issuer URL, and this updates Spring Boot accordingly.
6 years ago
Andy Wilkinson 0fb02ab6a0 Merge pull request #14062 from Spencer Gibb
* gh-14062:
  Exclude protobuf-java from mysql-connector-java
6 years ago
Spencer Gibb 8427341480 Exclude protobuf-java from mysql-connector-java
Closes gh-14062
6 years ago
Madhura Bhave a8a75f1bbb Merge branch '2.0.x' 6 years ago
Madhura Bhave 895d092640 PropertySourcesLoader with highest precedence should win
Fixes gh-13955
6 years ago
Andy Wilkinson e3e3a44045 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 1973e342c9 Do not use lambda for task action as it breaks up-to-date checks
Due to gradle/gradle#5510, using a lambda for a task action breaks
up-to-date checks in certain circumstances.

This commit updates JavaPluginAction to use an inner-class in place
of a lambda for the action that it adds to JavaCompile tasks. A test
has not been added as it does not appear to be possible to reproduce
it with a TestKit-based test.

Closes gh-14054
6 years ago
Stephane Nicoll f187ab72a4 Polish 6 years ago
Andy Wilkinson 9032e5b470 Update SSL tests and certs for Java 11 and TLSv1.3
See gh-14028
6 years ago
Stephane Nicoll 10fe9ba0d9 Merge branch '2.0.x' 6 years ago
Stephane Nicoll da1858f620 Upgrade to Hibernate Validator 6.0.12.Final
Closes gh-14053
6 years ago
Madhura Bhave 1e5611d02d Merge branch '2.0.x' 6 years ago
Madhura Bhave e6a69119ef Add trigger for 2.0.x-based pull requests
Closes gh-14034
6 years ago
Madhura Bhave 727e9c6b0f Merge branch '2.0.x' 6 years ago
Madhura Bhave dfb97eb0f5 Convert environment if webApplicationType changes
If the web application type is set via properties,
it is available only after binding. The environment needs
to be converted to the appropriate type if it does not match.
If a custom environment is set, it is not converted.

Fixes gh-13977
6 years ago
Andy Wilkinson 04215e6651 Polish 6 years ago
Stephane Nicoll e7b5d95681 Adapt ServerProperties with a default size to DataSize
See gh-13974
6 years ago
Stephane Nicoll 6734e11222 Adapt MultipartConfig to use DataSize support
See gh-13974
6 years ago
Stephane Nicoll 94013aaba6 Add support for DataSize
This commit adds support for Spring Framework's `DataSize` allowing to
express a size in bytes and other convenient units.

Similar to the `Duration` support introduced previously, this commit
adds transparent binding support as well as detection of default values
in `@ConfigurationProperties`-annotated object.

Closes gh-13974
6 years ago
Andy Wilkinson 78dd7bd934 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 6e5ff77bb0 Merge branch '1.5.x' into 2.0.x
The 3.0.1 version of the Maven Javadoc Plugin contains a bug [1] that
means that a link URL must redirect otherwise it is ignored.

[1] https://issues.apache.org/jira/browse/MJAVADOC-532
6 years ago
Andy Wilkinson f63a95ed91 Align link configuration with the needs of the Maven Javadoc Plugin
The -link parameters passed into the javadoc executable are used
as-is. For example, redirects are not followed. Unlike 3.x, 2.x of the
Maven javadoc plugin does not attempt to follow redirects before links
are passed to the javadoc executable. As a result, for external links
to work, the links that we provide must be canonical and produce a
200 response when accessed.

Closes gh-14031
6 years ago
Andy Wilkinson 76d9b1cdbd Merge branch '2.0.x' 6 years ago
Andy Wilkinson 58aaf4863f Merge pull request #14032 from Nikolay Rybak
* gh-14032:
  Propagate retryWrites flag from connection URI to ReactiveMongoClient
6 years ago
Nikolay Rybak 7759dcd9df Propagate retryWrites flag from connection URI to ReactiveMongoClient
Closes gh-14032
6 years ago
Andy Wilkinson e41519b6b1 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 29e38f4af8 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 384cfd2ad8 Preserve ref and query when creating URL in loader's handler
Closes gh-14011
6 years ago
Stephane Nicoll 095036bddb Merge pull request #14043 from dreis2211:add-missing-override
* pr/14043:
  Add missing @Override
6 years ago
dreis2211 c9bdc98935 Add missing @Override
Closes gh-14043
6 years ago
Stephane Nicoll eede660b84 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f4b0101632 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 3a2c962215 Merge pull request #14046 from frohwerk:master
* pr/14046:
  Fix freemarker documentation link
6 years ago
frohwerk a9f4dbd160 Fix freemarker documentation link
Closes gh-14046
6 years ago
Andy Wilkinson da550efc6b Merge branch '2.0.x' 6 years ago
Andy Wilkinson 263e157ef0 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll bfd616ac7a Prevent JavaFX to be added to the classpath with Java 11
See https://hibernate.atlassian.net/browse/HV-1644
6 years ago
Andy Wilkinson 37bd286985 Perform failure analysis of NoSuchMethodErrors
Closes gh-14040
6 years ago
Stephane Nicoll 0d04d7adf8 Migrate @EventListener to ApplicationListener
Closes gh-14041
6 years ago
Stephane Nicoll 9d40df9a2a Upgrade to Mockito 2.21.0
Closes gh-14039
6 years ago
Stephane Nicoll ca8bdc8a72 Resume building against Spring Framework snapshots
See gh-14038
6 years ago
Stephane Nicoll 817a8a8302 Polish 6 years ago
Stephane Nicoll 0ca8f1083a Fix ClassCastException message detection on Java 11
This commit also fixes the detection of a ClassCastException that can
be safely ignored on the module path with Java 9

Closes gh-14033
6 years ago
Stephane Nicoll 295995829f Remove outdated Java10 profile 6 years ago
Andy Wilkinson 2756d87b3f Merge branch '2.0.x' 6 years ago
Andy Wilkinson 718372edb2 Merge pull request #14019 from ayudovin
* gh-14019:
  Polish "Fix NPE in FlywayEndpoint when migration.installedOn is null"
  Fix NPE in FlywayEndpoint when migration.installedOn is null
6 years ago
Andy Wilkinson 27f5e46587 Polish "Fix NPE in FlywayEndpoint when migration.installedOn is null"
Closes gh-14019
6 years ago