| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Merge HEAD-->generics-branch for the period
2006-04-13 to 2006-05-01.
|
|
|
|
|
| |
* java/lang/Package.java: Added compatibility constructor to ease
VM interface migration.
|
|
|
|
|
|
| |
* java/lang/Class.java (getEnumConstants): Implemented without
delegating to VMClass.
* vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/ClassLoader.java (definePackage): Added argument to
Package constructor.
* java/lang/Package.java (Package): Added ClassLoader argument.
(loader): New field.
(getDeclaredAnnotations): Implemented without help from VMPackage.
* vm/reference/java/lang/VMClassLoader.java (static): Added argument
to Package constructor.
* vm/reference/java/lang/VMPackage.java: Removed.
|
|
|
|
|
|
|
| |
* java/lang/reflect/AccessibleObject.java:
Implemented AnnotatedElement.
(getAnnotation, getAnnotations, getDeclaredAnnotations,
isAnnotationPresent): New methods.
|
|
|
|
| |
* java/lang/Enum.java: Documented.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/InstrumentationImpl.java:
Moved from java.lang.
* java/lang/InstrumentationImpl.java:
Removed.
* vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
Moved from java.lang.
* vm/reference/java/lang/VMClassLoader.java:
Corrected reference to InstrumentationImpl.
* vm/reference/java/lang/VMInstrumentationImpl.java:
Removed.
|
|
|
|
|
| |
* java/lang/annotation/Annotation.java:
Documented.
|
|
|
|
| |
* Merge of HEAD --> generics-branch from 2006/03/26 to 2006/04/13.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/Collections.java:
(binarySearch(List, T)): Fixed signature.
(unmodifiableList(List)): Likewise.
(UnmodifiableList(List)): Fixed constructor.
(UnmodifiableRandomAccessList(List)): Likewise.
(unmodifiableMap(Map)): Fixed signature.
(UnmodifiableMap(Map)): Fixed constructor.
(unmodifiableSortedMap(Map)): Fixed signature.
(UnmodifiableSortedMap(Map)): Fixed constructor.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/io/ObjectOutputStream.java:
(writeObject(Object)): Added enum support.
(writeClassDescriptor(ObjectStreamClass)): Likewise.
* java/io/ObjectStreamClass.java:
(isEnum()): New package-private method.
(setFlags(Class)): Added enum support.
* java/io/ObjectStreamConstants.java:
(SC_ENUM): Added.
|
|
|
|
|
|
|
|
| |
* java/io/ObjectInputStream.java:
(parseContent(byte)): Added enum support.
* java/io/ObjectStreamConstants.java:
(TC_ENUM): Added.
(TC_MAX): Changed to new maximum, TC_ENUM.
|
|
|
|
|
|
| |
* java/lang/Enum.java (valueOf): Ensure that the named field
is an enum constant.
(compareTo): Check class of enum.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New constant.
(getModifiersInternal): Renamed from getModifiers.
(getModifiers): New method.
(isBridge): Likewise.
(isSynthetic): Likewise.
(isVarArgs): Likewise.
* vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
New constant.
(getModifiersInternal): Renamed from getModifiers.
(getModifiers): New method.
(isSynthetic): Likewise.
(isEnumConstant): Likewise.
* vm/reference/java/lang/reflect/Constructor.java
(getModifiersInternal): Renamed from getModifiers.
(getModifiers): New method
(CONSTRUCTOR_MODIFIERS): New constant.
(isSynthetic): New method.
(isVarArgs): Likewise.
* java/lang/reflect/Member.java (isSynthetic): New method.
|
| |
|
|
|
|
|
|
|
| |
* java/math/RoundingMode.java:
Fixed serialization UID.
* java/net/Proxy.java:
(Type): Likewise.
|
|
|
|
|
|
|
| |
* java/io/CharArrayWriter.java:
(append(char)): Documented.
(append(CharSequence)): Likewise.
(append(CharSequence,int,int)): Likewise.
|
|
|
|
|
| |
* java/lang/ProcessBuilder.java:
Made final.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Headers.java:
Match layout of file on HEAD.
* gnu/javax/swing/text/html/parser/htmlValidator.java:
Likewise.
* java/awt/datatransfer/DataFlavor.java
Likewise.
|
|
|
|
|
| |
* Merge from Classpath HEAD --> generics for the period
2005/03/07 to the branch tag generics_merge_20050326.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/rmi/server/UnicastRef.java,
* gnu/java/rmi/server/UnicastServer.java: Formatted.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/CombinedClassLoader.java
(findClass, findLibrary, findResouce, findResources): check
all loaders in array.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 25526
* gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
(RefProtector): new inner class. (dirty): Rewritten.
* gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
new methods. (readExternal): Create LeaseRenewingTask if non local.
* gnu/java/rmi/server/UnicastServer.java (objects):
Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
(getExported): New method.
* gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
2006-03-06 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/announce/20060306.wml: New file.
* doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
* doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Use Boolean.TRUE for
'CheckBoxMenuItem.borderPainted'.
2006-03-06 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/Headers.java: Added documentation all over.
(dateFormat): Made private.
(put): Replace only the last occurance and the value.
(putAll): Reimplemented with the put method.
2006-03-06 Lillian Angel <langel@redhat.com>
PR classpath/26569
* java/awt/List.java
(preferredSize): Return the size of the list if the peer is
null.
* gnu/java/awt/peer/gtk/GtkListPeer.java
(preferredSize): Code was returning the minimum size of the
list. Added adjustment to the width of the list so it is a
proper size.
2006-03-06 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
(getRequestProperty): Remove duplicated null check.
* java/net/URLConnection.java:
(URLConnection): Javadoc fix.
(addRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(getHeaderField): Likewise.
(getHeaderFieldDate): Likewise.
(getHeaderFieldKey): Likewise.
(getHeaderFields): Likewise.
(getRequestProperties): Likewise.
(getRequestProperty): Likewise.
(setDefaultRequestProperty): Likewise.
(setRequestProperty): Likewise.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/TextArea.java: New file.
* examples/gnu/classpath/examples/swing/Demo.java:
(mkButtonBar): Changed layout manager to GridLayout, added entry for
textarea example.
(mkMenuBar): Added entry for text area example.
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
(FORMATTED_TEXT_FIELD): Likewise.
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthPainter.java: Finished.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Added menu entry that will display the VM's name,
version and distributor.
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
Javadoc fix.
(getName): Likewise.
2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/jar/Manifest.java: Removed unused imports.
(CRLF): New constant.
(read): Added method documentation.
Use UTF-8 encoding instead of 8859_1.
(write): Added method documentation.
Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
(write_main_section): Replace PrintWriter arg with OutputStream.
Replace JarException with IOException.
(write_version_info): Likewise.
(write_main_attributes): Likewise.
(write_attribute_entry): Likewise.
(write_individual_sections): Likewise.
(write_entry_attributes): Likewise.
(write_header): Replace PrintWriter arg with OutputStream.
Re-implemented.
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
API doc tag warnings,
* javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
2006-03-06 Dalibor Topic <robilad@kaffe.org>
* gnu/java/net/protocol/file/Connection.java (unquote):
Update position in buffer after decoding a unicode character
outside of the basic plane.
2006-03-06 Dalibor Topic <robilad@kaffe.org>
* java/net/URI.java
(quote): Pass Unicode characters outside the basic plane through.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(damageRange): Rewritten if-expressions to correctly identify the
break condition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/text/GapContent.java:
(insertString): Throw exception when argument is below
zero.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/filechooser/FileFilter.java:
(accept): Fixed API doc tag,
(getDescription): Likewise,
* javax/swing/filechooser/FileView.java:
(isTraversable): Fixed API doc tag.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
added API docs all over.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
and corrected a bad API doc tag.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/undo/StateEditable.java
(restoreState): Fixed bad API doc tag,
* javax/swing/undo/UndoableEdit.java: Copied API doc comments from
AbstractUndoableEdit.java,
* javax/swing/undo/UndoableEditSupport.java
(createCompoundEdit): Fixed bad API doc tag,
* javax/swing/undo/UndoManager.java
(editToBeUndone): Fixed bad API doc tag,
(editToBeRedone): Likewise.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
* javax/swing/FocusManager.java: Likewise.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalComboBoxButton.java
(MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
JList)): Fixed API doc tag,
* javax/swing/plaf/metal/MetalInternalFrameTitlePane
(createLayout): Fixed API doc warning.
2006-03-05 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/reflect/Constructor.java (toString): Use
ClassHelper.getUserName.
* vm/reference/java/lang/reflect/Method.java (toString): Use
ClassHelper.getUserName.
(getUserTypeName): Removed.
* gnu/java/lang/ClassHelper.java (getUserName): New method.
* vm/reference/java/lang/reflect/Field.java (toString): Use
ClassHelper.getUserName.
2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
Fixes PR 22813
* java/net/URLClassLoader.java (FileURLLoader.getResource):
Allows directories as valid resources.
|
|
|
|
|
| |
* java/util/Formatter.java:
Make the class final.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/System.java:
(nanoTime()): Documented.
* java/lang/Thread.java:
(setUncaughtExceptionHandler(UncaughtExceptionHandler):
Added docs and security check.
(getUncaughtExceptionHandler()): Documented.
(setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
Added docs and security check.
(getDefaultUncaughtExceptionHandler()): Documented.
(getId()): Documented.
(Thread.State): Documented.
* vm/reference/gnu/classpath/Unsafe.java:
Documented.
(getUnsafe()): Updated to handle security.
2006-03-20 Tom Tromey <tromey@redhat.com>
* java/lang/System.java:
(nanoTime()): Implemented.
* java/lang/Thread.java:
(getId()): Implemented.
* java/util/AbstractMap.java:
(SimpleImmutableEntry): New 1.6 class.
(BasicMapEntry): Modified to be SimpleEntry.
* java/util/Collections.java:
Modified to use SimpleEntry.
* java/util/EnumMap.java: Likewise.
* java/util/HashMap.java: Likewise.
* java/util/Hashtable.java: Likewise.
* java/util/TreeMap.java: Likewise.
* vm/reference/gnu/classpath/Unsafe.java:
New class to handle low-level facilities for concurrency.
* vm/reference/java/lang/VMSystem.java:
(nanoTime()): Implemented.
|
|
|
|
|
|
| |
Genericized.
* javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
* java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
|
|
|
|
|
|
| |
* java/net/Proxy.java (NO_PROXY): Made final.
(equals): Likewise.
(hashCode): Likewise.
|
|
|
|
|
|
| |
* gnu/java/net/DefaultProxySelector.java,
java/net/Proxy.java, java/net/ProxySelector.java:
New files.
|
|
|
|
| |
* Merge with CVS trunk from classpath-0_90-branch-point.
|
| |
|
|
|
|
|
|
|
|
| |
Genericized.
(getListenerType): Likewise.
* java/beans/Introspector.java (getBeanInfo): Genericized.
* java/beans/DefaultPersistenceDelegate.java (initialize):
Genericized.
|
|
|
|
|
| |
* Merge of HEAD-->generics-branch for the period between
the 0.20 release and the tag generics-merge-20050225.
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(precision): Fixed overflow problem with large numbers.
(longValueExact): New method.
(intValueExact): Likewise.
(byteValueExact): Likewise.
(shortValueExact): Likewise.
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(remainder(BigDecimal)): New method.
(divideAndRemainder(BigDecimal)): Likewise.
(divideToIntegralValue(BigDecimal)): Likewise.
(floor): New implementation method.
|
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(divide(BigDecimal, int, RoundingMode)): New method.
(divide(BigDecimal, RoundingMode)): Likewise.
(divide(BigDecimal, int, int)): Removed incorrect throwing of exception
when the new scale is < 0.
(setScale(int, RoundingMode)): New method.
(ulp): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
(add(BigDecimal, MathContext)): New method.
(subtract(BigDecimal, MathContext)): Likewise.
(precision): Fixed to correctly handle BigIntegers with more than 19
digits.
(pow(int, MathContext)): New method.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java: Added @throws clause to constructors.
(mathContext): Removed this unneeded field.
(BigDecimal(int, MathContext)): New constructor.
(BigDecimal(BigInteger, int, MathContext)): Likewise.
(multiply(BigDecimal, MathContext)): New method.
(negate(MathContext)): Likewise.
(plus(MathContext)): Likewise.
(numDigitsInLong): Fixed to properly handle negatives.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(BigDecimal(long, MathContext)): New constructor.
(BigDecimal(BigInteger, MathContext)): Likewise.
(BigDecimal(String, MathContext)): Likewise.
(BigDecimal(double, MathContext)): Likewise.
(round): Fixed a typo where the precision field was used instead of a
call to the precision method, and also store the new precision in the
returned BigDecimal.
(abs(MathContext)): New method.
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java
(toBigInteger): Fixed problem where this method couldn't handle
negative values for scale.
(toBigIntegerExact): New method.
(stripTrailingZeros): Likewise.
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(toString): Fixed a problem where the negative sign was being displayed
twice in the exponent.
(toEngineeringString): New method.
(toPlainString): Likewise.
(pow): Likewise.
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(toString): Rewrote this method to behave as specified. Added API
comments to explain behaviour.
(scaleByPowerOfTen): New method.
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(BigDecimal(char[], int, int, MathContext)): New constructor.
(BigDecimal(char[], MathContext)): Likewise.
(BigDecimal(char[])): Likewise.
(BigDecimal(char[], int, int)): Likewise.
(BigDecimal(String)): Fixed handling of exponent and scale.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/math/BigDecimal.java:
(mathContext): New field.
(precision): Likewise.
(BigDecimal(int)): New constructor.
(BigDecimal(long)): Likewise.
(BigDecimal(BigInteger)): Added API docs.
(BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
and added API docs.
(plus): New method.
(round): Likewise.
(precision): Likewise.
(valueOf): Likewise.
(numDigitsInLong): New implementation method.
|
|
|
|
|
| |
* java/math/MathContext.java: New class.
* java/math/RoundingMode: New Enum.
|
|
|
|
|
|
|
| |
* javax/swing/text/StyleContext.java (removeAttributes): Genericized.
* java/beans/PersistenceDelegate.java (initialize): Genericized.
* java/beans/Encoder.java (getPersistenceDelegate): Genericized.
(setPersistenceDelegate): Likewise.
|
|
|
|
| |
Duplicate of toString(int, StringBuilder).
|
|
|
|
|
| |
- java/beans/EventSetDescriptor.java
- java/util/Hashtable.java
|
|
|
|
|
| |
Merge of HEAD --> generics branch for the period
2005/11/27 to 2006/01/09.
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/ClassLoader
(defineClass(String,byte[],int,int,ProtectionDomain)):
Calls VMClassLoader.defineClassWithTransformers instead
of VMClassLoader.defineClass.
* vm/reference/java/lang/VMClassLoader
(defineClassWithTransformers): New method.
(instrumenter): New Field.
|
|
|
|
|
| |
* java/lang/instrument/UnmodifiableClassException.java: Reformatted.
* java/lang/instrument/IllegalClassFormatException.java: Reformatted.
|