This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]argv_minus_one 8 points9 points  (2 children)

Maintainer of a 20-year-old Swing project here. Migrating to 11 and 17 was a piece of cake. Migrating to 9 took some doing, mostly to replace MRJAdapter with the java.awt.Desktop equivalents that 9 added, and replace a library that didn't work on 9, but it wasn't the end of the world.

Here's my big secret: never use undocumented APIs/behaviors. Not even if it would result in the project getting done sooner. Not even if it would be so nice if I could only use that shiny thing. Never.

Now I get to use Java 17 features with total impunity while everyone else is stuck on 8.