8342979: Start of release updates for JDK 25

8342982: Add SourceVersion.RELEASE_25
8342983: Add source 25 and target 25 to javac

Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, darcy, erikj, dholmes
This commit is contained in:
Pavel Rappo 2024-12-05 17:03:27 +00:00
parent 85fedbf668
commit 5cc150c636
98 changed files with 6173 additions and 49 deletions

View file

@ -113,7 +113,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
* corresponding platform visitor type.
*/
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static abstract class AbstractAnnotationValueVisitor<R, P> extends AbstractAnnotationValueVisitorPreview<R, P> {
@ -125,7 +125,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static abstract class AbstractElementVisitor<R, P> extends AbstractElementVisitorPreview<R, P> {
/**
@ -136,7 +136,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static abstract class AbstractTypeVisitor<R, P> extends AbstractTypeVisitorPreview<R, P> {
/**
@ -147,7 +147,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static class ElementKindVisitor<R, P> extends ElementKindVisitorPreview<R, P> {
/**
@ -169,7 +169,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static class ElementScanner<R, P> extends ElementScannerPreview<R, P> {
/**
@ -189,7 +189,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static class SimpleAnnotationValueVisitor<R, P> extends SimpleAnnotationValueVisitorPreview<R, P> {
/**
@ -211,7 +211,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static class SimpleElementVisitor<R, P> extends SimpleElementVisitorPreview<R, P> {
/**
@ -233,7 +233,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static class SimpleTypeVisitor<R, P> extends SimpleTypeVisitorPreview<R, P> {
/**
@ -255,7 +255,7 @@ public abstract class JavacTestingAbstractProcessor extends AbstractProcessor {
}
}
@SupportedSourceVersion(RELEASE_24)
@SupportedSourceVersion(RELEASE_25)
@SuppressWarnings("preview")
public static class TypeKindVisitor<R, P> extends TypeKindVisitorPreview<R, P> {
/**