Top For Removal Deprecated
Graal Sdk 24.1.2

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description

Deprecated Item Summary

SinceDeprecated Item and Description
21.1
org.graalvm.nativeimage.hosted.RuntimeReflection.register(boolean finalIsWritable, Field... fields)

Use register(Field...) instead. Parameter finalIsWritable no longer serves a purpose.

21.1
org.graalvm.nativeimage.hosted.RuntimeReflection.register(boolean finalIsWritable, boolean allowUnsafeAccess, Field... fields)

Use register(Field...) instead. Parameters finalIsWritable and allowUnsafeAccess no longer serve a purpose.

19.0
org.graalvm.options.OptionType(String name, T defaultValue, Function<String, T> stringConverter, Consumer<T> validator)

Use OptionType(String, Function, Consumer)

19.0
19.0
22.0
org.graalvm.options.OptionValues.set(OptionKey<T> optionKey, T value)

OptionValues should be read-only. If the value of an option needs to be altered after options are set, then the new value should be stored in the language's context or instrument fields and read from there.

19.0
23.0

Returns:

the Builder
org.graalvm.polyglot.Context.Builder.allowIO
(final boolean
true to enable Input/Output
enabled
)

If the value was previously true pass IOAccess#ALL, otherwise pass IOAccess#NONE.

23.0

Returns:

the Builder
org.graalvm.polyglot.Context.Builder.fileSystem
(final FileSystem
the file system to be installed
fileSystem
)

If a file system was previously set use allowIO(IOAccess.newBuilder().fileSystem(fileSystem).build()).

19.0
org.graalvm.polyglot.Context.Builder.hostClassFilter(Predicate<String>
a predicate that returns true or false for a java qualified class name.
classFilter
)

use allowHostClassLookup(Predicate) instead.

19.0
org.graalvm.polyglot.Source.getInputStream()

use getReader(), getCharacters() or getBytes() instead. The implementation is inefficient and can not distinguish byte and character based sources.

19.0

No API in this release references deprecated elements.