sun.rmi.rmic.RMIGenerator.class Maven / Gradle / Ivy
???? 1?
? ??
???
???
???
?
??
? ? ?
?????
?
?
?
?
?
????
+?
??
???
?
????
+? ?
? ? ?
????
,? ?
??
??
,??
,?
+?
+?
??
+
? ?
+
?
?
??
?
?
?
!
?"#
?$
,%&'
() *
?+,
-.
??/
0
1
234
567 89: ;<=>?@
A
BC
DEFGHI
JK
LMNOPQRS
N?
NT
UV
W
UX
NYZ
U[\]^
?
_
?`a
Ubcde
fg
Nh
,ijkl
mn op qr
,stus
vwx yz{|}~
? ?????
??????????? ???
??
??
??
??
??
??
?????
??? ? ??????????
?????? ?????
?????
????????
????????
N????
?????
N?
????????
?
U?
U??
U?
U???????????????????????????????????
env Lsun/rmi/rmic/BatchEnvironment; remoteClass Lsun/rmi/rmic/RemoteClass; version I
remoteMethods Method InnerClasses "[Lsun/rmi/rmic/RemoteClass$Method; remoteClassName Lsun/tools/java/Identifier;
stubClassName skeletonClassName cdef Lsun/tools/java/ClassDefinition; destDir Ljava/io/File; stubFile skeletonFile methodFieldNames [Ljava/lang/String; defException defRemoteException defRuntimeException ()V Code LineNumberTable LocalVariableTable this Lsun/rmi/rmic/RMIGenerator; parseArgs )([Ljava/lang/String;Lsun/rmi/rmic/Main;)Z i argv main Lsun/rmi/rmic/Main; generate P(Lsun/rmi/rmic/BatchEnvironment;Lsun/tools/java/ClassDefinition;Ljava/io/File;)V e Lsun/tools/java/ClassNotFound; gen out Lsun/rmi/rmic/IndentingWriter; Ljava/io/IOException; outputDir skeletonClassFile sourceFileForClass s(Lsun/tools/java/Identifier;Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/BatchEnvironment;)Ljava/io/File; classNameStr Ljava/lang/String; temp className outputClassName
packageDir
outputName outputFileName k(Lsun/rmi/rmic/BatchEnvironment;Lsun/tools/java/ClassDefinition;Ljava/io/File;Lsun/rmi/rmic/RemoteClass;I)V
Exceptions writeStub !(Lsun/rmi/rmic/IndentingWriter;)V p remoteInterfaces ![Lsun/tools/java/ClassDefinition; writeStubConstructors writeStubMethod "(Lsun/rmi/rmic/IndentingWriter;I)V
objectRead Z def enumeration Ljava/util/Enumeration; opnum method !Lsun/rmi/rmic/RemoteClass$Method;
methodName
methodType Lsun/tools/java/Type;
paramTypes [Lsun/tools/java/Type;
paramNames
returnType
exceptions "[Lsun/tools/java/ClassDeclaration; catchList Ljava/util/Vector; computeUniqueCatchList 6([Lsun/tools/java/ClassDeclaration;)Ljava/util/Vector; j decl !Lsun/tools/java/ClassDeclaration;
uniqueList
writeSkeleton writeSkeletonDispatchCase objectsRead writeOperationsArray writeInterfaceHash writeMethodFieldDeclarations writeMethodFieldInitializers !Lsun/tools/java/MemberDefinition; nameMethodFields 7([Lsun/rmi/rmic/RemoteClass$Method;)[Ljava/lang/String; methods names nameParameters +([Lsun/tools/java/Type;)[Ljava/lang/String; types generateNameFromType )(Lsun/tools/java/Type;)Ljava/lang/String; type typeCode writeMarshalArgument Z(Lsun/rmi/rmic/IndentingWriter;Ljava/lang/String;Lsun/tools/java/Type;Ljava/lang/String;)V
streamName name writeMarshalArguments \(Lsun/rmi/rmic/IndentingWriter;Ljava/lang/String;[Lsun/tools/java/Type;[Ljava/lang/String;)V writeUnmarshalArgument Z(Lsun/rmi/rmic/IndentingWriter;Ljava/lang/String;Lsun/tools/java/Type;Ljava/lang/String;)Z
readObject writeUnmarshalArguments \(Lsun/rmi/rmic/IndentingWriter;Ljava/lang/String;[Lsun/tools/java/Type;[Ljava/lang/String;)Z wrapArgumentCode ;(Lsun/tools/java/Type;Ljava/lang/String;)Ljava/lang/String; unwrapArgumentCode
SourceFile RMIGenerator.javaabKL -v1.1 -vcompat -v1.2 sun/rmi/rmic/RMIGeneratora? sun/tools/java/ClassNotFound rmic.class.not.found?SnbGHZY sun/rmi/rmic/IndentingWriter java/io/OutputStreamWriter java/io/FileOutputStreamaaa??b
rmic.wrote java/lang/Object !"#$ sun/tools/java/ClassFile%& java/io/IOException
cant.write'[Y??RSXY()* java/io/File java/lang/StringBuilderUS+,-./ .classa01234 _Skel56789:;<? warn.rmic.tie.found=> .javaVWIJ?@MQA4TSB4??\]xyCSDEFGH^WIS_WJS`W -// Stub class generated by rmic, do not edit.K$ -// Contents subject to change without notice.KbL package M-.N ; public final class O$ extends PSQR implements ?$ , {S$???? /private static final long serialVersionUID = 2; $private static boolean useNewInvoke;?? static { try {TS .class.getMethod("invoke", new java.lang.Class[] {US .class, java.lang.reflect.Method.class, java.lang.Object[].class,
long.class });V$Wb useNewInvoke = true;?? -} catch (java.lang.NoSuchMethodException e) { useNewInvoke = false; &throw new java.lang.NoSuchMethodError( $"stub class initialization failed"); }?? !// methods from remote interfaces?? // constructors public () { super(); ( ref) { super(ref);XYZ[\??]Y^_ // implementation of `a ) throws ??bc if (useNewInvoke) {de Object $result = ref.invoke(this, new java.lang.Object[] {?? nullfg.h L); return $result?? } else {iS call = ref.newCall((jS ) this, operations, .k , interfaceHash); 2java.io.ObjectOutput out = call.getOutputStream();?? !} catch (java.io.IOException e) {
throw new lS #("error marshalling arguments", e); ref.invoke(call); ref.done(call); $result; /java.io.ObjectInput in = call.getInputStream(); in??mS "("error unmarshalling return", e); .} catch (java.lang.ClassNotFoundException e) { } finally { return $result;nopqrs sun/tools/java/ClassDefinition } catch ( e) { throw e; !} catch (java.lang.Exception e) {tS $("undeclared checked exception", e); java/util/Vectoruvwxybzx{|}~ class.not.found java/lang/Error (should not generate skeleton for versiona$ 1// Skeleton class generated by rmic, do not edit.S?S [] getOperations() { return ( []) operations.clone(); public void dispatch( obj, call, int opnum, long hash) throws java.lang.Exception if (opnum < 0) { } else W$ if (hash == L) { opnum = ("invalid method hash"); if (hash != interfaceHash)?S ("interface hash mismatch"); server = ( ) obj; switch (opnum) {?? default: ("invalid method number"); case : // ?? %("error unmarshalling arguments", e); call.releaseInputStream(); $result = server. ); java.io.ObjectOutput out = call.getResultStream(true);?? ("error marshalling return", e); break; private static final [] operations = { , new ("? ") }; *private static final long interfaceHash = ?g L; (private static java.lang.reflect.Method = ???G? .class.getMethod(" ", new java.lang.Class[] { java/lang/String $method_ _ $param_???c arrayOf_?Y?- unexpected type code: .writeBoolean( .writeByte( .writeChar( .writeShort(
.writeInt( .writeLong( .writeFloat(
.writeDouble(
.writeObject( -paramter type and name arrays different sizes .readBoolean() .readByte() .readChar() .readShort()
.readInt() .readLong() .readFloat()
.readDouble() )
.readObject() new java.lang.Boolean( new java.lang.Byte( new java.lang.Character( new java.lang.Short( new java.lang.Integer( new java.lang.Long( new java.lang.Float( new java.lang.Double( ((java.lang.Boolean) ).booleanValue() ((java.lang.Byte)
).byteValue() ((java.lang.Character)
).charValue() ((java.lang.Short) ).shortValue() ((java.lang.Integer) ).intValue() ((java.lang.Long)
).longValue() ((java.lang.Float) ).floatValue() ((java.lang.Double) ).doubleValue() (( sun/rmi/rmic/RMIConstants sun/rmi/rmic/Generator sun/rmi/rmic/RemoteClass$Method equalsIgnoreCase (Ljava/lang/String;)Z sun/rmi/rmic/RemoteClass forClass [(Lsun/rmi/rmic/BatchEnvironment;Lsun/tools/java/ClassDefinition;)Lsun/rmi/rmic/RemoteClass; sun/rmi/rmic/BatchEnvironment error ((JLjava/lang/String;Ljava/lang/Object;)V addGeneratedFile (Ljava/io/File;)V (Ljava/io/OutputStream;)V (Ljava/io/Writer;)V close verbose ()Z getPath ()Ljava/lang/String; sun/rmi/rmic/Main getText 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; output (Ljava/lang/String;)V parseFile (Lsun/tools/java/ClassFile;)V toString sun/rmi/rmic/Util getOutputDirectoryFor X(Lsun/tools/java/Identifier;Ljava/io/File;Lsun/rmi/rmic/BatchEnvironment;)Ljava/io/File; sun/tools/java/Identifier getName ()Lsun/tools/java/Identifier; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; #(Ljava/io/File;Ljava/lang/String;)V delete sun/rmi/rmic/Names mangleClass 8(Lsun/tools/java/Identifier;)Lsun/tools/java/Identifier; endsWith "com/sun/corba/ee/impl/util/Utility tieName &(Ljava/lang/String;)Ljava/lang/String; exists getMain ()Lsun/rmi/rmic/Main; iiopGeneration getAbsolutePath :(JLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V getRemoteMethods $()[Lsun/rmi/rmic/RemoteClass$Method; stubFor skeletonFor idJavaLangException getClassDeclaration >(Lsun/tools/java/Identifier;)Lsun/tools/java/ClassDeclaration; sun/tools/java/ClassDeclaration getClassDefinition >(Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition; idRemoteException idJavaLangRuntimeException pln isQualified getQualifier -(Ljava/lang/Object;)Ljava/lang/StringBuilder; plnI idRemoteStub getRemoteInterfaces #()[Lsun/tools/java/ClassDefinition; pOlnI idRemoteRef idRemote pOln pO getType ()Lsun/tools/java/Type; sun/tools/java/Type getArgumentTypes ()[Lsun/tools/java/Type;
getReturnType
getExceptions $()[Lsun/tools/java/ClassDeclaration;
typeString ((Ljava/lang/String;ZZ)Ljava/lang/String; size ()I isType (I)Z
getMethodHash ()J (J)Ljava/lang/StringBuilder; idRemoteCall idRemoteObject (I)Ljava/lang/StringBuilder; idMarshalException idUnmarshalException elements ()Ljava/util/Enumeration; java/util/Enumeration hasMoreElements nextElement ()Ljava/lang/Object; idUnexpectedException
addElement (Ljava/lang/Object;)V
subClassOf @(Lsun/tools/java/Environment;Lsun/tools/java/ClassDeclaration;)Z clear superClassOf elementAt (I)Ljava/lang/Object; removeElementAt (I)V
idSkeleton idOperation idSkeletonMismatchException getOperationString getInterfaceHash getMemberDefinition #()Lsun/tools/java/MemberDefinition; sun/tools/java/MemberDefinition "()Lsun/tools/java/ClassDefinition; getTypeCode getElementType getClassName ! EF GH IJ KL MQ RS TS US VW XY ZY [Y \] ^W _W `W ab c <