| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-11-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/lang/model/element/ElementVisitor.java:
(visitExecutable(ExecutableElement, P)): Correct documentation.
(visitTypeParameter(TypeParameterElement, P)): Likewise.
(visitVariable(VariableElement, P)): Likewise.
(visitPackage(PackageElement, P)): Added.
* javax/lang/model/element/Name.java:
Added.
(contentEquals(CharSequence)): Added.
(equals(Object)): Likewise.
(hashCode()): Likewise.
* javax/lang/model/element/PackageElement.java:
Added.
(getQualifiedName()): Added.
(isUnnamed()): Likewise.
* javax/lang/model/element/TypeElement.java:
(getQualifiedName()): Added.
* javax/lang/model/util/Elements.java:
(getBinaryName(TypeElement)): Added.
(getName(CharSequence)): Likewise.
(getPackageElement(CharSequence)): Likewise.
(getPackageOf(Element)): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-11-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/lang/model/element/AnnotationMirror.java:
Added.
(getAnnotationType()): Added.
(getElementValues()): Likewise.
* javax/lang/model/element/AnnotationValue.java:
Added.
(accept(AnnotationValueVisitor,P)): Added.
(getValue()): Likewise.
(toString()): Likewise.
* javax/lang/model/element/AnnotationValueVisitor.java:
Added.
(visit(AnnotationValue)): Added.
(visit(AnnotationValue, P)): Likewise.
(visitAnnotation(AnnotationMirror, P)): Likewise.
(visitArray(List, P)): Likewise.
(visitBoolean(boolean, P)): Likewise.
(visitByte(byte, P)): Likewise.
(visitChar(char, P)): Likewise.
(visitDouble(double, P)): Likewise.
(visitEnumConstant(VariableElement, P)): Likewise.
(visitFloat(float, P)): Likewise.
(visitInt(float, P)): Likewise.
(visitLong(long, P)): Likewise.
(visitShort(short, P)): Likewise.
(visitString(String, P)): Likewise.
(visitType(TypeMirror, P)): Likewise.
(visitUnknown(AnnotationValue, P)): Likewise.
* javax/lang/model/element/Element.java:
(asType()): Added.
(getAnnotationMirrors()): Likewise.
* javax/lang/model/element/ElementVisitor.java:
(visitExecutable(ExecutableElement, P)): Added.
(visitTypeParameter(TypeParameterElement, P)): Likewise.
(visitVariable(VariableElement, P)): Likewise.
* javax/lang/model/element/ExecutableElement.java:
Added.
(getDefaultValue()): Added.
(getParameters()): Likewise.
(getReturnType()): Likewise.
(getThrownTypes()): Likewise.
(getTypeParameters()): Likewise.
(isVarArgs()): Likewise.
* javax/lang/model/element/TypeElement.java:
(getInterfaces()): Added.
(getSuperclass()): Likewise.
(getTypeParameters()): Likewise.
* javax/lang/model/element/TypeParameterElement.java:
Added.
(getBounds()): Added.
(getGenericElement()): Likewise.
* javax/lang/model/element/VariableElement.java:
Added.
(getConstantValue()): Added.
* javax/lang/model/type/DeclaredType.java:
Added.
(asElement()): Added.
(getEnclosingType()): Likewise.
(getTypeArguments()): Likewise.
* javax/lang/model/type/ReferenceType.java:
Added.
* javax/lang/model/type/TypeKind.java:
Added.
(ARRAY): Added.
(BOOLEAN): Likewise.
(BYTE): Likewise.
(CHAR): Likewise.
(DECLARED): Likewise.
(DOUBLE): Likewise.
(ERROR): Likewise.
(EXECUTABLE): Likewise.
(FLOAT): Likewise.
(INT): Likewise.
(LONG): Likewise.
(NONE): Likewise.
(NULL): Likewise.
(OTHER): Likewise.
(PACKAGE): Likewise.
(SHORT): Likewise.
(TYPEVAR): Likewise.
(VOID): Likewise.
(WILDCARD): Likewise.
(isPrimitive()): Implemented.
* javax/lang/model/type/TypeMirror.java:
Added.
(accept(TypeVisitor, P)): Added.
(equals(Object)): Likewise.
(getKind()): Likewise.
(hashCode()): Likewise.
(toString()): Likewise.
* javax/lang/model/type/TypeVisitor.java:
Added.
(visit(TypeMirror)): Added.
(visit(TypeMirror, P)): Likewise.
(visitUnknown(TypeMirror, P)): Likewise.
(visitDeclared(DeclaredType, P)): Likewise.
* javax/lang/model/util/Elements.java:
(getAllAnnotationMirrors(Element)): Added.
(getElementValuesWithDefaults(AnnotationMirror)): Likewise.
(overrides(ExecutableElement, ExecutableElement)): Likewise.
* javax/lang/model/util/Types.java:
(asElement(TypeMirror)): Added.
(asMemberOf(DeclaredType, Element)): Likewise.
(capture(TypeMirror)): Likewise.
(contains(TypeMirror, TypeMirror)): Likewise.
(directSupertypes(TypeMirror)): Likewise.
(erasure(TypeMirror)): Likewise.
(getDeclaredType(DeclaredType, TypeElement,
TypeMirror...)): Likewise.
(getDeclaredType(TypeElement, TypeMirror...)):
Likewise.
(isAssignable(TypeMirror, TypeMirror)): Likewise.
(isSameType(TypeMirror, TypeMirror)): Likewise.
(isSubtype(TypeMirror, TypeMirror)): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-11-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/annotation/processing/Processor.java:
Implemented.
(getSupportedAnnotationTypes()): Added.
(getSupportedOptions()): Likewise.
(getSupportedSourceVersion()): Likewise.
(init(ProcessingEnvironment)): Likewise.
(process(Set, RoundEnvironment)): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-11-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/annotation/processing/Filer.java,
* javax/annotation/processing/Messager.java,
* javax/annotation/processing/ProcessingEnvironment.java,
* javax/annotation/processing/RoundEnvironment.java,
* javax/lang/model/SourceVersion.java,
* javax/lang/model/element/Element.java,
* javax/lang/model/element/ElementKind.java:
Add authorship.
* javax/lang/model/element/ElementVisitor.java:
Add authorship and properly document type parameters.
* javax/lang/model/element/TypeElement.java:
Add authorship.
* javax/lang/model/util/ElementFilter.java:
Add authorship.
(FilteredSet.add(E)): Add @Override.
(FilteredSet.addAll(Collection)): Likewise.
(FilteredSet.clear()): Likewise.
(FilteredSet.contains(Object)): Likewise.
(FilteredSet.containsAll(Collection)): Likewise.
(FilteredSet.equals(Object)): Likewise.
(FilteredSet.hashCode()): Likewise.
(FilteredSet.isEmpty()): Likewise.
(FilteredSet.iterator()): Likewise.
(FilteredSet.remove(Object)): Likewise.
(FilteredSet.removeAll(Collection)): Likewise.
(FilteredSet.retainAll(Collection)): Likewise.
(FilteredSet.size()): Likewise.
(FilteredSet.toArray()): Likewise.
(FilteredSet.toArray(T[])): Likewise.
(FilteredIterator.hasNext()): Likewise.
(FilteredIterator.next()): Likewise.
(FilteredIterator.remove()): Likewise.
* javax/lang/model/util/Elements.java,
* javax/lang/model/util/Types.java:
Add authorship.
* javax/tools/ForwardingFileObject.java,
* javax/tools/ForwardingJavaFileObject.java:
Document type parameter.
* javax/tools/StandardLocation.java:
(ANNOTATION_PROCESSOR_PATH.isOutputLocation()):
Add @Override annotation.
(CLASS_OUTPUT.isOutputLocation()): Likewise.
(CLASS_PATH.isOutputLocation()): Likewise.
(PLATFORM_CLASS_PATH.isOutputLocation()): Likewise.
(SOURCE_OUTPUT.isOutputLocation()): Likewise.
(SOURCE_PATH.isOutputLocation()): Likewise.
(getName()): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ForwardingJavaFileObject. Set source/target to 1.6 for @Override.
2012-11-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/tools/FileObject.java:
Add missing comment in header.
* javax/tools/ForwardingFileObject.java:
New class.
(fileObject): Added.
(ForwardingFileObject(F)): Implemented.
(delete()): Likewise.
(getCharContent(boolean)): Likewise.
(getLastModified()): Likewise.
(getName()): Likewise.
(openInputStream()): Likewise.
(openOutputStream()): Likewise.
(openReader(boolean)): Likewise.
(openWriter()): Likewise.
(toUri()): Likewise.
* javax/tools/ForwardingJavaFileObject.java:
New class.
(ForwardingJavaFileObject(F)): Implemented.
(getKind()): Likewise.
(isNameCompatible(String,Kind)): Likewise.
* lib/Makefile.am:
Bump source/target to 1.6 to allow use of
@Override on interface implementations.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Filer and any dependent classes.
2012-11-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/annotation/processing/Filer.java:
(createClassFile(CharSequence,Element...): Added.
(createResource(JavaFileManager.Location, CharSequence,
CharSequence, Element...)): Likewise.
(createSourceFile(CharSequence,Element...): Likewise.
(getResource(JavaFileManager.Location, CharSequence,
CharSequence)): Likewise.
* javax/annotation/processing/FilerException.java:
New class.
(FilerException(String)): Implemented.
* javax/tools/JavaFileManager.java:
New interface.
(Location): New member interface.
(Location.getName()): Added.
(Location.isOutputLocation()): Likewise.
(close()): Likewise.
(flush()): Likewise.
(getClassLoader(Location)): Likewise.
(getFileForInput(Location,String,String)):
Likewise.
(getFileForOutput(Location,String,String,FileObject)):
Likewise.
(getJavaFileForInput(Location,String,
JavaFileObject.Kind)): Likewise.
(getJavaFileForOutput(Location,String,
JavaFileObject.Kind,FileObject)): Likewise.
(handleOption(String,Iterator)): Likewise.
(hasLocation(Location)): Likewise.
(inferBinaryName(Location,JavaFileObject)): Likewise.
(isSameFile(FileObject,FileObject)): Likewise.
(list(Location,String,Set,boolean)): Likewise.
* javax/tools/JavaFileObject.java:
New interface.
(Kind): New inner enum.
(CLASS): Added.
(HTML): Likewise.
(OTHER): Likewise.
(SOURCE): Likewise.
(Kind.extension): New public field.
(Kind.Kind(String)): Implemented.
(getKind()): Added.
(isNameCompatible(String,Kind)): Likewise.
* javax/tools/OptionChecker.java:
New interface.
(isSupportedOption(String)): Added.
* javax/tools/StandardLocation.java:
New enum.
(ANNOTATION_PROCESSOR_PATH): Added.
(CLASS_OUTPUT): Likewise.
(CLASS_PATH): Likewise.
(PLATFORM_CLASS_PATH): Likewise.
(SOURCE_OUTPUT): Likewise.
(SOURCE_PATH): Likewise.
(locCache): Likewise.
(getName()): Implemented.
(locationFor(String)): Implemented.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiles.
2012-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/annotation/processing/ProcessingEnvironment.java:
(getOptions()): Implemented.
(getSourceVersion()): Likewise.
(getTypeUtils()): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-11-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
New files to start supporting recent versions
of ecj & javac.
* javax/annotation/processing/Filer.java: Stub.
* javax/annotation/processing/Messager.java: Likewise.
* javax/annotation/processing/ProcessingEnvironment.java:
(getElementUtils()): Added.
(getFiler()): Likewise.
(getLocale()): Likewise.
(getMessager()): Likewise.
* javax/annotation/processing/RoundEnvironment.java:
(errorRaised()): Likewise.
(getElementsAnnotatedWith(Class)): Likewise.
(getElementsAnnotatedWith(TypeElement)): Likewise.
(getRootElements()): Likewise.
(processingOver()): Likewise.
* javax/lang/model/SourceVersion.java:
(RELEASE_0): Likewise.
(RELEASE_1): Likewise.
(RELEASE_2): Likewise.
(RELEASE_3): Likewise.
(RELEASE_4): Likewise.
(RELEASE_5): Likewise.
(RELEASE_6): Likewise.
(isIdentifier(CharSequence)): Likewise.
(latest()): Likewise.
(latestSupported()): Likewise.
* javax/lang/model/element/Element.java:
(accept(ElementVisitor,P)): Likewise.
(equals(Object)): Likewise.
(getAnnotation(Class)): Likewise.
(getEnclosedElements()): Likewise.
(getEnclosingElement()): Likewise.
(getKind()): Likewise.
(hashCode()): Likewise.
* javax/lang/model/element/ElementKind.java:
(ANNOTATION_TYPE): Likewise.
(CLASS): Likewise.
(CONSTRUCTOR): Likewise.
(ENUM): Likewise.
(ENUM_CONSTANT): Likewise.
(EXCEPTION_PARAMETER): Likewise.
(FIELD): Likewise.
(INSTANCE_INIT): Likewise.
(INTERFACE): Likewise.
(LOCAL_VARIABLE): Likewise.
(METHOD): Likewise.
(OTHER): Likewise.
(PACKAGE): Likewise.
(PARAMETER): Likewise.
(STATIC_INIT): Likewise.
(TYPE_PARAMETER): Likewise.
* javax/lang/model/element/ElementVisitor.java:
(visit(Element)): Likewise.
(visit(Element, P)): Likewise.
(visitType(TypeElement, P): Likewise.
(visitUnknown(Element, P): Likewise.
* javax/lang/model/element/TypeElement.java: Stub.
* javax/lang/model/util/ElementFilter.java:
(typesIn(Set)): Implemented.
(FilteredSet): Class which typesIn returns an instance of.
(FilteredSet.elements): New field.
(FilteredSet.clazz): Likewise.
(FilteredSet.FilteredSet(Set,Class)): Implemented.
(FilteredSet.add(E)): Likewise.
(FilteredSet.addAll(Collection)): Likewise.
(FilteredSet.clear()): Likewise.
(FilteredSet.contains(Object)): Likewise.
(FilteredSet.containsAll(Collection)): Likewise.
(FilteredSet.equals(Object)): Likewise.
(FilteredSet.hashCode()): Likewise.
(FilteredSet.isEmpty()): Likewise.
(FilteredSet.iterator()): Likewise.
(FilteredSet.remove(Object)): Likewise.
(FilteredSet.removeAll(Collection)): Likewise.
(FilteredSet.retainAll(Collection)): Likewise.
(FilteredSet.size()): Likewise.
(FilteredSet.toArray()): Likewise.
(FilteredSet.toArray(T[])): Likewise.
(FilteredIterator): Class which FilteredSet.iterator()
provides an instance of.
(FilteredIterator.iterator): New field.
(FilteredIterator.clazz): Likewise.
(FilteredIterator.next): Likewise.
(FilteredIterator.FilteredIterator(Iterator,Class)): Implemented.
(FilteredIterator.hasNext()): Likewise.
(FilteredIterator.next()): Likewise.
(FilteredIterator.remove()): Likewise.
* javax/lang/model/util/Elements.java:
(getAllMembers(TypeElement)): Likewise.
(getConstantExpression(Object)): Likewise.
(getDocComment(Object)): Likewise.
(getTypeElement(CharSequence)): Likewise.
(hides(Element,Element)): Likewise.
(isDeprecated(Element)): Likewise.
(printElements(Writer,Element...)): Likewise.
* javax/lang/model/util/Types.java: Stub.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-11-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/55182
* configure.ac:
Lower required version to support autoconf
on RHEL6. Make disabling Werror the default.
If a Qt4-specific moc is detected, use it
rather than the default.
* doc/Makefile.am:
Generate texi2dvi output in the build directory
and explicitly specify POSIX locale to work around
Debian bug 586134.
(clean-local): Remove output from texi2dvi.
Signed-off-by: Andrew Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GenerateBreakIteratorData tool
2012-10-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/55140
* NEWS: List fix.
* java/lang/String.java:
(codePointBefore(int)): Fix index check to match spec.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2012-10-16 Ivan Maidanski <ivmai@mail.ru>
* java/util/Collections.java:
(emptySet(), EmptySet.iterator(), emptyList(), emptyMap(),
EmptyMap.entrySet(), EmptyMap.keySet(), EmptyMap.values()): Suppress
"unchecked" warnings.
(emptySet(), emptyList(), emptyMap()): Don't create new instance (use
the corresponding immutable container instance); remove FIXME.
(EmptySet.equals(Object), EmptyList.equals(Object),
EmptyMap.entrySet(), EmptyMap.equals(Object), EmptyMap.keySet(),
EmptyMap.values()): Add generic typing.
(SingletonList.subList(int, int)): Use emptyList() instead of
EMPTY_LIST (to eliminate "unchecked" warning).
(SynchronizedCollection.toArray(T[])): Rename T type to E (to
suppress compiler warning about type hiding).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/41689
* javax/security/sasl/Sasl.java:
(CREDENTIALS): Add missing field.
* NEWS: Updated.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Updated with latest bug fixes.
* THANKYOU: Add bug authors.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2010-05-20 Paul Viney <paul@diasoft.nl>
PR classpath/44208
* java/io/ObjectInputStream.java,
(parseContent(byte,boolean)): Ensure a handle
for the enum is registered before one for its
String constant.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
representation.
2009-12-30 Paul Fernhout <pdfernhout@kurtz-fernhout.com>
PR classpath/42551
* javax/sound/midi/MetaMessage.java:
(setMessage(int,byte[],int)): Don't overwrite
length variable when computing the length representation.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2012-10-17 Jeremy Singer <Jeremy.Singer@glasgow.ac.uk>
PR classpath/54960
* gnu/xml/transform/SAXSerializer.java:
(getValue(String)): Avoid NullPointerException.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|/
|
|
|
|
|
|
|
|
|
| |
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c:
(Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1(JNIEnv*,
jclass, jlong)): Use jack_client_open instead of
deprecated jack_client_new.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
| |
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
| |
2012-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* configure.ac: Set to 0.99.1pre, as
0.99.1 will now be next release.
* NEWS: Updated with last bug fix
and 0.99.1
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch fixes NPE for the following Malva test cases:
assertEquals("false", String.format("%b", (Object[])null));
assertEquals("null", String.format("%h", (Object[])null));
assertEquals("null", String.format("%s", (Object[])null));
assertEquals("null", String.format("%c", (Object[])null));
assertEquals("null", String.format("%d", (Object[])null));
assertEquals("null", String.format("%o", (Object[])null));
assertEquals("null", String.format("%x", (Object[])null));
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
2012-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/54931
* m4/acinclude.m4:
(CLASSPATH_WITH_GJDOC): Allow GJDoc versions
included with GNU Classpath to be used to
build (0.98 on).
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
| |
OpenJDK throws StringIndexOutOfBoundsException and so should we.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
2011-07-20 Ivan Maidanski <ivmai@mail.ru>
* native/jni/java-util/java_util_VMTimeZone.c:
Include jcl.h file.
(Java_java_util_VMTimeZone_getSystemTimeZoneId): Throw
OutOfMemoryException in case of malloc() failure.
[ penberg@kernel.org: cleanups ]
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-06-10 Ivan Maidanski <ivmai@mail.ru>
* compat/.gitignore,
* compat/java.net/.gitignore,
* doc/.gitignore,
* doc/api/.gitignore,
* doc/www.gnu.org/.gitignore,
* doc/www.gnu.org/announce/.gitignore,
* doc/www.gnu.org/cp-tools/.gitignore,
* doc/www.gnu.org/docs/.gitignore,
* doc/www.gnu.org/downloads/.gitignore,
* doc/www.gnu.org/events/.gitignore,
* doc/www.gnu.org/faq/.gitignore,
* examples/.gitignore,
* external/.gitignore,
* external/jsr166/.gitignore,
* external/relaxngDatatype/.gitignore,
* external/sax/.gitignore,
* external/w3c_dom/.gitignore,
* gnu/classpath/.gitignore,
* gnu/java/locale/.gitignore,
* gnu/java/security/.gitignore,
* gnu/test/.gitignore,
* include/.gitignore,
* java/util/.gitignore,
* lib/.gitignore,
* native/.gitignore,
* native/fdlibm/.gitignore,
* native/jawt/.gitignore,
* native/jni/.gitignore,
* native/jni/classpath/.gitignore,
* native/jni/gconf-peer/.gitignore,
* native/jni/gstreamer-peer/.gitignore,
* native/jni/gtk-peer/.gitignore,
* native/jni/java-io/.gitignore,
* native/jni/java-lang/.gitignore,
* native/jni/java-math/.gitignore,
* native/jni/java-net/.gitignore,
* native/jni/java-nio/.gitignore,
* native/jni/java-util/.gitignore,
* native/jni/midi-alsa/.gitignore,
* native/jni/midi-dssi/.gitignore,
* native/jni/native-lib/.gitignore,
* native/jni/qt-peer/.gitignore,
* native/jni/xmlj/.gitignore,
* native/plugin/.gitignore,
* native/testsuite/.gitignore,
* native/vmi/.gitignore,
* resource/.gitignore,
* resource/META-INF/services/.gitignore,
* scripts/.gitignore,
* test/.gitignore,
* test/gnu.java.lang.reflect/.gitignore,
* test/java.io/.gitignore,
* test/java.lang.reflect/.gitignore,
* test/java.net/.gitignore,
* test/java.util/.gitignore,
* tools/.gitignore,
* tools/gnu/classpath/tools/doclets/.gitignore,
* tools/gnu/classpath/tools/doclets/debugdoclet/.gitignore,
* tools/gnu/classpath/tools/doclets/htmldoclet/.gitignore,
* tools/gnu/classpath/tools/doclets/xmldoclet/.gitignore,
* tools/gnu/classpath/tools/doclets/xmldoclet/doctranslet/.gitignore,
* tools/gnu/classpath/tools/gjdoc/.gitignore,
* tools/gnu/classpath/tools/gjdoc/expr/.gitignore,
* tools/gnu/classpath/tools/java2xhtml/.gitignore,
* tools/gnu/classpath/tools/taglets/.gitignore,
* vm/.gitignore,
* vm/reference/.gitignore: Renamed from .cvsignore.
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-10-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/awt/geom/Area.java:
(solids): Add type parameter.
(holes): Likewise.
(ccIntersections): Likewise and rename to meet
standards.
(Area()): Add type parameters.
(Area(Shape)): Likewise and remove redundant casts.
(add(Area)): Likewise and remove unused nNodes variable.
(subtract(Area)): Likewise.
(intersect(Area)): Likewise.
(exclusiveOr(Area)): Likewise.
(reset()): Add type parameters.
(isEmpty()): Remove redundant casts.
(isPolygonal()): Likewise.
(isRectangular()): Likewise.
(getBounds2D()): Likewise.
(clone()): Likewise.
(equals(Area)): Add type parameters.
(transform(AffineTransform)): Remove redundant casts.
(contains(double,double)): Likewise.
(contains(double,double,double,double)): Likewise.
(intersects(double,double,double,double)): Likewise.
(AreaIterator.segments): Add type parameter.
(AreaIterator(AffineTransform)): Add type parameters.
Remove redundant casts.
(currentSegment(double[])): Remove redundant casts.
(currentSegment(float[])): Likewise.
(weilerAtherton(Vector)): Add type parameters and remove
redundant casts.
(recursiveSubdivide(CubicCurve2D,CubicCurve2D,int,int,double,
double,double,double)): Fix use of cc_intersections/ccIntersections.
(cubicCubicIntersect(CubicSegment,CubicSegment)): Likewise.
(lineQuadIntersect(LineSegment,QuadSegment)): Fix Javadoc typo.
(makeSegment(Shape)): Add type parameters.
(createNodes(Segment,Segment)): Remove redundant bracketing.
(deleteRedundantPaths(Vector)): Likewise. Remove redundant
casts. Add type parameters.
(setDirection(Vector,boolean)): Add type parameters and remove
redundant casts.
(cloneSegmentList()): Add type parameter. Remove redundant
cast.
(createNodes(Segment,Intersection[])): Add type parameter.
Remove redundant cast.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-10-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java:
(DSSIInfo.copyright): Added field.
(DSSIInfo(String,String,String,String,String,String,long)):
Extended constructor to store copyright.
(examineLibrary(String)): Add type parameter.
Fix call to new DSSIInfo constructor.
(static): Add type parameters.
* gnu/javax/sound/midi/dssi/DSSISynthesizer.java:
(instruments): Add type parameter.
(resources): Likewise.
(getResources()): Remove redundant cast.
(getInstruments()): Likewise.
(getInstrument(Patch)): Add type parameter and remove
redundant cast.
(soundbanks): Add type parameter.
(getAvailableInstruments()): Add type parameters and
remove redundant casts.
* gnu/javax/sound/midi/file/MidiFileReader.java:
(getSequence(InputStream)): Don't store length as not used.
* gnu/javax/sound/midi/file/MidiFileWriter.java:
(computeTrackLength(Track,MidiDataOutputStream)): Drop unused
count variable.
* gnu/javax/sound/sampled/WAV/WAVReader.java:
(getAudioFileFormat(InputStream)): Drop unused blockAlign variable.
* gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java:
(getLine(Line.Info)): Add type parameter to Class.
* javax/sound/midi/MidiSystem.java:
(getMidiDeviceInfo()): Add type parameters. Remove unnecessary cast.
(getMidiDevice(MidiDevice.Info)): Add type parameter.
(getSoundbank(InputStream)): Add type parameters and remove
unnecessary casts.
(getSoundbank(URL)): Likewise.
(getSoundbank(File)): Likewise.
(getMidiFileFormat(InputStream)): Likewise.
(getMidiFileFormat(URL)): Likewise.
(getMidiFileFormat(File)): Likewise.
(getSequence(InputStream)): Likewise.
(getSequence(URL)): Likewise.
(getSequence(File)): Likewise.
(getMidiFileTypes()): Likewise.
(isFileTypeSupported(int)): Likewise.
(getMidiFileTypes(Sequence)): Likewise.
(isFileTypeSupported(int,Sequence)): Likewise.
(write(Sequence,int,OutputStream)): Likewise.
(write(Sequence,int,File)): Likewise.
* javax/sound/midi/SoundbankResource.java:
(dataClass): Add type parameter.
* javax/sound/midi/Track.java:
(events): Add type parameter.
(eventSet): Likewise.
(add(MidiEvent)): Remove redundant cast.
(get(int)): Likewise.
(ticks()): Likewise.
* javax/sound/sampled/AudioSystem.java:
(getAudioFileFormat(File)): Add type parameters and
remove unnecessary casts.
(getAudioFileFormat(InputStream)): Likewise.
(getAudioFileFormat(URL)): Likewise.
(getAudioFileTypes()): Likewise.
(getAudioFileTypes(AudioInputStream)): Likewise.
(getAudioInputStream(AudioFormat.Encoding,AudioInputStream)):
Likewise.
(getAudioInputStream(AudioFormat,AudioInputStream)): Likewise.
(getAudioInputStream(File)): Likewise.
(getAudioInputStream(InputStream)): Likewise.
(getAudioInputStream(URL)): Likewise.
(getMixer(Mixer.Info)): Likewise.
(getMixerInfo()): Likewise.
(getTargetEncodings(AudioFormat.Encoding)): Likewise.
(getTargetEncodings(AudioFormat)): Likewise.
(getTargetFormats(AudioFormat.Encoding,AudioFormat)): Likewise.
(isConversionSupported(AudioFormat.Encoding,AudioFormat)): Likewise.
(isConversionSupported(AudioFormat,AudioFormat)): Likewise.
(write(AudioInputStream,AudioFileFormat.Type,File)): Likewise.
(write(AudioInputStream,AudioFileFormat.Type,OutputStream)): Likewise.
* javax/sound/sampled/Line.java:
(klass): Add type parameter.
* m4/ac_prog_javac.m4:
(ECJ_OPTS): Turn of unused private field warnings for now,
as some may be used from native code.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-09-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/42134
* java/text/Bidi.java:
(Bidi(AttributedCharacterIterator)): Remove shadow
variable text which hides the instance variable
of the same name. Remove unnecessary use of this.
* NEWS: Updated.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* tools/com/sun/javadoc/Doc.java:
Add type parameter to Comparable.
* tools/gnu/classpath/tools/doclets/AbstractDoclet.java:
(tagletMap): Use type parameters.
(packageGroups): Likewise.
(tagletPath): Removed, unused.
(mentionedTags): Use type parameters.
(optionNoEmailWarn): Removed, unused.
(optionTagletPath): Likewise.
(DocletOptionTaglet): Likewise.
(DocletOptionGroup.set(String[])): Add type aprameters to
groupPackages.
(DocletOptionTagletPath): Removed, unused.
(commonOptions): Remove optionTagletPath.
(nameToOptionMap): Add type parameters.
(getOptionLength(String)): Remove unnecessary cast.
(getKnownDirectSubclasses(ClassDoc)): Add type parameters.
(IndexKey): Add type parameter to Comparable.
(IndexKey.compareTo(IndexKey)): Update to use specific type.
(categorizedIndex): Use type parameters.
(getCategorizedIndex()): Likewise.
(indexByName): Likewise.
(getIndexByName()): Likewise.
(printTaglets(Tag[],TagletContext,TagletPrinter,boolean)): Likewise.
(addUsedBy(Map,ClassDoc,UsageType,Doc,PackageDoc)): Likewise.
(collectUsage()): Likewise.
(usedClassToPackagesMap): Likewise.
(getUsageOfClass(ClassDoc)): Likewise.
(UsageType): Add type parameter to Comparable.
(UsageType.compareTo(UsageType)): Update to use specific type.
(getPackageGroups()): Use type parameters.
* tools/gnu/classpath/tools/doclets/PackageMatcher.java:
(patterns): Use type parameters.
(filter(Packagedoc[])): Likewise.
(match(PackageDoc)): Likewise.
* tools/gnu/classpath/tools/doclets/htmldoclet/HtmlDoclet.java:
(externalDocSets): Use type parameters.
(packageNameToDocSet)): Likewise.
(printPackagePage(File,String,PackageDoc,PackageDoc,PackageDoc)): Likewise.
(TreeNode): Add type parameter to Comparable.
(TreeNode.children): Use type parameters.
(TreeNode.compareTo(TreeNode)): Update to use specific type.
(addClassTreeNode(Map,ClassDoc)): Use type parameters.
(addInterfacetreeNode(Map,ClassDoc)): Likewise.
(printClassTree(HtmlPage,ClassDoc[])): Likewise.
(printInterfaceTree(HtmlPage,ClassDoc[])): Likewise.
(printFullTreePage()): Likewise.
(printIndexEntry(HtmlPage,Doc)): Likewise.
(printPackagesMenuPage()): Likewise.
(printClassMenuSection(HtmlPage,Collection,String)): Likewise.
(printClassMenuList(HtmlPage,ClassDoc[],boolean)): Likewise.
(printSplitIndex()): Likewise.
(printIndexPage(int,int,Character,List)): Likewise.
(printSerializationPage()): Likewise.
(printDeprecationPage()): Likewise.
(getMemberDocURL(HtmlPage,ProgramElementDoc)): Likewise.
(createTypeHref(HtmlPage,Type,boolean)): Likewise.
(getPackageURL(PackageDoc)): Remove redundant cast.
(getClassURL(ClassDoc)): Likewise.
* tools/gnu/classpath/tools/gjdoc/ClassDocImpl.java:
(primitiveNames): Add type parameters.
(findClassCache): Likewise.
(findClass(String,String): Likewise.
(createInstance(ClassDoc,PackageDoc,ClassDoc[],PackageDoc[],
char[],int,int,List)): Likewise.
(resolve()): Likewise.
(typeMap): Likewise.
(typeForString(String)): Likewise..
(equals(Object)): Likewise.
(maybeSerMethodList): Likewise.
(setMaybeSerMethodList(List)): Likewise.
(findFieldValue(String,ClassDoc,String,Set)): Likewise.
(getValue(String,Set)): Likewise.
(compareTo(Doc)): Use specific type.
(importStatementList): Use type parameters.
(setImportStatementList(List)): Likewise.
* tools/gnu/classpath/tools/gjdoc/ClassDocProxy.java:
(compareTo(Doc)): Use specific type.
* tools/gnu/classpath/tools/gjdoc/ClassDocReflectedImpl.java:
Expand imports.
(findClass(String)): Don't use full class name for String.
(compareTo(Doc)): Use specific type.
* tools/gnu/classpath/tools/gjdoc/DocImpl.java:
(compareTo(Doc)): Use specific type.
* tools/gnu/classpath/tools/gjdoc/ExecutableMemberDocImpl.java:
(compareTo(Doc)): Use specific type.
* tools/gnu/classpath/tools/gjdoc/FieldDocImpl.java:
(createFromSource(ClassDoc,PackageDoc,char[],int,int)):
Use type parameters. Remove unused lastFieldDefStart
variable.
(constantValue(Set)): Use type parameters.
* tools/gnu/classpath/tools/gjdoc/Main.java:
(option_overview): Removed unused field.
(option_classpath): Likewise.
(option_sourcepath): Add type parameters.
(option_extdirs): Removed unused field.
(option_verbose): Likewise.
(option_java_flags): Likewise.
(option_subpackages): Add type parameters.
(option_exclude): Likewise.
(startDoclet(List)): Likewise.
(addFoundPackages(String,Set)): Likewise.
(findPackages(String,File,Set)): Likewise.
(start(String[])): Likewise.
(addJavaLangClasses()): Commented out, apparently unused.
(options): Add type parameters.
(initOptions()): Likewise. Remove redundant variable
setting.
* tools/gnu/classpath/tools/gjdoc/MemberDocImpl.java:
(compareTo(Doc)): Use specific type.
* tools/gnu/classpath/tools/gjdoc/PackageDocImpl.java:
(allClassesSet): Use type parameters.
(ordinaryClassesList): Likewise.
(exceptionsList): Likewise.
(interfacesList): Likewise.
(errorsList): Likewise.
(resolve()): Likewise.
(toClassDocArray(Collection)): Likewise.
(compareTo(Doc)): Use specific type.
* tools/gnu/classpath/tools/gjdoc/Parser.java:
Expand import statements.
(process(Parser,char[],int,int)): Add type parameters.
(processedFiles): Add type parameters.
(processSourceFile(File,boolean,String,String)): Add type
parameters.
(classOpened(char[],int,int)): Likewise.
(toArray(List,T[])): Likewise.
(classClosed()): Likewise.
(Context.fieldList): Likewise.
(Context.filteredFieldList): Likewise.
(Context.sfieldList): Likewise.
(Context.methodList): Likewise.
(Context.filteredMethodList): Likewise.
(Context.maybeSerMethodList): Likewise.
(Context.constructorList): Likewise.
(Context.filteredConstructorList): Likewise.
(Context.innerClassesList): Likewise.
(Context.filteredInnerClassesList): Likewise.
* tools/gnu/classpath/tools/gjdoc/RootDocImpl.java:
(findSourceFiles(String)): Add type parameters.
* tools/gnu/classpath/tools/gjdoc/expr/Evaluator.java:
(evaluate(String,Set,EvaluatorEnvironment)): Add type parameters.
* tools/gnu/classpath/tools/gjdoc/expr/EvaluatorEnvironment.java:
(getValue(String,Set)): Add type parameters.
* tools/gnu/classpath/tools/gjdoc/expr/Type.java:
(clazz): Add type parameters.
(Type(Class)): Likewise.
* tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java:
(keep): Remove unused field.
(errors): Add type parameter.
(compile): Remove unused field.
(classpath): Likewise.
(clazz): Add type parameter.
(mRemoteInterfaces): Likewise.
(run(String[])): Add type parameters.
(processClass(String)): Likewise.
(getException()): Remove unnecessary cast.
(typeArray(Class[])): Add type parameter.
(param(Method,int)): Add type parameter. Use Integer.valueOf.
(generateClassConstant(MethodVisitor,Class)): Add type parameters.
(generateClassArray(MethodVisitor,Class)): Likewise.
(generateStub()): Remove unused variables stubclassname, size
& endReturnTryCatch. Remove unnecessary casts and add type
parameters.
(generateSkel()): Remove unused variable skelclassname.
Use Long.valueOf.
(generateMethodSkel(MethodVisitor,Method,Variables)):
Add type parameters.
(typeArg(Class)): Add type parameter.
(readMethod(Class)): Likewise.
(writeMethod(Class)): Likewise.
(returnOpcode(Class)): Likewise.
(loadOpcode(Class)): Likewise.
(storeOpcode(Class)): Likewise.
(unboxMethod(Class)): Likewise.
(box(Class)): Likewise.
(size(Class)): Likewise.
(sortExceptions(Class[])): Add type parameters.
(setup(boolean,boolean,boolean,boolean,boolean,boolean,
boolean,boolean,boolean,boolean,String,String,String,String)):
Remove unused variables keep & classpath.
(findRemoteMethods()): Add type parameters.
(MethodRef.exceptions): Add type parameter.
(MethodRef.removeSubclasses(Class[])): Add type parameters.
(MethodRef.intersectExceptions(Method)): Likewise.
* tools/gnu/classpath/tools/rmic/Main.java:
(backends): Add type parameter.
(run(String[])): Remove redundant cast.
* tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java:
(getArgumentList()): Add type parameters.
(getArgumentNames()): Likewise.
(getThrows()): Likewise.
(getStaticMethodDeclarations()): Likewise.
* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java:
Add type parameter to Comparable.
(implementedRemotes): Add type parameter.
(extraImports): Likewise.
(methods): Likewise.
(interfaces): Likewise.
(compile(Class)): Add type parameters.
(getId(Class)): Add type parameter.
(getIdList(Collection)): Add type parameters.
(generateStub()): Add type parameters.
(generateTie()): Likewise.
(compare(AbstractMethodGenerator,AbstractMethodGenerator)): Use
more specific types.
(getImportStatements()): Add type parameters.
* tools/gnu/classpath/tools/rmic/Variables.java:
(free): Add type parameter.
(names): Add type parameters.
(wides): Add type parameter.
(declared): Likewise.
(allocateNow(Object,int)): Use Integer.valueOf.
(allocate(Object,int)): Add type parameters.
(deallocate(Object)): Remove redundant cast.
Use Integer.valueOf.
(get(Object)): Remove redundant cast.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a fix to prepare the xmlj_io.c file of gnu classpath to a coming
API change in libxml2.
Basically, we were previously accessing fields inside the
xmlOutputBuffer struct of libxml2. In a coming version of libxml2,
that won't be possible anymore. Client code will have to use accessor
functions instead. For the gory details, there is an interestin note
of Daniel Veillard (author of libxml2) at
https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00007.html.
This patch defines too accessor macros that, depending on the version
of libxml2 we are using will either access the fields of
xmlOutputBuffer directly, or use the new accessor function.
Tested on x86_64-unknown-linux-gnu against trunk.
2012-08-09 Dodji Seketeli <dodji@redhat.com>
Use accessor functions to manipulate xmlOutputBuffer
* native/jni/xmlj/xmlj_io.c (GET_XML_OUTPUT_BUFFER_CONTENT)
(GET_XML_OUTPUT_BUFFER_SIZE): New macros.
(xmljOutputWriteCallback): Use them.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-08-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/TimeZone.java:
(defaultZone()): Use parameterized PrivilegedAction.
(aliases0): Add type parameters.
(timezones0); Likewise.
(timezones()): Likewise.
(getDateParams(String)): Fix indenting.
(getTimeZoneInternal(String)): Remove redundant casts.
(getAvailableIDs(int)): Add type parameters.
(getAvailableIDs(File,String,ArrayList)): Likewise.
(getAvailableIDs()): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
Update copyright headers throughout.
* gnu/java/text/AttributedFormatBuffer.java:
(ranges): Add generic type information.
(attributes): Likewise.
(aRanges): Rename from a_ranges.
(aAttributes): Add generic type information and
rename from a_attributes. Convert to a list of
maps rather than an array for type safety.
(defaultAttr): Replace prefix with static import.
(AttributedFormatBuffer(CPStringBuilder): Add generic
typing.
(addAttribute(int,Attribute)): Drop prefix, rename
new_range to newRange. Add generic types.
Use Integer.valueOf in place of new Integer.
(append(String,Attribute)): Drop prefix.
(append(String,int[],List)): Replace array with list.
Use Integer.valueOf instead of new Integer.
(append(char,Attribute)): Drop prefix.
(setDefaultAttribute(Attribute)): Likewise.
(getDefaultAttribute()): Likewise.
(sync()): Rename a_ranges to aRanges. Drop unneeded casts.
Replace array with list.
(getRanges()): Rename a_ranges to aRanges.
(getAttributes()): Replace map with list. Rename a_attributes
to aAttributes.
* gnu/java/text/FormatBuffer.java:
Add static import for Attribute.
* gnu/java/text/FormatCharacterIterator.java:
(attributes): Replace array with list.
(FormatCharacterIterator()): Likewise.
(FormatCharacterIterator(String,int,List)): Switch from
array to list. Update documentation.
(getAllAttributeKeys()): Add generic type. Switch
from array to list.
(getAttributes()): Likewise.
(getAttribute(Attribute)): Likewise.
(getRunLimit(Set)): Likewise.
(getRunLimit(Attribute)): Likewise.
(getRunStart(Set)): Likewise.
(getRunStart(Attribute)): Likewise.
(mergeAttributes(List,int[])): Likewise. Use List
in preference to Vector. Use newRanges & newAttributes
rather than new_ranges and new_attributes.
(append(AttributedCharacterIterator)): Likewise.
(append(String,HashMap)): Likewise.
(addAttributes(Map,int,int)): Likewise.
(dumpTable()): Use startRange instead of start_range.
Add generic types.
* gnu/java/text/StringFormatBuffer.java,
Add static import for Attribute.
* java/text/AttributedString.java:
Add static import for Attribute.
(attribs): Add generic type.
(AttributeRange(Map,int,int)): Likewise.
(AttributedString(String,Map)): Likewise.
(AttributedString(AttributedCharacterIterator, int, int,
Attribute)): Drop prefix, add generic types.
(addAttribute(Attribute,Object)): Drop prefix.
(addAttribute(Attribute,Object,int,int)): Likewise
and add generic types.
(addAttributes(Map,int,int)): Add generic types.
(getIterator(Attribute)): Drop prefix.
(getIterator(Attribute[])): Likewise.
* java/text/AttributedStringIterator.java:
Add static import for Attribute.
(getAllAttributeKeys()): Add generic type.
(getRunLimit(Attribute)): Add generic type, drop
prefix.
(getRunLimit(Set)): Add generic types.
(getRunStart(Attribute)): Add generic type, drop
prefix.
(getRunStart(Set)): Add generic types.
(getAttributes()): Likewise.
* java/text/Bidi.java:
(formatterIndices): Add generic type.
(reinsertFormattingCodes()): Drop redundant cast.
* java/text/BreakIterator.java:
(getInstance(String,Locale)): Add generic type to Class.
* java/text/ChoiceFormat.java:
(stringVec): Add generic type.
(limitVec): Likewise.
(applyPattern(String)): Remove redundant cast.
* java/text/CollationElementIterator.java:
(textDecomposition): Renamed from text_decomposition.
(textIndexes): Renamed from text_indexes.
(setText(String)): Add generic types. Rename a_element
to aElement. Rename a_idx to aIdx. Rename key_old to
keyOld. Use Integer.valueOf rather than new Integer.
* java/text/DecimalFormat.java:
(attributes): Add generic type.
(formatToCharacterIterator(Object)): Remove redundant cast.
* java/text/MessageFormat.java:
(Field()): Remove unneeded warning suppression.
* java/text/NumberFormat.java:
(Field()): Likewise.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-07-01 Andrew John Hughes <ahughes@redhat.com>
PR classpath/44052
* java/text/DateFormatSymbols.java:
(DFSData): Inner immutable class for storing parsed
locale data.
(DFSData.DFSData(String[],String[],String,String[],
String[],String[],String[],String[],String[],
String[][])): Constructor to initialise a new instance
with property data.
(DFSData.getAMPMs()): Return a clone of the ampms array.
(DFSData.getEras()): Likewise for eras.
(DFSData.getLocalPatternChars()): Return the local pattern
characters.
(DFSData.getMonths()): Return a clone of the (long) months
array.
(DFSData.getShortMonths()): Likewise for the short months array.
(DFSData.getWeekdays()): Likewise for (long) weekdays.
(DFSData.getShortWeekdays()): Likewise for short weekdays.
(DFSData.getDateFormats()): Likewise for date formats.
(DFSData.getTimeFormats()): Likewise for time formats.
(DFSData.getZoneStrings()): Likewise for zone strings.
(dataCache): Cache of parsed locale data.
(getZoneStrings(List<ResourceBundle>,Locale)):
Make static so it can be called by retrieveData.
(formatsForKey(List<ResourceBundle>,String)):
Likewise.
(getString(List<ResourceBundle>, String)): Likewise.
(retrieveData(Locale)): Separate out retrieval of
locale data from constructor and store it in the cache.
(DateFormatSymbols(Locale)): Modify to call retrieveData
and set fields from the returned DFSData instance.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lookups.
Fix bug whereby we were using the least-specific bundle for time & date formats.
2012-05-30 Andrew John Hughes <ahughes@redhat.com>
* java/text/DateFormatSymbols.java:
(getZoneStrings(List<ResourceBundle>, Locale)):
Refactor to use existing list of resource bundles.
(formatsForKey(List<ResourceBundle>, String)):
Likewise and use new local getString method.
(getString(List<ResourceBundle>, String)):
Use first available String from most-specific locale
rather than the least-specific.
(DateFormatSymbols(Locale)): Use bundles for resolving
localPatternChars, dateFormats, timeFormats and runtimeZoneStrings
as well.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Werror build.
2012-05-04 Andrew John Hughes <ahughes@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
(font_map): Renamed from ft2_map.
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState(JNIEnv,
jclass)): Remove cast to pango_ft2_font_map_new.
(Java_gnu_java_awt_peer_gtk_GdKFontPeer_setFont(JNIEnv,
jobject,jstring,jint,jint)): Call pango_font_map_create_context
rather than deprecated pango_ft2_font_map_create_context.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
locale data fields.
2012-05-01 Andrew John Hughes <ahughes@redhat.com>
* java/text/DateFormatSymbols.java:
Rename U00AE and U000A9 as the more memorable
FIELD_SPLIT and ZONE_SPLIT respectively.
* THANKYOU: Add Andreas Sewe.
2012-04-30 Andreas Sewe <sewe@st.informatik.tu-darmstadt.de>
* java/text/DateFormatSymbols.java:
(U00A9): Pre-compile pattern for zone separation.
(U00AE): Likewise for fields.
(getStringArray(List,String,int,String)): Use U00AE.split
in place of String.split.
(getZoneStrings(ResourceBundle,Locale)): Use U00AE.split
and U00A9.split in place of String.split.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-04-25 Andrew John Hughes <ahughes@redhat.com>
Update warning suppression so it still works
with newer compilers.
* javax/activation/ActivationDataFlavor.java:
(ActivationDataFlavor(Class,String,String)): Suppress
rawtypes not unchecked.
(ActivationDataFlavor(Class,String)): Likewise.
(getRepresentationClass()): Likewise.
* javax/activation/MimeTypeParameterList.java:
(getNames()): Likewise.
* javax/management/DefaultLoaderRepository.java:
(loadClass(String)): Likewise.
(loadClassWithout(ClassLoader,String)): Likewise.
* javax/management/MBeanConstructorInfo.java:
(MBeanConstructorInof(String,Constructor)): Likewise.
* javax/management/remote/rmi/RMIConnection.java:
(addNotificationListener(ObjectName,ObjectName,MarshelledObject,
MarshelledObject,Subject)): Likewise.
(addNotificationListeners(ObjectName[],MarshelledObject[], Subject[])):
Likewise.
(createMBean(String,ObjectName,MarshalledObject,String,Subject)): Likewise.
(createMBean(String,ObjectName,ObjectName,MarshalledObject,String[],Subject)):
Likewise.
(invoke(ObjectName,String,MarshalledObject,String[],Subject)): Likewise.
(queryMBeans(ObjectName,MarshalledObject,Subject)): Likewise.
(queryNames(ObjectName,MarshalledObject,Subject)): Likewise.
(removeNotificationListener(ObjectName,ObjectName,MarshalledObject,
MarshalledObject,Subject)): Likewise.
(setAttribute(ObjectName,MarshalledObject,Subject)): Likewise.
(setAttributes(ObjectName,MarshalledObject,Subject)): Likewise.
* javax/swing/tree/DefaultMutableTreeNode.java:
(children()): Likewise.
(preorderEnumeration()): Likewise.
(postorderEnumeration()): Likewise.
(breadthFirstEnumeration()): Likewise.
(depthFirstEnumeration()): Likewise.
(pathFromAncestorEnumeration(TreeNode)): Likewise.
(BreadthFirstEnumeration.nextElement()): Move annotation down to assignment level.
(PreorderEnumeration.PreorderEnumeration(TreeNode)): Likewise.
(PreorderEnumeration.traverse(Enumeration)): Likewise.
(PostorderEnumeration.PostorderEnumeration(TreeNode)): Likewise.
(PostorderEnumeration.traverse(Enumeration()): Likewise.
* javax/swing/tree/TreeNode.java:
(children()): Suppress rawtypes not unchecked.
* javax/xml/namespace/NamespaceContext.java:
(getPrefixes(String)): Likewise.
* javax/xml/stream/XMLEventFactory.java:
(createStartElement(QName,Iterator,Iterator)): Likewise.
(createStartElement(String,String,String,Iterator,Iterator)): Likewise.
(createStartElement(String,String,String,Iterator,Iterator,NamespaceContext)):
Likewise.
(createEndElement(QName,Iterator)): Likewise.
(createEndElement(String,String,String,Iterator)): Likewise.
* javax/xml/stream/XMLEventReader.java: Likewise (at class level
due to inheritance).
* javax/xml/stream/events/DTD.java:
(getNotations()): Likewise.
(getEntities()): Likewise.
* javax/xml/stream/events/EndElement.java:
(getNamespaces()): Likewise.
* javax/xml/stream/events/StartElement.java:
(getAttributes()): Likewise.
(getNamespaces()): Likewise.
* javax/xml/xpath/XPathFunction.java:
(evaluate(List)): Likewise.
* org/omg/CORBA/LocalObject.java:
(_servant_preinvoke(String,Class)): Likewise.
* org/omg/CORBA/portable/Delegate.java:
(servant_preinvoke(org.omg.CORBA.Object,String,Class)): Likewise.
* org/omg/CORBA/portable/InputStream.java:
(read_Object(Class)): Likewise.
* org/omg/CORBA/portable/ObjectImpl.java:
(_servant_preinvoke(String,Class)): Likewise.
* org/omg/CORBA_2_3/portable/InputStream.java:
(read_abstract_interface(Class)): Likewise.
(read_value(Class)): Likewise.
* org/omg/CORBA_2_3/portable/OutputStream.java:
(write_value(Serializable,Class)): Likewise.
* org/omg/DynamicAny/_DynAnyFactoryStub.java:
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynAnyStub.java:
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynArrayStub.java,
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynEnumStub.java,
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynFixedStub.java,
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynSequenceStub.java,
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynStructStub.java,
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynUnionStub.java,
(_opsClass): Likewise.
* org/omg/DynamicAny/_DynValueStub.java,
(_opsClass): Likewise.
* org/omg/PortableServer/_ServantActivatorStub.java,
(_opsClass): Likewise.
* org/omg/PortableServer/_ServantLocatorStub.java,
(_opsClass): Likewise.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
| |
2012-04-24 Andrew John Hughes <ahughes@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
(Java_gnu_java_awt_peer_gtk_GtkImage_freePixbuf):
Use g_object_unref rather than deprecated gdk_pixbuf_unref
to avoid warning.
|
|
|
|
|
|
| |
2012-04-03 Andrew John Hughes <ahughes@redhat.com>
* .gitignore: Renamed from .cvsignore.
|
|
|
|
|
|
|
|
|
|
| |
2012-01-01 Jakub Jelinek <jakub@redhat.com>
* gnu/java/rmi/registry/RegistryImpl.java (version): Update
copyright notice dates.
* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
| |
2007-02-26 Jakub Jelinek <jakub@redhat.com>
* java/util/TimeZone.java (getDefaultDisplayName): Don't
check if TimeZone is instanceof SimpleTimeZone.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
2006-09-13 Andrew Haley <aph@redhat.com>
* java/util/PriorityQueue.java: Throw IllegalArgumentException for
capacity < 1.
(Iterator.remove()): Decrement index after removing element.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
| |
2007-02-14 Jakub Jelinek <jakub@redhat.com>
Andrew Haley <aph@redhat.com>
* java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
|
|
|
|
| |
2012-03-22 Andrew John Hughes <ahughes@redhat.com>
* java/util/regex/Matcher.java:
(usePattern(Pattern)): Implemented.
Signed-off-by: Andrew John Hughes <ahughes@redhat.com>
|
|
|
|
|
| |
* native/jni/java-io/java_io_VMConsole.c (IUCLC): Define, if
undefined.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
| |
| |
| |
| | |
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|
| |
| |
| |
| | |
Signed-off-by: Pekka Enberg <penberg@kernel.org>
|