ksumit opened a new pull request, #40667: URL: https://github.com/apache/spark/pull/40667
### What changes were proposed in this pull request? Building the project against jdk11 on IDE shows errors because `Platform.java` depends on `sun.misc` which is in `jdk.unsupported` module in jdk11. The problem goes away when we pass `java.version` as `11` to maven as system D parameters. This PR set `java.version` to `11` by detecting jdk version automatically and improves build experience. ### Why are the changes needed? It makes build experience on IDE against jdk11 smoother. ### Does this PR introduce _any_ user-facing change? Users won't have to specify java.version in maven parameters any more since the profile gets activated automagically based on the jdk version. ### How was this patch tested? This patch was tested by building locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
