Fix containsRelease method to check for --release instead of -release in JavacOptions

This commit is contained in:
Erik C. Thauvin 2025-12-27 18:40:50 -08:00
parent 585325dd46
commit 26ff495b79
No known key found for this signature in database
GPG key ID: 776702A6A2DA330E

View file

@ -301,7 +301,7 @@ public class JavacOptions extends ArrayList<String> {
* @since 1.5.18
*/
public boolean containsRelease() {
return contains("-release");
return contains("--release");
}
/**