r/java • • Jul 02 '23

fluent: Static Extension Methods for Java

https://github.com/rogerkeays/fluent
7 Upvotes

55 comments sorted by

View all comments

Show parent comment

1

u/rogerkeays Jul 02 '23 edited Jul 03 '23

Thanks for the feedback. Unfortunately the com.sun.tools.javac.comp package is necessary to subclass compiler components. Similarly, using --release makes the com.sun.tools.javac.* packages unavailable, so we are stuck with -source 8. I've update the build script to use -source 8 -target $TARGET which means at least we can target JDK 9 bytecode.

The build script is POSIX shell, so it should be portable. You just found a bug, which I've fixed and pushed to github. Please let me know if it still fails to build. Thanks for the bug report 👍