Closed LeMikaelF closed 5 years ago
Hmm… no idea why the build fails. It works fine on my machine. I'll look into it.
Turns out, it was a bug in OpenJDK 11. The workaround is simply not to use the diamond operator in a parameterized type, but to specify the type parameter explicitly.
It's annoying, because the fix was backported to OpenJDK 11.0.4, but Travis CI uses 11.0.2. And it doesn't look like you can make Travis use a specific minor version of a JDK.
The extra dependencies seem to break the build tools on Windows because the call to jdeps
is too long (almost 34,000 characters). I'll have to figure out a workaround for this.
Other than that, though, this looks great and works great. I'll merge after I figure out the issue.
I was hoping to future-proof the build tools by fixing this at the command-line level, but it appears there's not really a way to do that with the current state of jdeps
and the limits of Windows' CLI. The build tools still work on Linux, so Travis won't have any problems, but evidently we'll need to be careful with adding dependencies if we want to keep them working on Windows.
Anyhow, replacing spring-boot-starter-data-rest
with spring-data-rest-webmvc
alone keeps it working for now. This'll be merged sometime tonight.
Merged - #23
Changelist
Type of change
Local configuration: