8225644: C1 dumps incorrect class name in ClassCastException message
Reviewed-by: vlivanov, bsrbnd
Contributed-by: fujie@loongson.cn, bsrbnd@gmail.com
#
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# ##########################################################
# ### THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. ###
# ##########################################################
#
class name jdk/nashorn/api/scripting/AbstractJSObject
header extends java/lang/Object implements jdk/nashorn/api/scripting/JSObject flags 421 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor ()V flags 1
method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 81
method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 81
method name eval descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1
method name getMember descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1
method name getSlot descriptor (I)Ljava/lang/Object; flags 1
method name hasMember descriptor (Ljava/lang/String;)Z flags 1
method name hasSlot descriptor (I)Z flags 1
method name removeMember descriptor (Ljava/lang/String;)V flags 1
method name setMember descriptor (Ljava/lang/String;Ljava/lang/Object;)V flags 1
method name setSlot descriptor (ILjava/lang/Object;)V flags 1
method name keySet descriptor ()Ljava/util/Set; flags 1 signature ()Ljava/util/Set<Ljava/lang/String;>;
method name values descriptor ()Ljava/util/Collection; flags 1 signature ()Ljava/util/Collection<Ljava/lang/Object;>;
method name isInstance descriptor (Ljava/lang/Object;)Z flags 1
method name isInstanceOf descriptor (Ljava/lang/Object;)Z flags 1
method name getClassName descriptor ()Ljava/lang/String; flags 1
method name isFunction descriptor ()Z flags 1
method name isStrictFunction descriptor ()Z flags 1
method name isArray descriptor ()Z flags 1
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object;
method name getDefaultValue descriptor (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class;)Ljava/lang/Object; flags 9 signature (Ljdk/nashorn/api/scripting/JSObject;Ljava/lang/Class<*>;)Ljava/lang/Object;
class name jdk/nashorn/api/scripting/ClassFilter
header extends java/lang/Object flags 601 runtimeAnnotations @Ljdk/Exported;
method name exposeToScripts descriptor (Ljava/lang/String;)Z flags 401
class name jdk/nashorn/api/scripting/JSObject
header extends java/lang/Object flags 601 runtimeAnnotations @Ljdk/Exported;
method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 481
method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 481
method name eval descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 401
method name getMember descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 401
method name getSlot descriptor (I)Ljava/lang/Object; flags 401
method name hasMember descriptor (Ljava/lang/String;)Z flags 401
method name hasSlot descriptor (I)Z flags 401
method name removeMember descriptor (Ljava/lang/String;)V flags 401
method name setMember descriptor (Ljava/lang/String;Ljava/lang/Object;)V flags 401
method name setSlot descriptor (ILjava/lang/Object;)V flags 401
method name keySet descriptor ()Ljava/util/Set; flags 401 signature ()Ljava/util/Set<Ljava/lang/String;>;
method name values descriptor ()Ljava/util/Collection; flags 401 signature ()Ljava/util/Collection<Ljava/lang/Object;>;
method name isInstance descriptor (Ljava/lang/Object;)Z flags 401
method name isInstanceOf descriptor (Ljava/lang/Object;)Z flags 401
method name getClassName descriptor ()Ljava/lang/String; flags 401
method name isFunction descriptor ()Z flags 401
method name isStrictFunction descriptor ()Z flags 401
method name isArray descriptor ()Z flags 401
method name toNumber descriptor ()D flags 401 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
class name jdk/nashorn/api/scripting/NashornException
header extends java/lang/RuntimeException flags 421 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor (Ljava/lang/String;Ljava/lang/String;II)V flags 4
method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/String;II)V flags 4
method name <init> descriptor (Ljava/lang/String;Ljava/lang/Throwable;)V flags 4
method name getFileName descriptor ()Ljava/lang/String; flags 11
method name setFileName descriptor (Ljava/lang/String;)V flags 11
method name getLineNumber descriptor ()I flags 11
method name setLineNumber descriptor (I)V flags 11
method name getColumnNumber descriptor ()I flags 11
method name setColumnNumber descriptor (I)V flags 11
method name getScriptFrames descriptor (Ljava/lang/Throwable;)[Ljava/lang/StackTraceElement; flags 9
method name getScriptStackString descriptor (Ljava/lang/Throwable;)Ljava/lang/String; flags 9
method name getThrown descriptor ()Ljava/lang/Object; flags 4
method name initEcmaError descriptor (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/api/scripting/NashornException; flags 4
method name getEcmaError descriptor ()Ljava/lang/Object; flags 1
method name setEcmaError descriptor (Ljava/lang/Object;)V flags 1
class name jdk/nashorn/api/scripting/NashornScriptEngine
header extends javax/script/AbstractScriptEngine implements javax/script/Compilable,javax/script/Invocable flags 31 runtimeAnnotations @Ljdk/Exported;
innerclass innerClass java/lang/invoke/MethodHandles$Lookup outerClass java/lang/invoke/MethodHandles innerClassName Lookup flags 19
field name NASHORN_GLOBAL descriptor Ljava/lang/String; constantValue nashorn.global flags 19
method name eval descriptor (Ljava/io/Reader;Ljavax/script/ScriptContext;)Ljava/lang/Object; thrownTypes javax/script/ScriptException flags 1
method name eval descriptor (Ljava/lang/String;Ljavax/script/ScriptContext;)Ljava/lang/Object; thrownTypes javax/script/ScriptException flags 1
method name getFactory descriptor ()Ljavax/script/ScriptEngineFactory; flags 1
method name createBindings descriptor ()Ljavax/script/Bindings; flags 1
method name compile descriptor (Ljava/io/Reader;)Ljavax/script/CompiledScript; thrownTypes javax/script/ScriptException flags 1
method name compile descriptor (Ljava/lang/String;)Ljavax/script/CompiledScript; thrownTypes javax/script/ScriptException flags 1
method name invokeFunction descriptor (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; thrownTypes javax/script/ScriptException,java/lang/NoSuchMethodException flags 81
method name invokeMethod descriptor (Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; thrownTypes javax/script/ScriptException,java/lang/NoSuchMethodException flags 81
method name getInterface descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
method name getInterface descriptor (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
class name jdk/nashorn/api/scripting/NashornScriptEngineFactory
header extends java/lang/Object implements javax/script/ScriptEngineFactory flags 31 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor ()V flags 1
method name getEngineName descriptor ()Ljava/lang/String; flags 1
method name getEngineVersion descriptor ()Ljava/lang/String; flags 1
method name getExtensions descriptor ()Ljava/util/List; flags 1 signature ()Ljava/util/List<Ljava/lang/String;>;
method name getLanguageName descriptor ()Ljava/lang/String; flags 1
method name getLanguageVersion descriptor ()Ljava/lang/String; flags 1
method name getMethodCallSyntax descriptor (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String; flags 81
method name getMimeTypes descriptor ()Ljava/util/List; flags 1 signature ()Ljava/util/List<Ljava/lang/String;>;
method name getNames descriptor ()Ljava/util/List; flags 1 signature ()Ljava/util/List<Ljava/lang/String;>;
method name getOutputStatement descriptor (Ljava/lang/String;)Ljava/lang/String; flags 1
method name getParameter descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1
method name getProgram descriptor ([Ljava/lang/String;)Ljava/lang/String; flags 81
method name getScriptEngine descriptor ()Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor (Ljava/lang/ClassLoader;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor (Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor ([Ljava/lang/String;)Ljavax/script/ScriptEngine; flags 81
method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/script/ScriptEngine; flags 1
method name getScriptEngine descriptor ([Ljava/lang/String;Ljava/lang/ClassLoader;Ljdk/nashorn/api/scripting/ClassFilter;)Ljavax/script/ScriptEngine; flags 1
class name jdk/nashorn/api/scripting/ScriptObjectMirror
header extends jdk/nashorn/api/scripting/AbstractJSObject implements javax/script/Bindings flags 31 runtimeAnnotations @Ljdk/Exported;
innerclass innerClass java/util/Map$Entry outerClass java/util/Map innerClassName Entry flags 609
method name equals descriptor (Ljava/lang/Object;)Z flags 1
method name hashCode descriptor ()I flags 1
method name toString descriptor ()Ljava/lang/String; flags 1
method name call descriptor (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; flags 81
method name newObject descriptor ([Ljava/lang/Object;)Ljava/lang/Object; flags 81
method name eval descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1
method name callMember descriptor (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; flags 81
method name getMember descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1
method name getSlot descriptor (I)Ljava/lang/Object; flags 1
method name hasMember descriptor (Ljava/lang/String;)Z flags 1
method name hasSlot descriptor (I)Z flags 1
method name removeMember descriptor (Ljava/lang/String;)V flags 1
method name setMember descriptor (Ljava/lang/String;Ljava/lang/Object;)V flags 1
method name setSlot descriptor (ILjava/lang/Object;)V flags 1
method name setIndexedPropertiesToExternalArrayData descriptor (Ljava/nio/ByteBuffer;)V flags 1
method name isInstance descriptor (Ljava/lang/Object;)Z flags 1
method name getClassName descriptor ()Ljava/lang/String; flags 1
method name isFunction descriptor ()Z flags 1
method name isStrictFunction descriptor ()Z flags 1
method name isArray descriptor ()Z flags 1
method name clear descriptor ()V flags 1
method name containsKey descriptor (Ljava/lang/Object;)Z flags 1
method name containsValue descriptor (Ljava/lang/Object;)Z flags 1
method name entrySet descriptor ()Ljava/util/Set; flags 1 signature ()Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
method name get descriptor (Ljava/lang/Object;)Ljava/lang/Object; flags 1
method name isEmpty descriptor ()Z flags 1
method name keySet descriptor ()Ljava/util/Set; flags 1 signature ()Ljava/util/Set<Ljava/lang/String;>;
method name put descriptor (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; flags 1
method name putAll descriptor (Ljava/util/Map;)V flags 1 signature (Ljava/util/Map<+Ljava/lang/String;+Ljava/lang/Object;>;)V
method name remove descriptor (Ljava/lang/Object;)Ljava/lang/Object; flags 1
method name delete descriptor (Ljava/lang/Object;)Z flags 1
method name size descriptor ()I flags 1
method name values descriptor ()Ljava/util/Collection; flags 1 signature ()Ljava/util/Collection<Ljava/lang/Object;>;
method name getProto descriptor ()Ljava/lang/Object; flags 1
method name setProto descriptor (Ljava/lang/Object;)V flags 1
method name getOwnPropertyDescriptor descriptor (Ljava/lang/String;)Ljava/lang/Object; flags 1
method name getOwnKeys descriptor (Z)[Ljava/lang/String; flags 1
method name preventExtensions descriptor ()Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 1
method name isExtensible descriptor ()Z flags 1
method name seal descriptor ()Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 1
method name isSealed descriptor ()Z flags 1
method name freeze descriptor ()Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 1
method name isFrozen descriptor ()Z flags 1
method name isUndefined descriptor (Ljava/lang/Object;)Z flags 9
method name to descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
method name wrap descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrapAsJSONCompatible descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name unwrap descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrapArray descriptor ([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name unwrapArray descriptor ([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name identical descriptor (Ljava/lang/Object;Ljava/lang/Object;)Z flags 9
method name toNumber descriptor ()D flags 1 deprecated true runtimeAnnotations @Ljava/lang/Deprecated;
method name getDefaultValue descriptor (Ljava/lang/Class;)Ljava/lang/Object; flags 1 signature (Ljava/lang/Class<*>;)Ljava/lang/Object;
method name put descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 1041
class name jdk/nashorn/api/scripting/ScriptUtils
header extends java/lang/Object flags 31 runtimeAnnotations @Ljdk/Exported;
method name parse descriptor (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; flags 9
method name format descriptor (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; flags 9
method name makeSynchronizedFunction descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrap descriptor (Ljava/lang/Object;)Ljdk/nashorn/api/scripting/ScriptObjectMirror; flags 9
method name unwrap descriptor (Ljava/lang/Object;)Ljava/lang/Object; flags 9
method name wrapArray descriptor ([Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name unwrapArray descriptor ([Ljava/lang/Object;)[Ljava/lang/Object; flags 9
method name convert descriptor (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; flags 9
class name jdk/nashorn/api/scripting/URLReader
header extends java/io/Reader flags 31 runtimeAnnotations @Ljdk/Exported;
method name <init> descriptor (Ljava/net/URL;)V flags 1
method name <init> descriptor (Ljava/net/URL;Ljava/lang/String;)V flags 1
method name <init> descriptor (Ljava/net/URL;Ljava/nio/charset/Charset;)V flags 1
method name read descriptor ([CII)I thrownTypes java/io/IOException flags 1
method name close descriptor ()V thrownTypes java/io/IOException flags 1
method name getURL descriptor ()Ljava/net/URL; flags 1
method name getCharset descriptor ()Ljava/nio/charset/Charset; flags 1