mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 10:19:13 +00:00
Fix generation of Javadoc on Java 9
This commit fixes Javadoc generation when building with Java 9. It upgrades the Javadoc plugin to a version that is Java 9 compatible (3.0.0-M1) and reworks DevTools to remove usage of @PostConstruct. The latter change is necessary as @PostConstruct is not visible by default when building with Java 9 and, therefore its usage causes Javadoc generation to fail. Closes gh-10029
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ public class HateoasObjenesisCacheDisablerTests {
|
||||
|
||||
@Test
|
||||
public void cacheIsDisabled() {
|
||||
new HateoasObjenesisCacheDisabler().doDisableCaching();
|
||||
new HateoasObjenesisCacheDisabler().afterPropertiesSet();
|
||||
assertThat(this.objenesis.getInstantiatorOf(TestObject.class))
|
||||
.isNotSameAs(this.objenesis.getInstantiatorOf(TestObject.class));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user