Commit Graph

13544 Commits (df235d62435fabf3131167face1f926a82580844)
 

Author SHA1 Message Date
Stephane Nicoll df235d6243 Merge pull request #10467 from dreis2211:remove-redundant-tostring
* pr/10467:
  Remove redundant toString() calls
7 years ago
dreis2211 f72c04286b Remove redundant toString() calls
Closes gh-10467
7 years ago
Stephane Nicoll c795688864 Merge pull request #10444 from pavelda2:master
* pr/10444:
  Reuse spring.ldap.base in Embedded support
7 years ago
David Pavel 0fbc5def32 Reuse spring.ldap.base in Embedded support
Closes gh-10444
7 years ago
Andy Wilkinson 2c7924ba11 Update to Spring Kafka 2.0.0.RELEASE
Closes gh-10328
7 years ago
Andy Wilkinson 5a13a32f6c Revert "Reinstate testing of Jetty JSP sample on Java 9"
This reverts commit bbca612a57.
StandardJarScanner, which contains the faulty assumption about
URLClassLoader is part of Jasper. Jetty, like Tomcat, uses Jasper for
JSPs so it's also affected.

See gh-10456
7 years ago
Stephane Nicoll 157db9a4de Merge pull request #10451 from dreis2211:string-is-empty
* pr/10451:
  Replace some String.length() checks with String.isEmpty()
7 years ago
dreis2211 756398b52c Replace some String.length() checks with String.isEmpty()
Closes gh-10451
7 years ago
Phillip Webb b08e51f0b3 Increase WebClient testing timeout 7 years ago
Phillip Webb 69a1eebf68 Polish 7 years ago
Phillip Webb 14af3463ec Polish whitespace 7 years ago
Madhura Bhave f1cfad6755 Handle required parameters in endpoint infrastructure
Closes gh-10372
7 years ago
Andy Wilkinson c903f87429 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 663cae1255 Note behaviour of @MockBean and @SpyBean with non-bean dependencies
Closes gh-10381
7 years ago
Stephane Nicoll bcdc6958f0 Merge pull request #10447 from jfarcand:master
* pr/10447:
  Upgrade sample to Atmosphere 2.4.14
7 years ago
jfarcand 9dbc3e25bb Upgrade sample to Atmosphere 2.4.14
Closes gh-10447
7 years ago
Stephane Nicoll ce8b59fc7d Extract configuration of MessageSourceAutoConfiguration
This commit extracts the configuration of MessageSourceAutoConfiguration
in a dedicated object.

Closes gh-9666
7 years ago
Andy Wilkinson bbca612a57 Reinstate testing of Jetty JSP sample on Java 9
See gh-10456
7 years ago
Andy Wilkinson 082258952a Fall back to JVM's class path when finding jars with static resources
Previously, StaticResourceJars would only find jars with
META-INF/resources content if it had been loaded by a URLClassLoader.
This is not the case on Java 9 and, as a result, static content in
META-INF/resources of any jars on the class path was not found.

This commit updates StaticResourceJars to fall back to using the
JVM's class path to find static resource jars when it was loaded by
a ClassLoader that is not a URLClassLoader.

Closes gh-10455
7 years ago
Andy Wilkinson ce77f48c3f Fall back to JVM's class path when TCCL is not a URLClassLoader
Previously, DevTools assumed that the TCCL was a URLClassLoader
when trying to determine the URLs that it should examine to determine
the locations that should be watched for triggering a restart. This
fails on Java 9 as the TCCL is not a URLClassLoader.

This commit updates the logic that determines the changeable URLs to
fall back to examining the JVM's class path when the TCCL is not a
URLClassLoader, typically because the application is running on Java
9. This fall back isn't a direct equivalent of the behaviour on Java 8
as the class path of the TCCL and the class path with which the JVM
was launched may not be the same. However, I consider the fix to be
reasonable for two reasons:

1. In reality, the class path of the TCCL and the class path with
   which the JVM was launched are the same.
2. There appears to be now to get the URLs on the class path of the
   TCCL on Java 9. There is a URLClassPath field, however Java 9's
   access restrictions prevent us from using it even if we resort to
   reflection.

Closes gh-10454
7 years ago
Andy Wilkinson b152b98f84 Improve diagnostics in DevTools integration tests
See gh-10454
7 years ago
Andy Wilkinson 5cf48a29a5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson f01bb8e175 Polish 7 years ago
Andy Wilkinson b6a0d67332 Merge branch '1.5.x' 7 years ago
Andy Wilkinson c27d678b81 Improve handling of absolute URLs in Class-Path manifest attribute
Closes gh-10268
7 years ago
Stephane Nicoll 75dbe5c2de Include java.xml.ws module when running on Java 9
See gh-7226
7 years ago
Stephane Nicoll 5ba2906045 Disable JSP sample tests on Java 9
See gh-10456
7 years ago
Stephane Nicoll 8637547509 Disable embedded server integration tests on Java 9
See gh-10455
7 years ago
Stephane Nicoll 8f8b1371b7 Disable devtools integration tests on Java 9
See gh-10454
7 years ago
Stephane Nicoll eddf27320f Configuring Surefire for samples when running on Java 9
See gh-7226
7 years ago
Stephane Nicoll 4caeed2ac4 Disable cassandra test on Java 9
See gh-10453
7 years ago
Andy Wilkinson eefdbb7341 Merge Actuator's loggers package into its logging package
Closes gh-10430
7 years ago
Andy Wilkinson 94fefbf8a6 Update to Lettuce 5.0.0.RELEASE
Closes gh-10439
7 years ago
Stephane Nicoll 27a59579db Polish 7 years ago
Andy Wilkinson 46155ca5da Tolerate illegal reflective access warnings when testing with Java 9
See gh-7226
7 years ago
Andy Wilkinson ebf3b47305 Make ExtendedGroovyClassLoader compatible with Java 9
Closes gh-10445
7 years ago
Phillip Webb bec2e97b95 Polish 7 years ago
Madhura Bhave c592e3b67d Simplify AuthenticationManagerConfiguration
Simplify `AuthenticationManagerConfiguration` following the recent
Spring Security auto-configuration updates.

See gh-7958
7 years ago
Phillip Webb 93f6168fd0 Polish 7 years ago
Stephane Nicoll 52babaa2d2 Upgrade to Spring Framework 5.0.0.RELEASE
Closes gh-10325
7 years ago
Stephane Nicoll fa78170d78 Fix LiquibaseAutoConfigurationTests with Java 9
Liquibase does not currently work with Java 9. This commit disables on
test reproducing that behaviour when running with that version.

See gh-10442
7 years ago
Stephane Nicoll 6bf33774fe Fix ConditionalOnJavaTests with Java 9
See gh-7226
7 years ago
Stephane Nicoll 1403ff1b00 Add a way to run a test only with a certain Java version
Closes gh-9530
7 years ago
Stephane Nicoll 0ccd57285f Move JavaVersion to a reusable location. 7 years ago
Andy Wilkinson 2c2b9be4be Fix Jackson custom locale with Joda Time test on Java 9
The translations for the timezone names vary between Java 8 and Java
9. For example, with Java 9, UTC's name is no longer localized while
others have different localizations. This commit updates the test
to verify that the correct locale is being used while also tolerating
the different localization's of Java 8 and 9.

See gh-7226
7 years ago
Andy Wilkinson f396740a2f Rename Micrometer Clock bean: clock -> micrometerClock
Closes gh-10436
7 years ago
Andy Wilkinson 0e2d34cdb4 Remove additional auto-configured security configurers
Closes gh-10435
7 years ago
Andy Wilkinson 8f9b47aa4c Start building against Lettuce snapshots for 5.0.0.RELEASE
See gh-10439
7 years ago
Andy Wilkinson 644e43b98c Polish 7 years ago
Phillip Webb 9e43b99966 Polish 7 years ago