Introduce language levels for Java 22

GitOrigin-RevId: cbc48e46a05c15e13d3c5e23cf32ae5f958ef615
This commit is contained in:
Bas Leijdekkers
2023-12-06 17:40:17 +01:00
committed by intellij-monorepo-bot
parent 6af83312d0
commit 0b59d209aa
6 changed files with 79 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.module;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.roots.LanguageLevelModuleExtension;
@@ -84,8 +83,8 @@ public final class LanguageLevelUtil {
ourPresentableShortMessage.put(LanguageLevel.JDK_19, "20");
ourPresentableShortMessage.put(LanguageLevel.JDK_20, "21");
ourPresentableShortMessage.put(LanguageLevel.JDK_20_PREVIEW, "21");
//ourPresentableShortMessage.put(LanguageLevel.JDK_21, "22");
//ourPresentableShortMessage.put(LanguageLevel.JDK_21_PREVIEW, "22");
ourPresentableShortMessage.put(LanguageLevel.JDK_21, "22");
ourPresentableShortMessage.put(LanguageLevel.JDK_21_PREVIEW, "22");
}
@Nullable

View File

@@ -0,0 +1,68 @@
jdk.jfr.events.StackFilter
jdk.xml.internal.JdkConstants#DTD_PROPNAME
jdk.xml.internal.JdkConstants#JDKCATALOG_RESOLVE
javax.xml.catalog.CatalogManager#catalogResolver(Catalog;CatalogResolver.NotFoundAction;)
javax.xml.catalog.CatalogResolver.NotFoundAction
jdk.internal.util.ImmutableBitSetPredicate#of(BitSet;)
java.io.Console#isTerminal()
java.net.InetAddress#ofLiteral(String;)
java.net.Inet4Address#ofLiteral(String;)
java.net.Inet6Address#ofLiteral(String;)
java.nio.file.Path#resolve(java.nio.file.Path;java.nio.file.Path[];)
java.nio.file.Path#resolve(String;String[];)
java.nio.charset.StandardCharsets#UTF_32BE
java.nio.charset.StandardCharsets#UTF_32LE
java.nio.charset.StandardCharsets#UTF_32
java.nio.channels.FileChannel#map(java.nio.channels.FileChannel.MapMode;long;long;Arena;)
java.lang.invoke.MethodHandles#filterValue(VarHandle;MethodHandle;MethodHandle;)
java.lang.invoke.MethodHandles#filterCoordinates(VarHandle;int;MethodHandle[];)
java.lang.invoke.MethodHandles#insertCoordinates(VarHandle;int;Object[];)
java.lang.invoke.MethodHandles#permuteCoordinates(VarHandle;List<Class<?>>;int[];)
java.lang.invoke.MethodHandles#collectCoordinates(VarHandle;int;MethodHandle;)
java.lang.invoke.MethodHandles#dropCoordinates(VarHandle;int;Class<?>[];)
java.lang.foreign.Arena
java.lang.foreign.SymbolLookup
java.lang.foreign.SegmentAllocator
java.lang.reflect.ClassFileFormatVersion#RELEASE_22
java.lang.Class#forPrimitiveName(String;)
java.lang.Module#isNativeAccessEnabled()
java.lang.Character.UnicodeBlock#CJK_UNIFIED_IDEOGRAPHS_EXTENSION_I
java.lang.ModuleLayer.Controller#enableNativeAccess(Module;)
java.lang.StackWalker.Option#DROP_METHOD_INFO
java.text.ListFormat.Type
java.text.ListFormat.Style
java.text.ListFormat
java.util.random.RandomGenerator#equiDoubles(double;double;boolean;boolean;)
java.util.concurrent.ForkJoinPool#invokeAllUninterruptibly(Collection<? extends Callable<T>>;)
java.util.concurrent.ForkJoinTask#adaptInterruptible(Runnable;T;)
java.util.concurrent.ForkJoinTask#adaptInterruptible(Runnable;)
java.security.interfaces.ECPublicKey#getParams()
java.security.interfaces.DSAPublicKey#getParams()
java.security.interfaces.ECPrivateKey#getParams()
java.security.interfaces.RSAPublicKey#getParams()
java.security.interfaces.XECPublicKey#getParams()
java.security.interfaces.DSAPrivateKey#getParams()
java.security.interfaces.EdECPublicKey#getParams()
java.security.interfaces.RSAPrivateKey#getParams()
java.security.interfaces.XECPrivateKey#getParams()
java.security.interfaces.EdECPrivateKey#getParams()
java.security.AsymmetricKey
javax.crypto.interfaces.DHPublicKey#getParams()
javax.crypto.interfaces.DHPrivateKey#getParams()
jdk.jshell.execution.JdiInitiator#runListenProcess(String;int;List<String>;jdk.jshell.execution.JdiInitiator.ProcessStarted;)
jdk.jshell.execution.JdiInitiator.ProcessStarted
jdk.jshell.execution.JdiDefaultExecutionControl.JdiStarter
jdk.jshell.execution.JdiExecutionControlProvider#JdiExecutionControlProvider(JdiStarter;)
com.sun.source.tree.Tree.Kind#ANY_PATTERN
com.sun.source.tree.TreeVisitor#visitAnyPattern(AnyPatternTree;P;)
com.sun.source.tree.AnyPatternTree
com.sun.source.util.DocTreeFactory#newInheritDocTree(ReferenceTree;)
com.sun.source.util.SimpleTreeVisitor#visitAnyPattern(AnyPatternTree;P;)
com.sun.source.doctree.InheritDocTree#getSupertype()
javax.lang.model.util.Elements#getEnumConstantBody(VariableElement;)
javax.lang.model.element.VariableElement#isUnnamed()
javax.lang.model.SourceVersion#RELEASE_22
javax.xml.crypto.dsig.SignatureMethod#SHA3_224_RSA_MGF1
javax.xml.crypto.dsig.SignatureMethod#SHA3_256_RSA_MGF1
javax.xml.crypto.dsig.SignatureMethod#SHA3_384_RSA_MGF1
javax.xml.crypto.dsig.SignatureMethod#SHA3_512_RSA_MGF1