eclipse-jdt / eclipse.jdt.ui

Eclipse Public License 2.0
36 stars 86 forks source link

Deal with unsupported target options in compiler preferences #1572

Closed iloveeclipse closed 1 month ago

iloveeclipse commented 1 month ago

After we dropped support of Java < 1.8 compliance level, we still have to deal with projects that have these setting stored in preferences.

See https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/1465

iloveeclipse commented 1 month ago

Before change

Considering existing Java 1.7 project settings, following will be shown and after "Apply" all values would be set to 1.7 (even if they show 1.8):

image

After change Considering Java 1.7 project settings, following will be shown and after "Apply" all values would be set to 1.8 (as expected):

image