clintropolis commented on PR #18759: URL: https://github.com/apache/druid/pull/18759#issuecomment-3554561707
>Is there a way to just detect to use JDK 11 compiler when a Hadoop profile is being used? This way the project doesn't stagnate and isn't pinned down by deprecated features (for example, enabling virtual thread or other JDK 17+ features). Virtual thread is 21 but same point applies I guess. I think we are just doing this artificial language level restriction until Druid 37 which iirc is the current target for removing hadoop support from the dev list threads. There is such a thing as multi-release jars which allow using new language features but still supporting older versions, but this are kind of tedious and only very very recently even supported by intellij (and I haven't had a chance to play around much with that support so unsure how usable it is yet.. also not sure about other ide support), so should be reserved for specific features where the benefits outweigh the cost in complexity I think. -- 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]
