Skip to content

Commit

Permalink
[GR-32030] Espresso: remove version from registration.
Browse files Browse the repository at this point in the history
PullRequest: graal/10005
  • Loading branch information
gilles-duboscq committed Oct 9, 2021
2 parents 498fd94 + bcbc91a commit 5f3e383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;

import com.oracle.truffle.api.ContextThreadLocal;
import com.oracle.truffle.espresso.runtime.EspressoThreadLocalState;
import org.graalvm.home.Version;
import org.graalvm.options.OptionDescriptors;

import com.oracle.truffle.api.CallTarget;
import com.oracle.truffle.api.CompilerDirectives;
import com.oracle.truffle.api.ContextThreadLocal;
import com.oracle.truffle.api.TruffleLanguage;
import com.oracle.truffle.api.TruffleLanguage.Registration;
import com.oracle.truffle.api.instrumentation.ProvidedTags;
Expand All @@ -56,14 +55,14 @@
import com.oracle.truffle.espresso.nodes.interop.GetBindingsNode;
import com.oracle.truffle.espresso.runtime.EspressoContext;
import com.oracle.truffle.espresso.runtime.EspressoExitException;
import com.oracle.truffle.espresso.runtime.EspressoThreadLocalState;
import com.oracle.truffle.espresso.runtime.StaticObject;
import com.oracle.truffle.espresso.runtime.StaticObject.StaticObjectFactory;
import com.oracle.truffle.espresso.substitutions.Substitutions;

@Registration(id = EspressoLanguage.ID, //
name = EspressoLanguage.NAME, //
implementationName = EspressoLanguage.IMPLEMENTATION_NAME, //
version = EspressoLanguage.VERSION, //
contextPolicy = TruffleLanguage.ContextPolicy.EXCLUSIVE, //
dependentLanguages = {"nfi", "llvm"})
@ProvidedTags({StandardTags.RootTag.class, StandardTags.RootBodyTag.class, StandardTags.StatementTag.class})
Expand All @@ -72,7 +71,6 @@ public final class EspressoLanguage extends TruffleLanguage<EspressoContext> {
public static final String ID = "java";
public static final String NAME = "Java";
public static final String IMPLEMENTATION_NAME = "Espresso";
public static final String VERSION = "1.8|11";

// Espresso VM info
public static final String VM_SPECIFICATION_NAME = "Java Virtual Machine Specification";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private boolean handleBuiltins() {

private void printHeader() {
println("GraalVM MultiLanguage Shell " + context.getEngine().getVersion());
println("Copyright (c) 2013-2020, Oracle and/or its affiliates");
println("Copyright (c) 2013-2021, Oracle and/or its affiliates");
for (Language language : languages) {
println(" " + language.getName() + " version " + language.getVersion());
}
Expand Down

0 comments on commit 5f3e383

Please sign in to comment.