diff options
author | Matthias Klose <doko@gcc.gnu.org> | 2007-06-03 23:18:43 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2007-06-03 23:18:43 +0000 |
commit | e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc (patch) | |
tree | a9c9e7d91c484d53fe154f9285fc57325572ce50 /libjava/classpath/tools/external/asm | |
parent | af333b9a7f9e1cc1029bec56d48f2de63acdf686 (diff) | |
download | gcc-e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc.zip gcc-e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc.tar.gz gcc-e1bea0c0687c5f4551b3a6058ec37ce3705fa6cc.tar.bz2 |
libjava/classpath/ChangeLog.gcj:
2007-05-31 Matthias Klose <doko@ubuntu.com>
* javax/management/NotificationBroadcasterSupport.java
(getNotificationInfo): Add cast.
* native/jni/qt-peer/Makefile.am (AM_CXXFLAGS): Add libstdc++ include
directories.
* native/jni/qt-peer/Makefile.in: Regenerate.
libjava/ChangeLog:
2007-06-03 Matthias Klose <doko@ubuntu.com>
* java/io/natFileWin32.cc (setFilePermissions): New (stub only).
_access: Handle EXEC query, stub only.
2007-06-03 Matthias Klose <doko@ubuntu.com>
Merged from classpath:
* gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
* java/lang/System.java(inheritedChannel): New.
* java/lang/Character.java: Remove stray`;'.
* java/net/MulticastSocket.java: Merged.
* java/text/DateFormatSymbols.java(getInstance): New, comment updates.
* java/text/Collator.java(getInstance): Merged.
* java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
getDisplayName, getDisplayNames: New.
* java/util/logging/Logger.java: Merged.
* Regenerate .class and .h files.
2007-06-03 Matthias Klose <doko@ubuntu.com>
* java/io/File.java: Merge with classpath-0.95, new method
setFilePermissions, new attribute EXEC.
* java/io/natFilePosix.cc (setFilePermissions): New.
_access: Handle EXEC query.
* classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
2007-06-03 Matthias Klose <doko@ubuntu.com>
Imported GNU Classpath 0.95.
* classpath/Makefile.in,
classpath/native/jni/midi-dssi/Makefile.in,
classpath/native/jni/classpath/Makefile.in,
classpath/native/jni/Makefile.in,
classpath/native/jni/gconf-peer/Makefile.in,
classpath/native/jni/java-io/Makefile.in,
classpath/native/jni/native-lib/Makefile.in,
classpath/native/jni/java-util/Makefile.in,
classpath/native/jni/midi-alsa/Makefile.in,
classpath/native/jni/java-lang/Makefile.in,
classpath/native/jni/java-nio/Makefile.in,
classpath/native/jni/java-net/Makefile.in,
classpath/native/jni/xmlj/Makefile.in,
classpath/native/jni/qt-peer/Makefile.in,
classpath/native/jni/gtk-peer/Makefile.in,
classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
classpath/native/fdlibm/Makefile.in,
classpath/native/plugin/Makefile.in,
classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
classpath/tools/Makefile.in, classpath/doc/Makefile.in,
classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
classpath/external/sax/Makefile.in,
classpath/external/w3c_dom/Makefile.in,
classpath/external/relaxngDatatype/Makefile.in,
classpath/include/Makefile.in,
classpath/examples/Makefile.in: Regenerate.
* classpath/config.guess, classpath/config.sub,
classpath/ltmain.sh : Update.
* classpath/configure, classpath/depcomp, classpath/missing,
classpath/aclocal.m4, classpath/install-sh: Regenerate.
* gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
* sources.am: Regenerate.
* Makefile.in: Regenerate.
* Update the .class files and generated CNI header files, add new
.class and generated CNI header files.
* Remove generated files for removed java source files:
classpath/gnu/java/net/BASE64.java,
classpath/gnu/java/security/util/Base64.java,
classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
classpath/gnu/java/awt/font/autofit/Scaler.java,
classpath/gnu/classpath/jdwp/util/Value.java,
classpath/gnu/javax/net/ssl/Base64.java.
* Remove empty directories.
* Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
* java/lang/Class.java(setAccessible): Merge from classpath.
* java/util/Locale.java: Remove.
* gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
* gcj/javaprims.h: Update class declarations.
* scripts/classes.pl: Update usage.
* HACKING: Mention to build all peers.
From-SVN: r125302
Diffstat (limited to 'libjava/classpath/tools/external/asm')
13 files changed, 1 insertions, 1155 deletions
diff --git a/libjava/classpath/tools/external/asm/LICENSE.txt b/libjava/classpath/tools/external/asm/LICENSE.txt deleted file mode 100644 index d0cd82d..0000000 --- a/libjava/classpath/tools/external/asm/LICENSE.txt +++ /dev/null @@ -1,28 +0,0 @@ - - ASM: a very small and fast Java bytecode manipulation framework - Copyright (c) 2000-2005 INRIA, France Telecom - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - THE POSSIBILITY OF SUCH DAMAGE. diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/package.html deleted file mode 100644 index 51f0a02..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/attrs/package.html +++ /dev/null @@ -1,48 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides an implementation for optional class, field and method attributes. - -<p> - -By default ASM strips optional attributes, in order to keep them in -the bytecode that is being readed you should pass an array of required attribute -instances to {@link org.objectweb.asm.ClassReader#accept(org.objectweb.asm.ClassVisitor, org.objectweb.asm.Attribute[], boolean) ClassReader.accept()} method. -In order to add custom attributes to the manually constructed bytecode concrete -subclasses of the {@link org.objectweb.asm.Attribute Attribute} can be passed to -the visitAttribute methods of the -{@link org.objectweb.asm.ClassVisitor ClassVisitor}, -{@link org.objectweb.asm.FieldVisitor FieldVisitor} and -{@link org.objectweb.asm.MethodVisitor MethodVisitor} interfaces. - -@since ASM 1.4.1 -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/package.html deleted file mode 100644 index 33c860b..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/commons/package.html +++ /dev/null @@ -1,33 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides some useful class and method adapters. -</body>
\ No newline at end of file diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/shrink.properties b/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/shrink.properties deleted file mode 100644 index 868780b..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/shrink.properties +++ /dev/null @@ -1,225 +0,0 @@ -# class mappings - -#org/objectweb/asm/Edge=org/objectweb/asm/a -#org/objectweb/asm/Item=org/objectweb/asm/b -#org/objectweb/asm/FieldWriter=org/objectweb/asm/c -#org/objectweb/asm/MethodWriter=org/objectweb/asm/d -#org/objectweb/asm/AnnotationWriter=org/objectweb/asm/e - -# field mappings - -org/objectweb/asm/AnnotationWriter.cw=a -org/objectweb/asm/AnnotationWriter.size=b -org/objectweb/asm/AnnotationWriter.named=c -org/objectweb/asm/AnnotationWriter.bv=d -org/objectweb/asm/AnnotationWriter.parent=e -org/objectweb/asm/AnnotationWriter.offset=f -org/objectweb/asm/AnnotationWriter.next=g -org/objectweb/asm/AnnotationWriter.prev=h - -org/objectweb/asm/Attribute.next=a -org/objectweb/asm/Attribute.value=b - -org/objectweb/asm/ByteVector.data=a -org/objectweb/asm/ByteVector.length=b - -org/objectweb/asm/ClassReader.items=a -org/objectweb/asm/ClassReader.strings=c -org/objectweb/asm/ClassReader.maxStringLength=d -#org/objectweb/asm/ClassReader.header=e - -org/objectweb/asm/ClassWriter.TYPE=a -org/objectweb/asm/ClassWriter.version=b -org/objectweb/asm/ClassWriter.index=c -org/objectweb/asm/ClassWriter.pool=d -org/objectweb/asm/ClassWriter.items=e -org/objectweb/asm/ClassWriter.threshold=f -org/objectweb/asm/ClassWriter.key=g -org/objectweb/asm/ClassWriter.key2=h -org/objectweb/asm/ClassWriter.key3=i -org/objectweb/asm/ClassWriter.access=j -org/objectweb/asm/ClassWriter.name=k -org/objectweb/asm/ClassWriter.signature=l -org/objectweb/asm/ClassWriter.superName=m -org/objectweb/asm/ClassWriter.interfaceCount=n -org/objectweb/asm/ClassWriter.interfaces=o -org/objectweb/asm/ClassWriter.sourceFile=p -org/objectweb/asm/ClassWriter.sourceDebug=q -org/objectweb/asm/ClassWriter.enclosingMethodOwner=r -org/objectweb/asm/ClassWriter.enclosingMethod=s -org/objectweb/asm/ClassWriter.anns=t -org/objectweb/asm/ClassWriter.ianns=u -org/objectweb/asm/ClassWriter.attrs=v -org/objectweb/asm/ClassWriter.innerClassesCount=w -org/objectweb/asm/ClassWriter.innerClasses=x -org/objectweb/asm/ClassWriter.firstField=y -org/objectweb/asm/ClassWriter.lastField=z -org/objectweb/asm/ClassWriter.firstMethod=A -org/objectweb/asm/ClassWriter.lastMethod=B -org/objectweb/asm/ClassWriter.computeMaxs=C -org/objectweb/asm/ClassWriter.cr=D - -org/objectweb/asm/Edge.stackSize=a -org/objectweb/asm/Edge.successor=b -org/objectweb/asm/Edge.next=c - -org/objectweb/asm/Handler.start=a -org/objectweb/asm/Handler.end=b -org/objectweb/asm/Handler.handler=c -org/objectweb/asm/Handler.desc=d -org/objectweb/asm/Handler.type=e -org/objectweb/asm/Handler.next=f - -org/objectweb/asm/FieldWriter.next=a -org/objectweb/asm/FieldWriter.cw=b -org/objectweb/asm/FieldWriter.access=c -org/objectweb/asm/FieldWriter.name=d -org/objectweb/asm/FieldWriter.desc=e -org/objectweb/asm/FieldWriter.signature=f -org/objectweb/asm/FieldWriter.value=g -org/objectweb/asm/FieldWriter.anns=h -org/objectweb/asm/FieldWriter.ianns=i -org/objectweb/asm/FieldWriter.attrs=j - -org/objectweb/asm/Item.index=a -org/objectweb/asm/Item.type=b -org/objectweb/asm/Item.intVal=c -org/objectweb/asm/Item.longVal=d -org/objectweb/asm/Item.floatVal=e -org/objectweb/asm/Item.doubleVal=f -org/objectweb/asm/Item.strVal1=g -org/objectweb/asm/Item.strVal2=h -org/objectweb/asm/Item.strVal3=i -org/objectweb/asm/Item.hashCode=j -org/objectweb/asm/Item.next=k - -org/objectweb/asm/Label.resolved=a -org/objectweb/asm/Label.position=b -org/objectweb/asm/Label.resized=c -org/objectweb/asm/Label.referenceCount=d -org/objectweb/asm/Label.srcAndRefPositions=e -org/objectweb/asm/Label.beginStackSize=f -org/objectweb/asm/Label.maxStackSize=g -org/objectweb/asm/Label.successors=h -org/objectweb/asm/Label.next=i -org/objectweb/asm/Label.pushed=j -org/objectweb/asm/Label.line=k - -org/objectweb/asm/MethodWriter.next=a -org/objectweb/asm/MethodWriter.cw=b -org/objectweb/asm/MethodWriter.access=c -org/objectweb/asm/MethodWriter.name=d -org/objectweb/asm/MethodWriter.desc=e -org/objectweb/asm/MethodWriter.descriptor=f -org/objectweb/asm/MethodWriter.signature=g -org/objectweb/asm/MethodWriter.exceptionCount=h -org/objectweb/asm/MethodWriter.exceptions=i -org/objectweb/asm/MethodWriter.annd=j -org/objectweb/asm/MethodWriter.anns=k -org/objectweb/asm/MethodWriter.ianns=l -org/objectweb/asm/MethodWriter.panns=m -org/objectweb/asm/MethodWriter.ipanns=n -org/objectweb/asm/MethodWriter.attrs=o -org/objectweb/asm/MethodWriter.code=p -org/objectweb/asm/MethodWriter.maxStack=q -org/objectweb/asm/MethodWriter.maxLocals=r -org/objectweb/asm/MethodWriter.catchCount=s -org/objectweb/asm/MethodWriter.catchTable=t -org/objectweb/asm/MethodWriter.localVarCount=u -org/objectweb/asm/MethodWriter.localVar=v -org/objectweb/asm/MethodWriter.localVarTypeCount=w -org/objectweb/asm/MethodWriter.localVarType=x -org/objectweb/asm/MethodWriter.lineNumberCount=y -org/objectweb/asm/MethodWriter.lineNumber=z -org/objectweb/asm/MethodWriter.cattrs=A -org/objectweb/asm/MethodWriter.resize=B -org/objectweb/asm/MethodWriter.computeMaxs=C -org/objectweb/asm/MethodWriter.stackSize=D -org/objectweb/asm/MethodWriter.maxStackSize=E -org/objectweb/asm/MethodWriter.currentBlock=F -org/objectweb/asm/MethodWriter.blockStack=G -org/objectweb/asm/MethodWriter.SIZE=H -org/objectweb/asm/MethodWriter.classReaderOffset=I -org/objectweb/asm/MethodWriter.classReaderLength=J -org/objectweb/asm/MethodWriter.lastHandler=K - -org/objectweb/asm/Type.sort=a -org/objectweb/asm/Type.buf=b -org/objectweb/asm/Type.off=c -org/objectweb/asm/Type.len=d - -org/objectweb/asm/signature/SignatureReader.signature=a - -org/objectweb/asm/signature/SignatureWriter.buf=a -org/objectweb/asm/signature/SignatureWriter.hasFormals=b -org/objectweb/asm/signature/SignatureWriter.hasParameters=c -org/objectweb/asm/signature/SignatureWriter.argumentStack=d - -# method mappings - -org/objectweb/asm/AnnotationWriter.getSize()I=a -org/objectweb/asm/AnnotationWriter.put([Lorg/objectweb/asm/AnnotationWriter;Lorg/objectweb/asm/ByteVector;)V=a -org/objectweb/asm/AnnotationWriter.put(Lorg/objectweb/asm/ByteVector;)V=a - -org/objectweb/asm/Attribute.getCount()I=a -org/objectweb/asm/Attribute.getSize(Lorg/objectweb/asm/ClassWriter;[BIII)I=a -org/objectweb/asm/Attribute.put(Lorg/objectweb/asm/ClassWriter;[BIIILorg/objectweb/asm/ByteVector;)V=a - -org/objectweb/asm/ByteVector.enlarge(I)V=a -org/objectweb/asm/ByteVector.put11(II)Lorg/objectweb/asm/ByteVector;=a -org/objectweb/asm/ByteVector.put12(II)Lorg/objectweb/asm/ByteVector;=b - -org/objectweb/asm/ClassReader.copyPool(Lorg/objectweb/asm/ClassWriter;)V=a -org/objectweb/asm/ClassReader.readAnnotationValue(I[CLjava/lang/String;Lorg/objectweb/asm/AnnotationVisitor;)I=a -org/objectweb/asm/ClassReader.readAnnotationValues(I[CLorg/objectweb/asm/AnnotationVisitor;)I=a -org/objectweb/asm/ClassReader.readAttribute([Lorg/objectweb/asm/Attribute;Ljava/lang/String;II[CI[Lorg/objectweb/asm/Label;)Lorg/objectweb/asm/Attribute;=a -org/objectweb/asm/ClassReader.readClass(Ljava/io/InputStream;)[B=a -org/objectweb/asm/ClassReader.readParameterAnnotations(I[CZLorg/objectweb/asm/MethodVisitor;)V=a -org/objectweb/asm/ClassReader.readUTF(II[C)Ljava/lang/String;=a - -org/objectweb/asm/ClassWriter.get(Lorg/objectweb/asm/Item;)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newClassItem(Ljava/lang/String;)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newConstItem(Ljava/lang/Object;)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newDouble(D)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newFloat(F)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newInteger(I)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newLong(J)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newMethodItem(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/objectweb/asm/Item;=a -org/objectweb/asm/ClassWriter.newString(Ljava/lang/String;)Lorg/objectweb/asm/Item;=b -org/objectweb/asm/ClassWriter.put122(III)V=a -org/objectweb/asm/ClassWriter.put(Lorg/objectweb/asm/Item;)V=b - -org/objectweb/asm/FieldWriter.getSize()I=a -org/objectweb/asm/FieldWriter.put(Lorg/objectweb/asm/ByteVector;)V=a - -org/objectweb/asm/Item.isEqualTo(Lorg/objectweb/asm/Item;)Z=a -org/objectweb/asm/Item.set(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V=a -org/objectweb/asm/Item.set(D)V=a -org/objectweb/asm/Item.set(F)V=a -org/objectweb/asm/Item.set(I)V=a -org/objectweb/asm/Item.set(J)V=a - -org/objectweb/asm/Label.addReference(II)V=a -org/objectweb/asm/Label.put(Lorg/objectweb/asm/MethodWriter;Lorg/objectweb/asm/ByteVector;IZ)V=a -org/objectweb/asm/Label.resolve(Lorg/objectweb/asm/MethodWriter;I[B)Z=a - -org/objectweb/asm/MethodWriter.addSuccessor(ILorg/objectweb/asm/Label;)V=a -org/objectweb/asm/MethodWriter.getArgumentsAndReturnSizes(Ljava/lang/String;)I=a -org/objectweb/asm/MethodWriter.getNewOffset([I[III)I=a -org/objectweb/asm/MethodWriter.getSize()I=a -org/objectweb/asm/MethodWriter.put(Lorg/objectweb/asm/ByteVector;)V=a -org/objectweb/asm/MethodWriter.readInt([BI)I=a -org/objectweb/asm/MethodWriter.readShort([BI)S=b -org/objectweb/asm/MethodWriter.readUnsignedShort([BI)I=c -org/objectweb/asm/MethodWriter.resizeInstructions([I[II)[I=a -org/objectweb/asm/MethodWriter.writeShort([BII)V=a -org/objectweb/asm/MethodWriter.getNewOffset([I[ILorg/objectweb/asm/Label;)V=a - -org/objectweb/asm/Type.getType([CI)Lorg/objectweb/asm/Type;=a -org/objectweb/asm/Type.getDescriptor(Ljava/lang/StringBuffer;)V=a -org/objectweb/asm/Type.getDescriptor(Ljava/lang/StringBuffer;Ljava/lang/Class;)V=a - -org/objectweb/asm/signature/SignatureReader.parseType(Ljava/lang/String;ILorg/objectweb/asm/signature/SignatureVisitor;)I=a - -org/objectweb/asm/signature/SignatureWriter.endFormals()V=a -org/objectweb/asm/signature/SignatureWriter.endArguments()V=b diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/package.html deleted file mode 100644 index 1383dbe..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/package.html +++ /dev/null @@ -1,87 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides a small and fast bytecode manipulation framework. - -<p> -The <a href="http://www.objectweb.org/asm">ASM</a> framework is organized -around the {@link org.objectweb.asm.ClassVisitor ClassVisitor}, -{@link org.objectweb.asm.FieldVisitor FieldVisitor} and -{@link org.objectweb.asm.MethodVisitor MethodVisitor} interfaces, which allow -one to visit the fields and methods of a class, including the bytecode -instructions of each method. - -<p> -In addition to these main interfaces, ASM provides a {@link -org.objectweb.asm.ClassReader ClassReader} class, that can parse an -existing class and make a given visitor visit it. ASM also provides -a {@link org.objectweb.asm.ClassWriter ClassWriter} class, which is -a visitor that generates Java class files. - -<p> -In order to generate a class from scratch, only the {@link -org.objectweb.asm.ClassWriter ClassWriter} class is necessary. Indeed, -in order to generate a class, one must just call its visit<i>XXX</i> -methods with the appropriate arguments to generate the desired fields -and methods. See the "helloworld" example in the ASM distribution for -more details about class generation. - -<p> -In order to modify existing classes, one must use a {@link -org.objectweb.asm.ClassReader ClassReader} class to analyze -the original class, a class modifier, and a {@link org.objectweb.asm.ClassWriter -ClassWriter} to construct the modified class. The class modifier -is just a {@link org.objectweb.asm.ClassVisitor ClassVisitor} -that delegates most of the work to another {@link org.objectweb.asm.ClassVisitor -ClassVisitor}, but that sometimes changes some parameter values, -or call additional methods, in order to implement the desired -modification process. In order to make it easier to implement such -class modifiers, ASM provides the {@link org.objectweb.asm.ClassAdapter -ClassAdapter} and {@link org.objectweb.asm.MethodAdapter MethodAdapter} -classes, which implement the {@link org.objectweb.asm.ClassVisitor ClassVisitor} -and {@link org.objectweb.asm.MethodVisitor MethodVisitor} interfaces by -delegating all work to other visitors. See the "adapt" example in the ASM -distribution for more details about class modification. - -<p> -The size of the core ASM library, <tt>asm.jar</tt>, is only 31KB, which is much -more smaller than -the size of the <a href="http://jakarta.apache.org/bcel">BCEL</a> library (350KB -without the class verifier), and than the size of the -<a href="http://serp.sourceforge.net">SERP</a> library (150KB). ASM is also -much more faster than these tools. Indeed the overhead of a load time class -transformation process is of the order of 60% with ASM, 700% or more with BCEL, -and 1100% or more with SERP (see the <tt>test/perf</tt> directory in the ASM -distribution)! - -@since ASM 1.3 -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/package.html deleted file mode 100644 index 21f103a..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/signature/package.html +++ /dev/null @@ -1,36 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides support for type signatures. - -@since ASM 2.0 -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/package.html deleted file mode 100644 index 7c20f2e..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/analysis/package.html +++ /dev/null @@ -1,36 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides a framework for static code analysis based on the asm.tree package. - -@since ASM 1.4.3 -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/package.html deleted file mode 100644 index d455211..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/tree/package.html +++ /dev/null @@ -1,149 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> - -<p> -Provides an ASM visitor that constructs a tree representation of the -classes it visits. This class adapter can be useful to implement "complex" -class manipulation operations, i.e., operations that would be very hard to -implement without using a tree representation (such as optimizing the number -of local variables used by a method). -</p> - -<p> -However, this class adapter has a cost: it makes ASM bigger and slower. Indeed -it requires more than twenty new classes, and multiplies the time needed to -transform a class by almost two (it is almost two times faster to read, "modify" -and write a class with a ClassAdapter than with a ClassNode). This is why -this package is bundled in an optional <tt>asm-tree.jar</tt> library that -is separated from (but requires) the <tt>asm.jar</tt> library, which contains -the core ASM framework. This is also why <i><font color="red">it is recommanded -not to use this class adapter when it is possible</font></i>. -</p> - -<p> -The root class is the ClassNode, that can be created from scratch or -from existing bytecode. For example: -</p> - -<pre> - ClassReader cr = new ClassReader(source); - ClassNode cn = new ClassNode(); - cr.accept(cn, true); -</pre> - -<p> -Now content of ClassNode can be modified and then -serialized back into bytecode: -</p> - -<pre> - ClassWriter cw = new ClassWriter(true); - cn.accept(cw); -</pre> - -<p> -Several strategies can be used to construct method code from scratch. The first -possibility is to create a MethodNode, and then create and add XXXInsnNode to -the instructions list: -</p> - -<pre> -MethodNode m = new MethodNode(...); -m.instructions.add(new VarInsnNode(ALOAD, 0)); -... -</pre> - -<p> -Alternatively, you can use the fact that MethodNode is a MethodVisitor, and use -that to create the XXXInsnNode and add them to the instructions list through -the standard MethodVisitor interface: -</p> - -<pre> -MethodNode m = new MethodNode(...); -m.visitVarInsn(ALOAD, 0); -... -</pre> - -<p> -If you cannot generate all the instructions in sequential order, i.e. if you -need to keep some pointers in the instruction list to insert some instructions -at these places after other instructions have been generated, you can define -an InsnListInsnNode pseudo instruction class that will in fact contain an -instruction list, will possibly implement the MethodVisitor interface, and whose -accept method will call the accept method of all the instructions of its list. -</p> - -<pre> -MethodNode m = new MethodNode(...); -m.visitVarInsn(ALOAD, 0); -InsnListInsnNode ptr = new InsnListInsnNode(); -m.instructions.add(ptr); -m.visitVarInsn(ALOAD, 1); -ptr.visitXXXInsn(...); // inserts an instruction between ALOAD 0 and ALOAD 1 -</pre> - -<p> -If you need to insert instructions while iterating over an existing instruction -list, you can also use several strategies. The first one is to use a -ListIterator over the instruction list, and use its add method to insert -instructions: -</p> - -<pre> -ListIterator i = m.instructions.listIterator(); -while (i.hasNext()) { - AbstractInsnNode n = (AbstractInsnNode) i.next(); - if (...) { - i.add(new VarInsnNode(ALOAD, 0)); - } -} -</pre> - -<p> -If you want to insert these instructions through the MethodVisitor interface, -you can define your own InsnListIterator class, that will implement both the -ListIterator and MethodVisitor interface. -</p> - -<p> -Another strategy is to use ListIterator.add to insert InsnListInsnNode pseudo -instructions, and then use these inserted pseudo instructions to insert an -arbitrary number of instructions at these places. -</p> - -<p> -@since ASM 1.3.3 -</p> - -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/package.html deleted file mode 100644 index a21cb00..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/attrs/package.html +++ /dev/null @@ -1,36 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides attributes sub classes that can work with the ASMifier utility. - -@since ASM 1.4.3 -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/util/package.html deleted file mode 100644 index e967b8b..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/util/package.html +++ /dev/null @@ -1,40 +0,0 @@ -<html> -<!-- - * ASM: a very small and fast Java bytecode manipulation framework - * Copyright (c) 2000-2005 INRIA, France Telecom - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides ASM visitors that can be useful for programming and -debugging purposes. These class visitors are normally not used by applications -at runtime. This is why they are bundled in an optional <tt>asm-util.jar</tt> -library that is separated from (but requires) the <tt>asm.jar</tt> library, -which contains the core ASM framework. - -@since ASM 1.3.2 -</body> -</html> diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java index 1f6fee0..466b93c 100644 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java +++ b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java @@ -134,7 +134,7 @@ public class ASMContentHandler extends DefaultHandler implements Opcodes { new AnnotationValueAnnotationRule()); RULES.add("*/annotationValueEnum", new AnnotationValueEnumRule()); RULES.add("*/annotationValueArray", new AnnotationValueArrayRule()); - }; + } private static interface OpcodeGroup { public static final int INSN = 0; diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/asm-xml.dtd b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/asm-xml.dtd deleted file mode 100644 index 7859259..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/asm-xml.dtd +++ /dev/null @@ -1,340 +0,0 @@ -<!-- - ASM XML Adapter - Copyright (c) 2004, Eugene Kuleshov - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - THE POSSIBILITY OF SUCH DAMAGE. ---> - -<!-- - This DTD must be used to create XML documents to be processed by - org.objectweb.asm.xml.ASMContentHandler ---> - -<!-- - Root element used to aggregate multiple classes into single document. ---> -<!ELEMENT classes ( class+ )> - -<!-- - Root element for a single class. ---> -<!ELEMENT class ( interfaces, ( field | innerclass | method )*)> -<!ATTLIST class access CDATA #REQUIRED> -<!ATTLIST class name CDATA #REQUIRED> -<!ATTLIST class parent CDATA #REQUIRED> -<!ATTLIST class major CDATA #REQUIRED> -<!ATTLIST class minor CDATA #REQUIRED> -<!ATTLIST class source CDATA #IMPLIED> - -<!ELEMENT interfaces ( interface* )> -<!ELEMENT interface EMPTY> -<!ATTLIST interface name CDATA #REQUIRED> - -<!ELEMENT field EMPTY> -<!ATTLIST field access CDATA #REQUIRED> -<!ATTLIST field desc CDATA #REQUIRED> -<!ATTLIST field name CDATA #REQUIRED> -<!-- - All characters out of interval 0x20 to 0x7f (inclusive) must - be encoded (\uXXXX) and character '\' must be replaced by "\\" ---> -<!ATTLIST field value CDATA #IMPLIED> - -<!ELEMENT innerclass EMPTY> -<!ATTLIST innerclass access CDATA #REQUIRED> -<!ATTLIST innerclass innerName CDATA #IMPLIED> -<!ATTLIST innerclass name CDATA #REQUIRED> -<!ATTLIST innerclass outerName CDATA #IMPLIED> - -<!-- - Root element for method definition. ---> -<!ELEMENT method ( exceptions, code? )> -<!ATTLIST method access CDATA #REQUIRED> -<!ATTLIST method desc CDATA #REQUIRED> -<!ATTLIST method name CDATA #REQUIRED> - -<!ELEMENT exceptions ( exception* )> -<!ELEMENT exception EMPTY> -<!ATTLIST exception name CDATA #REQUIRED> - -<!-- - code element contains bytecode instructions and definitions for labels, line numbers, try/catch and max ---> -<!ELEMENT code (( AALOAD | AASTORE | ACONST_NULL | ALOAD | ANEWARRAY | ARETURN | ARRAYLENGTH | ASTORE | ATHROW | BALOAD | BASTORE | BIPUSH | CALOAD | CASTORE | CHECKCAST | D2F | D2I | D2L | DADD | DALOAD | DASTORE | DCMPG | DCMPL | DCONST_0 | DCONST_1 | DDIV | DLOAD | DMUL | DNEG | DREM | DRETURN | DSTORE | DSUB | DUP | DUP2 | DUP2_X1 | DUP2_X2 | DUP_X1 | DUP_X2 | F2D | F2I | F2L | FADD | FALOAD | FASTORE | FCMPG | FCMPL | FCONST_0 | FCONST_1 | FCONST_2 | FDIV | FLOAD | FMUL | FNEG | FRETURN | FSTORE | FSUB | GETFIELD | GETSTATIC | GOTO | I2B | I2C | I2D | I2F | I2L | I2S | IADD | IALOAD | IAND | IASTORE | ICONST_0 | ICONST_1 | ICONST_2 | ICONST_3 | ICONST_4 | ICONST_5 | ICONST_M1 | IDIV | IFEQ | IFGE | IFGT | IFLE | IFLT | IFNE | IFNONNULL | IFNULL | IF_ACMPEQ | IF_ACMPNE | IF_ICMPEQ | IF_ICMPGE | IF_ICMPGT | IF_ICMPLE | IF_ICMPLT | IF_ICMPNE | IINC | ILOAD | IMUL | INEG | INSTANCEOF | INVOKEINTERFACE | INVOKESPECIAL | INVOKESTATIC | INVOKEVIRTUAL | IOR | IREM | IRETURN | ISHL | ISHR | ISTORE | ISUB | IUSHR | IXOR | JSR | L2D | L2F | L2I | LADD | LALOAD | LAND | LASTORE | LCMP | LCONST_0 | LCONST_1 | LDC | LDIV | LLOAD | LMUL | LNEG | LOOKUPSWITCH | LOR | LREM | LRETURN | LSHL | LSHR | LSTORE | LSUB | LUSHR | LXOR | MONITORENTER | MONITOREXIT | MULTIANEWARRAY | NEW | NEWARRAY | NOP | POP | POP2 | PUTFIELD | PUTSTATIC | RET | RETURN | SALOAD | SASTORE | SIPUSH | TABLESWITCH | Label | LineNumber | TryCatch )*, Max)> - -<!ELEMENT Label EMPTY> -<!ATTLIST Label name CDATA #REQUIRED> - -<!ELEMENT TryCatch EMPTY> -<!ATTLIST TryCatch end CDATA #REQUIRED> -<!ATTLIST TryCatch handler CDATA #REQUIRED> -<!ATTLIST TryCatch start CDATA #REQUIRED> -<!ATTLIST TryCatch type CDATA #IMPLIED> - -<!ELEMENT LineNumber EMPTY> -<!ATTLIST LineNumber line CDATA #REQUIRED> -<!ATTLIST LineNumber start CDATA #REQUIRED> - -<!ELEMENT Max EMPTY> -<!ATTLIST Max maxLocals CDATA #REQUIRED> -<!ATTLIST Max maxStack CDATA #REQUIRED> - -<!ELEMENT AALOAD EMPTY> -<!ELEMENT AASTORE EMPTY> -<!ELEMENT ACONST_NULL EMPTY> -<!ELEMENT ALOAD EMPTY> -<!ATTLIST ALOAD var CDATA #REQUIRED> -<!ELEMENT ANEWARRAY EMPTY> -<!ATTLIST ANEWARRAY desc CDATA #REQUIRED> -<!ELEMENT ARETURN EMPTY> -<!ELEMENT ARRAYLENGTH EMPTY> -<!ELEMENT ASTORE EMPTY> -<!ATTLIST ASTORE var CDATA #REQUIRED> -<!ELEMENT ATHROW EMPTY> -<!ELEMENT BALOAD EMPTY> -<!ELEMENT BASTORE EMPTY> -<!ELEMENT BIPUSH EMPTY> -<!ATTLIST BIPUSH value CDATA #REQUIRED> -<!ELEMENT CALOAD EMPTY> -<!ELEMENT CASTORE EMPTY> -<!ELEMENT CHECKCAST EMPTY> -<!ATTLIST CHECKCAST desc CDATA #REQUIRED> -<!ELEMENT D2F EMPTY> -<!ELEMENT D2I EMPTY> -<!ELEMENT D2L EMPTY> -<!ELEMENT DADD EMPTY> -<!ELEMENT DALOAD EMPTY> -<!ELEMENT DASTORE EMPTY> -<!ELEMENT DCMPG EMPTY> -<!ELEMENT DCMPL EMPTY> -<!ELEMENT DCONST_0 EMPTY> -<!ELEMENT DCONST_1 EMPTY> -<!ELEMENT DDIV EMPTY> -<!ELEMENT DLOAD EMPTY> -<!ATTLIST DLOAD var CDATA #REQUIRED> -<!ELEMENT DMUL EMPTY> -<!ELEMENT DNEG EMPTY> -<!ELEMENT DREM EMPTY> -<!ELEMENT DRETURN EMPTY> -<!ELEMENT DSTORE EMPTY> -<!ATTLIST DSTORE var CDATA #REQUIRED> -<!ELEMENT DSUB EMPTY> -<!ELEMENT DUP EMPTY> -<!ELEMENT DUP2 EMPTY> -<!ELEMENT DUP2_X1 EMPTY> -<!ELEMENT DUP2_X2 EMPTY> -<!ELEMENT DUP_X1 EMPTY> -<!ELEMENT DUP_X2 EMPTY> -<!ELEMENT F2D EMPTY> -<!ELEMENT F2I EMPTY> -<!ELEMENT F2L EMPTY> -<!ELEMENT FADD EMPTY> -<!ELEMENT FALOAD EMPTY> -<!ELEMENT FASTORE EMPTY> -<!ELEMENT FCMPG EMPTY> -<!ELEMENT FCMPL EMPTY> -<!ELEMENT FCONST_0 EMPTY> -<!ELEMENT FCONST_1 EMPTY> -<!ELEMENT FCONST_2 EMPTY> -<!ELEMENT FDIV EMPTY> -<!ELEMENT FLOAD EMPTY> -<!ATTLIST FLOAD var CDATA #REQUIRED> -<!ELEMENT FMUL EMPTY> -<!ELEMENT FNEG EMPTY> -<!ELEMENT FRETURN EMPTY> -<!ELEMENT FSTORE EMPTY> -<!ATTLIST FSTORE var CDATA #REQUIRED> -<!ELEMENT FSUB EMPTY> -<!ELEMENT GETFIELD EMPTY> -<!ATTLIST GETFIELD desc CDATA #REQUIRED> -<!ATTLIST GETFIELD name CDATA #REQUIRED> -<!ATTLIST GETFIELD owner CDATA #REQUIRED> -<!ELEMENT GETSTATIC EMPTY> -<!ATTLIST GETSTATIC desc CDATA #REQUIRED> -<!ATTLIST GETSTATIC name CDATA #REQUIRED> -<!ATTLIST GETSTATIC owner CDATA #REQUIRED> -<!ELEMENT GOTO EMPTY> -<!ATTLIST GOTO label CDATA #REQUIRED> -<!ELEMENT I2B EMPTY> -<!ELEMENT I2C EMPTY> -<!ELEMENT I2D EMPTY> -<!ELEMENT I2F EMPTY> -<!ELEMENT I2L EMPTY> -<!ELEMENT I2S EMPTY> -<!ELEMENT IADD EMPTY> -<!ELEMENT IALOAD EMPTY> -<!ELEMENT IAND EMPTY> -<!ELEMENT IASTORE EMPTY> -<!ELEMENT ICONST_0 EMPTY> -<!ELEMENT ICONST_1 EMPTY> -<!ELEMENT ICONST_2 EMPTY> -<!ELEMENT ICONST_3 EMPTY> -<!ELEMENT ICONST_4 EMPTY> -<!ELEMENT ICONST_5 EMPTY> -<!ELEMENT ICONST_M1 EMPTY> -<!ELEMENT IDIV EMPTY> -<!ELEMENT IFEQ EMPTY> -<!ATTLIST IFEQ label CDATA #REQUIRED> -<!ELEMENT IFGE EMPTY> -<!ATTLIST IFGE label CDATA #REQUIRED> -<!ELEMENT IFGT EMPTY> -<!ATTLIST IFGT label CDATA #REQUIRED> -<!ELEMENT IFLE EMPTY> -<!ATTLIST IFLE label CDATA #REQUIRED> -<!ELEMENT IFLT EMPTY> -<!ATTLIST IFLT label CDATA #REQUIRED> -<!ELEMENT IFNE EMPTY> -<!ATTLIST IFNE label CDATA #REQUIRED> -<!ELEMENT IFNONNULL EMPTY> -<!ATTLIST IFNONNULL label CDATA #REQUIRED> -<!ELEMENT IFNULL EMPTY> -<!ATTLIST IFNULL label CDATA #REQUIRED> -<!ELEMENT IF_ACMPEQ EMPTY> -<!ATTLIST IF_ACMPEQ label CDATA #REQUIRED> -<!ELEMENT IF_ACMPNE EMPTY> -<!ATTLIST IF_ACMPNE label CDATA #REQUIRED> -<!ELEMENT IF_ICMPEQ EMPTY> -<!ATTLIST IF_ICMPEQ label CDATA #REQUIRED> -<!ELEMENT IF_ICMPGE EMPTY> -<!ATTLIST IF_ICMPGE label CDATA #REQUIRED> -<!ELEMENT IF_ICMPGT EMPTY> -<!ATTLIST IF_ICMPGT label CDATA #REQUIRED> -<!ELEMENT IF_ICMPLE EMPTY> -<!ATTLIST IF_ICMPLE label CDATA #REQUIRED> -<!ELEMENT IF_ICMPLT EMPTY> -<!ATTLIST IF_ICMPLT label CDATA #REQUIRED> -<!ELEMENT IF_ICMPNE EMPTY> -<!ATTLIST IF_ICMPNE label CDATA #REQUIRED> -<!ELEMENT IINC EMPTY> -<!ATTLIST IINC inc CDATA #REQUIRED> -<!ATTLIST IINC var CDATA #REQUIRED> -<!ELEMENT ILOAD EMPTY> -<!ATTLIST ILOAD var CDATA #REQUIRED> -<!ELEMENT IMUL EMPTY> -<!ELEMENT INEG EMPTY> -<!ELEMENT INSTANCEOF EMPTY> -<!ATTLIST INSTANCEOF desc CDATA #REQUIRED> -<!ELEMENT INVOKEINTERFACE EMPTY> -<!ATTLIST INVOKEINTERFACE desc CDATA #REQUIRED> -<!ATTLIST INVOKEINTERFACE name CDATA #REQUIRED> -<!ATTLIST INVOKEINTERFACE owner CDATA #REQUIRED> -<!ELEMENT INVOKESPECIAL EMPTY> -<!ATTLIST INVOKESPECIAL desc CDATA #REQUIRED> -<!ATTLIST INVOKESPECIAL name CDATA #REQUIRED> -<!ATTLIST INVOKESPECIAL owner CDATA #REQUIRED> -<!ELEMENT INVOKESTATIC EMPTY> -<!ATTLIST INVOKESTATIC desc CDATA #REQUIRED> -<!ATTLIST INVOKESTATIC name CDATA #REQUIRED> -<!ATTLIST INVOKESTATIC owner CDATA #REQUIRED> -<!ELEMENT INVOKEVIRTUAL EMPTY> -<!ATTLIST INVOKEVIRTUAL desc CDATA #REQUIRED> -<!ATTLIST INVOKEVIRTUAL name CDATA #REQUIRED> -<!ATTLIST INVOKEVIRTUAL owner CDATA #REQUIRED> -<!ELEMENT IOR EMPTY> -<!ELEMENT IREM EMPTY> -<!ELEMENT IRETURN EMPTY> -<!ELEMENT ISHL EMPTY> -<!ELEMENT ISHR EMPTY> -<!ELEMENT ISTORE EMPTY> -<!ATTLIST ISTORE var CDATA #REQUIRED> -<!ELEMENT ISUB EMPTY> -<!ELEMENT IUSHR EMPTY> -<!ELEMENT IXOR EMPTY> -<!ELEMENT JSR EMPTY> -<!ATTLIST JSR label CDATA #REQUIRED> -<!ELEMENT L2D EMPTY> -<!ELEMENT L2F EMPTY> -<!ELEMENT L2I EMPTY> -<!ELEMENT LADD EMPTY> -<!ELEMENT LALOAD EMPTY> -<!ELEMENT LAND EMPTY> -<!ELEMENT LASTORE EMPTY> -<!ELEMENT LCMP EMPTY> -<!ELEMENT LCONST_0 EMPTY> -<!ELEMENT LCONST_1 EMPTY> -<!ELEMENT LDC EMPTY> -<!-- - All characters out of interval 0x20 to 0x7f (inclusive) must - be encoded (\uXXXX) and character '\' must be replaced by "\\" ---> -<!ATTLIST LDC cst CDATA #REQUIRED> -<!ATTLIST LDC desc CDATA #REQUIRED> -<!ELEMENT LDIV EMPTY> -<!ELEMENT LLOAD EMPTY> -<!ATTLIST LLOAD var CDATA #REQUIRED> -<!ELEMENT LMUL EMPTY> -<!ELEMENT LNEG EMPTY> -<!ELEMENT LOR EMPTY> -<!ELEMENT LREM EMPTY> -<!ELEMENT LRETURN EMPTY> -<!ELEMENT LSHL EMPTY> -<!ELEMENT LSHR EMPTY> -<!ELEMENT LSTORE EMPTY> -<!ATTLIST LSTORE var CDATA #REQUIRED> -<!ELEMENT LSUB EMPTY> -<!ELEMENT LUSHR EMPTY> -<!ELEMENT LXOR EMPTY> -<!ELEMENT MONITORENTER EMPTY> -<!ELEMENT MONITOREXIT EMPTY> -<!ELEMENT MULTIANEWARRAY EMPTY> -<!ATTLIST MULTIANEWARRAY desc CDATA #REQUIRED> -<!ATTLIST MULTIANEWARRAY dims CDATA #REQUIRED> -<!ELEMENT NEW EMPTY> -<!ATTLIST NEW desc CDATA #REQUIRED> -<!ELEMENT NEWARRAY EMPTY> -<!ATTLIST NEWARRAY value CDATA #REQUIRED> -<!ELEMENT NOP EMPTY> -<!ELEMENT POP EMPTY> -<!ELEMENT POP2 EMPTY> -<!ELEMENT PUTFIELD EMPTY> -<!ATTLIST PUTFIELD desc CDATA #REQUIRED> -<!ATTLIST PUTFIELD name CDATA #REQUIRED> -<!ATTLIST PUTFIELD owner CDATA #REQUIRED> -<!ELEMENT PUTSTATIC EMPTY> -<!ATTLIST PUTSTATIC desc CDATA #REQUIRED> -<!ATTLIST PUTSTATIC name CDATA #REQUIRED> -<!ATTLIST PUTSTATIC owner CDATA #REQUIRED> -<!ELEMENT RET EMPTY> -<!ATTLIST RET var CDATA #REQUIRED> -<!ELEMENT RETURN EMPTY> -<!ELEMENT SALOAD EMPTY> -<!ELEMENT SASTORE EMPTY> -<!ELEMENT SIPUSH EMPTY> -<!ATTLIST SIPUSH value CDATA #REQUIRED> - -<!ELEMENT LOOKUPSWITCH ( label+ )> -<!ATTLIST LOOKUPSWITCH dflt CDATA #REQUIRED> - -<!ELEMENT TABLESWITCH ( label+ )> -<!ATTLIST TABLESWITCH dflt CDATA #REQUIRED> -<!ATTLIST TABLESWITCH max CDATA #REQUIRED> -<!ATTLIST TABLESWITCH min CDATA #REQUIRED> - -<!ELEMENT label EMPTY> -<!ATTLIST label key CDATA #IMPLIED> -<!ATTLIST label name CDATA #REQUIRED> - diff --git a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/package.html b/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/package.html deleted file mode 100644 index 3bbb95f..0000000 --- a/libjava/classpath/tools/external/asm/org/objectweb/asm/xml/package.html +++ /dev/null @@ -1,96 +0,0 @@ -<html> -<!-- - * ASM XML Adapter - * Copyright (c) 2004, Eugene Kuleshov - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. ---> -<body> -Provides <a href="http://sax.sourceforge.net/">SAX 2.0</a> adapters for ASM -visitors to convert classes to and from XML. -These adapters can be chained with other SAX compliant content handlers and -filters, eg. XSLT or XQuery engines. This package is bundled as -a separate <tt>asm-xml.jar</tt> library and requires <tt>asm.jar</tt>. -<p> -<tt>ASMContentHandler</tt> and <tt>SAXClassAdapter/SAXCodeAdapter</tt> -are using <a href="asm-xml.dtd">asm-xml.dtd</a>. -Here is the example of bytecode to bytecode XSLT transformation. - -<pre> - SAXTransformerFactory saxtf = ( SAXTransformerFactory) TransformerFactory.newInstance(); - Templates templates = saxtf.newTemplates( xsltSource); - - TransformerHandler handler = saxtf.newTransformerHandler( templates); - handler.setResult( new SAXResult( new ASMContentHandler( outputStream, computeMax))); - - ClassReader cr = new ClassReader( bytecode); - cr.accept( new SAXClassAdapter( handler, cr.getVersion(), false), false); -</pre> - -See JAXP and SAX documentation for more detils. - -<p> -There are few illustrations of the bytecode transformation with XSLT in -examples directory. The following XSLT procesors has been tested. - -<blockquote> -<table border="1" cellspacing="0" cellpadding="3"> -<tr> -<th>Engine</td> -<th>javax.xml.transform.TransformerFactory property</td> -</tr> - -<tr> -<td>jd.xslt</td> -<td>jd.xml.xslt.trax.TransformerFactoryImpl</td> -</tr> - -<tr> -<td>Saxon</td> -<td>net.sf.saxon.TransformerFactoryImpl</td> -</tr> - -<tr> -<td>Caucho</td> -<td>com.caucho.xsl.Xsl</td> -</tr> - -<tr> -<td>Xalan interpeter</td> -<td>org.apache.xalan.processor.TransformerFactory</td> -</tr> - -<tr> -<td>Xalan xsltc</td> -<td>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</td> -</tr> -</table> -</blockquote> - -@since ASM 1.4.3 - -</body> -</html> |