Top Description Inners Fields Constructors Methods
org.graalvm.polyglot.impl

pack-priv final Class ModuleToUnnamedLogHandlerGen

extends ModuleToUnnamedLogHandler
Class Inheritance
Imports
java.lang.invoke.MethodHandle, .MethodHandles.Lookup, .MethodType, java.util.List, .Objects, org.graalvm.nativeimage.LogHandler, org.graalvm.nativeimage.c.type.CCharPointer, org.graalvm.polyglot.impl.ModuleToUnnamedBridge.ModuleToUnnamedLogHandler, org.graalvm.word.UnsignedWord

Generated code used for Truffle unnamed to named module bridge. This code allows polyglot on the classpath to delegate to polyglot on the module-path. This code is generated by the polyglot annotation processor.asdf

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final ModuleToUnnamedLogHandlerGen.Handles
pack-priv final Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
fatalError()

Implements org.graalvm.nativeimage.LogHandler.fatalError.

Exit the VM because a fatal, non-recoverable error situation has been detected.

public void
flush()

Implements org.graalvm.nativeimage.LogHandler.flush.

Flush the log to its destination.

private static <T extends Throwable> RuntimeException
public void
log(CCharPointer bytes_, UnsignedWord length_)

Implements org.graalvm.nativeimage.LogHandler.log.

Write raw bytes to the log.

Inherited from org.graalvm.polyglot.impl.ModuleToUnnamedBridge.ModuleToUnnamedLogHandler:
methodHandleLookup

Field Detail

HANDLESback to summary
private static final ModuleToUnnamedLogHandlerGen.Handles HANDLES
receiverback to summary
pack-priv final Object receiver

Constructor Detail

ModuleToUnnamedLogHandlerGenback to summary
public ModuleToUnnamedLogHandlerGen(Object receiver)

Method Detail

fatalErrorback to summary
public void fatalError()

Implements org.graalvm.nativeimage.LogHandler.fatalError.

Doc from org.graalvm.nativeimage.LogHandler.fatalError.

Exit the VM because a fatal, non-recoverable error situation has been detected. The implementation of this method must not return, and it must not throw a Java exception. A valid implementation is, e.g., to ask the OS to kill the process.

The methods defined in this interface are called from places where Java object allocation is not possible, e.g., during a garbage collection or before the heap is set up. If an implementation of the interface allocates a Java object or array, an error is reported during image generation.

Annotations
@Override
flushback to summary
public void flush()

Implements org.graalvm.nativeimage.LogHandler.flush.

Doc from org.graalvm.nativeimage.LogHandler.flush.

Flush the log to its destination.

The methods defined in this interface are called from places where Java object allocation is not possible, e.g., during a garbage collection or before the heap is set up. If an implementation of the interface allocates a Java object or array, an error is reported during image generation.

Annotations
@Override
handleException_back to summary
private static <T extends Throwable> RuntimeException handleException_(Throwable t) throws Throwable-:T
Annotations
@SuppressWarnings:unchecked
logback to summary
public void log(CCharPointer bytes_, UnsignedWord length_)

Implements org.graalvm.nativeimage.LogHandler.log.

Doc from org.graalvm.nativeimage.LogHandler.log.

Write raw bytes to the log.

The methods defined in this interface are called from places where Java object allocation is not possible, e.g., during a garbage collection or before the heap is set up. If an implementation of the interface allocates a Java object or array, an error is reported during image generation.

Annotations
@Override
org.graalvm.polyglot.impl back to summary

pack-priv final Class ModuleToUnnamedLogHandlerGen.Handles

extends Object
Class Inheritance
  • java.lang.Object
  • org.graalvm.polyglot.impl.ModuleToUnnamedLogHandlerGen.Handles

Field Summary

Modifier and TypeField and Description
private final MethodHandle
private final MethodHandle
private final MethodHandle

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fatalError_back to summary
private final MethodHandle fatalError_
flush_back to summary
private final MethodHandle flush_
log_back to summary
private final MethodHandle log_

Constructor Detail

Handlesback to summary
pack-priv Handles(MethodHandles.Lookup lookup) throws ReflectiveOperationException