These class files are special; they should not be distributed beyond the control of the developer who chose to use preview features.
about files you generate with --enable-preview.
Also putting preview features into production is impractical unless you control the production environment yourself, since your code will now have both a minimum and maximum JDK version of 19.
3
u/[deleted] Sep 20 '22
You really shouldn’t use preview features in production