- Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustachebug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :R5b96b:">>bugTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
Java 21 #96932 (-Druntime.java=21) breaks java.util.List lookups in Painless scripts.
invalid foreach loop: method [java.util.List, iterator/0] not found member method [java.util.List, add/1] not found member method [java.util.List, asCollection/0] not found member method [java.util.List, asList/0] not found member method [java.util.List, isEmpty/0] not found member method [java.util.List, size/0] not found member method [java.util.List, stream/0] not found :modules:lang-painless:test (57 failures): https://gradle-enterprise.elastic.co/s/dkpi5pcitruwy
:modules:lang-painless:yamlRestTest (6 failures) https://gradle-enterprise.elastic.co/s/rsf3522r44ilc
java -version openjdk version "21-ea" 2023-09-19 OpenJDK Runtime Environment (build 21-ea+27-2343) OpenJDK 64-Bit Server VM (build 21-ea+27-2343, mixed mode, sharing) Refs: #96997
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustachebug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :Ra5pmb:">>bugTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team