<html><head></head><body> <div dir="auto"><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;">Hi folks!</div><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;">I’m wondering if the idea of “locally” enabled preview features came up yet. It would make it possible to enable certain preview features for a class, package or module by annotating it for example. Doing so would allow to use preview features much easier in production to test them, while keeping the usage “scope” small so that changes can be easily integrated without risking the integrity of the codebase. Of course some feature like virtual threads (by the time they were in preview) could not be enabled in such way due to the consequences to “non preview enabled code” but flexible constructor bodies, module import declarations, perhaps even scoped values and much more could be. </div><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;"><br style=";"></div><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;">Was this idea ever considered yet and if yes, what are the points against it?</div><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;"><br style=";"></div><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;">Best regards,</div><div dir="auto" style="font-style: normal; ; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; ; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; ; ; ; ; ;">Nick Hensel</div><br></div><div><br></div> </body></html>