| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-07 Ian Rogers <ian.rogers@manchester.ac.uk>
* java/util/zip/ZipEntry.java:
Use byte fields instead of integer fields,
store the time as well as the DOS time and
don't retain a global Calendar instance.
(setDOSTime(int)): Set KNOWN_DOSTIME instead
of KNOWN_TIME, and unset KNOWN_TIME.
(getDOSTime()): Compute DOS time from UNIX time
only when needed.
(clone()): Provide cloning via the ZipEntry constructor
where possible.
(setTime(long)): Don't compute DOS time at this point.
(getCalendar()): Removed.
|
|
|
|
|
|
|
|
|
| |
2008-08-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/regex/Matcher.java:
(reset()): Reset append position so
we don't try and append to the end of
the old input.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/31895:
* java/text/DecimalFormat.java:
(setCurrency(Currency)): Update prefixes and
suffixes when currency changes.
* java/text/DecimalFormatSymbols.java:
(DecimalFormatSymbols(Locale)): Set locale earlier
so it can be used by setCurrency(Currency).
(setCurrency(Currency)): Set the symbol correctly using
the locale of the instance.
* java/util/Currency.java:
Throw error instead of just printing a message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* AUTHORS: Added Laszlo.
2008-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/30436:
* java/util/Scanner.java:
Fix package to be java.util and correct
indentation.
2007-07-25 Laszlo Andras Hernadi <e0327023@student.tuwien.ac.at>
PR classpath/30436:
* java/util/Scanner.java:
Initial implementation.
|
|
|
|
|
|
|
| |
2008-08-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/regex/Matcher.java:
(toMatchResult()): Implemented.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Calendar.java:
(Calendar(TimeZone,Locale)): Use weeks.properties
instead of LocaleInformation bundles.
* resource/java/util/iso4217.properties:
Updated with new supplementgen header.
* resource/java/util/weeks.properties:
New resource file.
|
|
|
|
|
|
|
|
|
| |
2008-07-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/ResourceBundle.java,
(BundleKey.toString()): Implemented.
(clearCache()): Implemented.
(clearCache(ClassLoader)): Implemented.
|
|
|
|
|
| |
* java/util/ResourceBundle.java:
Fix generic warnings.
|
|
|
|
|
|
|
|
|
|
| |
2008-07-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Properties.java:
(load(Reader)): Implemented.
(load(InputStream)): Fixed to use load(Reader).
* java/util/PropertyResourceBundle.java:
(PropertyResourceBundle(Reader)): Implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/regex/Matcher.java:
(regionStart): New variable.
(regionEnd): Likewise.
(transparentBounds): Likewise.
(anchoringBounds): Likewise.
(Matcher()): Initialise new variables.
(find()): Alter to use new settings.
(find(int)): Likewise.
(lookingAt()): Likewise.
(matches()): Likewise.
(reset()): Reset region.
(reset(CharSequence)): Documented.
(toString()): Include new variables.
(region(int,int)): Implemented.
(regionStart()): Likewise.
(regionEnd()): Likewise.
(hasTransparentBounds()): Likewise.
(useTransparentBounds(boolean)): Likewise.
(hasAnchoringBounds()): Likewise.
(useAnchoringBounds(boolean)): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add generics to these classes.
* gnu/java/util/regex/RETokenOneOf.java:
Use an ArrayList and a Deque instead of
a Vector and a Stack to remove unnecessary
synchronisation.
* gnu/java/util/regex/RETokenRepeated.java:
Replace custom FindMatchControlStack class
with a generic Deque.
* java/util/regex/Pattern.java:
Use a generic ArrayList instance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* java/util/AbstractCollection.java,
* java/util/BitSet.java,
* java/util/Collections.java,
* java/util/Locale.java,
* java/util/ResourceBundle.java,
* java/util/TimeZone.java,
* java/util/logging/FileHandler.java,
* java/util/logging/Logger.java,
* java/util/logging/SimpleFormatter.java,
* java/util/logging/XMLFormatter.java,
* java/util/prefs/AbstractPreferences.java,
* java/util/regex/PatternSyntaxException.java:
Swap use of StringBuffer for CPStringBuilder.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/ArrayList (raiseBoundsError): new method to raise bound
exceptions in uncommon case.
(checkBoundInclusive): use raiseBoundsError.
(checkBoundExclusive): likewise.
* java/util/ArrayList (raiseBoundsError): new method to raise bound
exceptions in uncommon case.
(checkBoundInclusive): use raiseBoundsError.
(checkBoundExclusive): likewise.
|
|
|
|
|
|
|
| |
PR classpath/35974
* java/util/logging/Logger.java: fix a deadlock and reformat code.
Now all the methods of the class get a lock on a static lock, this
avoids a lock when getLogger and log are used concurrently.
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/xml/stream/SAXParser.java (getProperty): throw
SAXNotRecognizedException instead of SAXNotSupportedException
after fall through all known properties.
* javax/xml/namespace/QName.java (valueOf): throw
IllegalArgumentException if string is null.
* java/util/concurrent/CopyOnWriteArrayList.java (lastIndexOf):
fixed indentation.
(indexOf): likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/concurrent/CopyOnWriteArrayList.java (SubList.set):
(SubList.clear): new method.
(SubList.checkMod): fix indentation.
(SubList.checkBoundsInclusive): likewise.
(SubList.checkBoundsExclusive): likewise.
(SubList): added synchronization. Now throw
IndexOutOfBoundsException instead of IllegalArgumentException
when index are out of range.
(SubList.size): added synchronization.
(SubList.get): likewise.
(SubList.listIterator): fixed indentation.
(SubList.set): added synchronization. Update the state of the storage
after modification.
(SubList.add): likewise.
(SubList.remove): likewise.
(SubList.addAll): likewise.
|
|
|
|
|
|
| |
* java/util/concurrent/CopyOnWriteArrayList.java (equals): removed
useless local variable.
(hashCode): new method.
|
|
|
|
|
|
|
| |
* java/util/concurrent/CopyOnWriteArrayList.java (clone): clone method
in CopyOnWriteArrayList should just do a shallow copy. Fixed.
(equals): new method, override from base class.
(toString): likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/21869
* java/security/AlgorithmParameterGenerator.java,
* java/security/AlgorithmParameters.java,
* java/security/KeyFactory.java,
* java/security/KeyPairGenerator.java,
* java/security/MessageDigest.java,
* java/security/SecureRandom.java,
* java/security/Signature.java,
* java/security/cert/CertPathBuilder.java,
* java/security/cert/CertPathValidator.java,
* java/security/cert/CertStore.java,
* java/text/SimpleDateFormat.java,
* java/util/AbstractMap.java,
* java/util/Arrays.java,
* java/util/Calendar.java,
* java/util/Date.java,
* java/util/Formatter.java,
* java/util/Hashtable.java,
* java/util/Properties.java,
* java/util/TreeMap.java,
* java/util/regex/Matcher.java:
Use CPStringBuilder in preference to StringBuilder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/beans/beancontext/BeanContextServicesSupport.java:
(BCSSProxyServiceProvider(BeanContextServiceProvider)):
Add package-private constructor.
* java/lang/StringBuffer.java:
(ensureCapacity_unsynchronized(int)): Make package-private.
* java/rmi/activation/Activatable.java:
(export(ActivationID, Remote, int, RMIServerSocketFactory)):
Make private.
(makeId(ActivationID)): Likewise.
* java/security/MessageDigest.java:
(update(ByteBuffer)): Make final.
* java/security/cert/PolicyQualifierInfo.java:
(getPolicyQualifierId()): Likewise.
(getEncoded()): Likewise.
(getPolicyQualifier()): Likewise.
* java/text/DateFormat.java:
(ISO_YEAR_FIELD): Removed.
(LOCALIZED_DAY_OF_WEEK_FIELD): Likewise.
(EXTENDED_YEAR_FIELD): Likewise.
(MODIFIED_JULIAN_DAY_FIELD): Likewise.
(MILLISECOND_IN_DAY_FIELD): Likewise.
(RFC822_TIMEZONE_FIELD): Likewise.
(Field.ISO_YEAR_FIELD): Likewise.
(Field.LOCALIZED_DAY_OF_WEEK_FIELD): Likewise.
(Field.EXTENDED_YEAR_FIELD): Likewise.
(Field.MODIFIED_JULIAN_DAY_FIELD): Likewise.
(Field.MILLISECOND_IN_DAY_FIELD): Likewise.
(Field.RFC822_TIMEZONE_FIELD): Likewise.
* java/text/DecimalFormat.java:
(format(Object,StringBuffer,FieldPosition)): Make final.
* java/text/Format.java:
(Format()): Make protected.
* java/text/NumberFormat.java:
(NumberFormat()): Likewise.
* java/text/SimpleDateFormat.java:
Remove code using RFC822_TIMEZONE_FIELD.
* java/util/Stack.java:
Use array of Objects rather than instances of T.
* java/util/Vector.java:
Likewise.
* java/util/concurrent/CopyOnWriteArrayList.java:
Don't extend AbstractList.
(containsAll(Collection)): Implemented.
(listIterator()): Likewise.
(subList(int,int)): Likewise.
* java/util/zip/Deflater.java:
(getTotalIn()): Remove deprecation.
(getTotalOut()): Likewise.
* java/util/zip/Inflater.java,
(getTotalIn()): Likewise.
(getTotalOut()): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/classpath/CPStringBuilder.java:
Removed.
* gnu/java/awt/font/OpenTypeFontPeer.java,
* gnu/java/awt/font/autofit/Edge.java,
* gnu/java/awt/font/autofit/LatinBlue.java,
* gnu/java/awt/font/autofit/Segment.java,
* gnu/java/awt/font/autofit/Width.java,
* gnu/java/awt/font/opentype/truetype/Point.java,
* gnu/java/awt/java2d/ActiveEdges.java,
* gnu/java/awt/peer/GnomeDesktopPeer.java,
* gnu/java/awt/peer/KDEDesktopPeer.java,
* gnu/java/awt/peer/x/XFontPeer.java:
Use CPStringBuilder.
* gnu/java/lang/CPStringBuilder.java:
Moved from gnu.classpath.
* gnu/java/lang/ClassHelper.java,
* gnu/java/lang/reflect/GenericSignatureParser.java,
* gnu/java/lang/reflect/TypeSignature.java,
* gnu/java/net/protocol/http/ChunkedInputStream.java,
* gnu/java/net/protocol/http/Cookie.java,
* gnu/java/net/protocol/http/HTTPConnection.java,
* gnu/java/net/protocol/http/Headers.java,
* gnu/java/net/protocol/http/Request.java:
Use CPStringBuilder.
* java/lang/reflect/Modifier.java:
Corrected import to point to correct package.
* java/util/Formatter.java:
Use CPStringBuilder.
* vm/reference/java/lang/reflect/Constructor.java,
* vm/reference/java/lang/reflect/Field.java,
* vm/reference/java/lang/reflect/Method.java:
Corrected import to point to correct package.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/EmptyEnumeration.java:
Add generic type parameter.
* java/lang/ClassLoader.java:
Use EmptyEnumeration with type parameter.
* java/util/zip/ZipFile.java:
Likewise.
* javax/swing/text/html/StyleSheet.java,
* javax/swing/text/html/ViewAttributeSet.java:
Add generics.
* javax/swing/tree/DefaultMutableTreeNode.java:
Use EmptyEnumeration with type parameter.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java:
Removed again.
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* java/util/prefs/AbstractPreferences.java,
* native/jni/gconf-peer/GConfNativePeer.c:
Revert to pre-release versions.
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java:
Re-added.
* gnu/java/util/prefs/GConfBasedPreferences.java,
* gnu/java/util/prefs/gconf/GConfNativePeer.java,
* java/util/prefs/AbstractPreferences.java,
* native/jni/gconf-peer/GConfNativePeer.c:
Regress to 0.96 versions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/reflect/TypeSignature.java
* java/io/BufferedReader.java
* java/io/DataInputStream.java
* java/lang/StackTraceElement.java
* java/lang/Throwable.java
* java/lang/reflect/Proxy.java
* java/net/URI.java
* java/net/URLClassLoader.java
* java/net/URLEncoder.java
* java/text/SimpleDateFormat.java
* java/util/AbstractMap.java
* java/util/Calendar.java
* java/util/Date.java
* java/util/Hashtable.java
Use StringBuilder in preference to StringBuffer
* java/util/Calendar.java
* java/util/Hashtable.java
Make private fields that can be final, final
* java/net/URI.java
Avoid creating Integer objects for the sake of comparison
* java/lang/reflect/Proxy.java
* java/text/SimpleDateFormat.java
Swap use of "new Character/Integer" to use of valueOf methods
|
|
|
|
|
|
| |
* java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
* gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
exception message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java,
* gnu/CORBA/OrbFocused.java,
* gnu/CORBA/CDR/HeadlessInput.java,
* gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* gnu/java/awt/peer/gtk/GtkFramePeer.java,
* gnu/java/awt/peer/qt/QtMenuPeer.java,
* gnu/java/nio/FileChannelImpl.java,
* gnu/java/nio/SocketChannelSelectionKeyImpl.java,
* gnu/java/security/Engine.java,
* gnu/javax/imageio/jpeg/JPEGComponent.java,
* gnu/javax/imageio/jpeg/JPEGDecoder.java,
* gnu/javax/imageio/jpeg/JPEGFrame.java,
* gnu/javax/print/PrinterDialog.java,
* gnu/javax/security/auth/Password.java,
* gnu/javax/swing/text/html/parser/support/Parser.java,
* gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
* gnu/xml/pipeline/DomConsumer.java,
* java/awt/AWTKeyStroke.java,
* java/awt/DefaultKeyboardFocusManager.java,
* java/awt/GridBagLayout.java,
* java/awt/dnd/DragGestureRecognizer.java,
* java/awt/geom/Arc2D.java,
* java/awt/geom/CubicCurve2D.java,
* java/awt/geom/QuadCurve2D.java,
* java/awt/im/InputContext.java,
* java/awt/image/AffineTransformOp.java,
* java/beans/Encoder.java,
* java/io/ObjectInputStream.java,
* java/io/ObjectStreamClass.java,
* java/net/ResolverCache.java,
* java/nio/charset/Charset.java,
* java/security/SecureClassLoader.java,
* java/text/MessageFormat.java,
* java/util/jar/Manifest.java,
* javax/accessibility/AccessibleRelationSet.java,
* javax/imageio/ImageReader.java,
* javax/imageio/metadata/IIOMetadataNode.java,
* javax/print/attribute/standard/MediaSize.java,
* javax/print/attribute/standard/PrinterStateReasons.java,
* javax/swing/JTree.java,
* javax/swing/table/DefaultTableColumnModel.java,
* javax/swing/text/html/MinimalHTMLWriter.java,
* javax/swing/text/html/parser/DTD.java,
* javax/swing/tree/DefaultMutableTreeNode.java,
* javax/swing/undo/UndoManager.java,
* org/omg/CosNaming/NamingContextExtPOA.java,
* org/omg/CosNaming/NamingContextPOA.java,
* org/omg/CosNaming/_NamingContextExtImplBase.java,
* org/omg/CosNaming/_NamingContextImplBase.java,
* tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
Remove unneeded casts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/CORBA/BigDecimalHelper.java,
* gnu/CORBA/CDR/AbstractCdrInput.java,
* gnu/CORBA/CDR/AbstractCdrOutput.java,
* gnu/CORBA/CDR/HeadlessInput.java,
* gnu/CORBA/CDR/gnuRuntime.java,
* gnu/CORBA/Connected_objects.java,
* gnu/CORBA/GIOP/CancelHeader.java,
* gnu/CORBA/GIOP/v1_0/CancelHeader.java,
* gnu/CORBA/IOR.java,
* gnu/CORBA/Interceptor/Registrator.java,
* gnu/CORBA/IorDelegate.java,
* gnu/CORBA/NamingService/NameTransformer.java,
* gnu/CORBA/ObjectCreator.java,
* gnu/CORBA/OrbFunctional.java,
* gnu/CORBA/Poa/AOM.java,
* gnu/CORBA/Poa/gnuPOA.java,
* gnu/CORBA/Poa/gnuPOAManager.java,
* gnu/CORBA/Poa/gnuServantObject.java,
* gnu/CORBA/typecodes/FixedTypeCode.java,
* gnu/CORBA/typecodes/RecursiveTypeCode.java,
* gnu/java/awt/AWTUtilities.java,
* gnu/java/awt/peer/gtk/CairoGraphics2D.java,
* gnu/java/awt/peer/gtk/CairoSurface.java,
* gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
* gnu/java/text/AttributedFormatBuffer.java,
* gnu/java/util/regex/REToken.java,
* gnu/javax/imageio/gif/GIFFile.java,
* gnu/javax/imageio/png/PNGDecoder.java,
* gnu/javax/management/Server.java,
* gnu/javax/naming/giop/ContextContinuation.java,
* gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
* gnu/javax/swing/text/html/css/Selector.java,
* gnu/javax/swing/text/html/parser/models/node.java,
* gnu/javax/swing/text/html/parser/support/Parser.java,
* gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java,
* gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
* gnu/xml/util/Resolver.java,
* java/awt/image/AreaAveragingScaleFilter.java,
* java/beans/Beans.java,
* java/beans/XMLDecoder.java,
* java/beans/beancontext/BeanContextServicesSupport.java,
* java/beans/beancontext/BeanContextSupport.java,
* java/io/CharArrayWriter.java,
* java/lang/System.java,
* java/net/ResolverCache.java,
* java/util/Calendar.java,
* java/util/Collections.java,
* java/util/Formatter.java,
* javax/accessibility/AccessibleEditableText.java,
* javax/imageio/ImageReader.java,
* javax/imageio/ImageTypeSpecifier.java,
* javax/imageio/ImageWriter.java,
* javax/imageio/spi/ServiceRegistry.java,
* javax/imageio/stream/ImageInputStream.java,
* javax/management/MBeanPermission.java,
* javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
* javax/rmi/CORBA/Util.java,
* javax/rmi/CORBA/UtilDelegate.java,
* javax/rmi/CORBA/ValueHandler.java,
* javax/rmi/PortableRemoteObject.java,
* org/ietf/jgss/GSSContext.java,
* tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
* tools/gnu/classpath/tools/appletviewer/TagParser.java,
* vm/reference/gnu/java/nio/VMChannel.java:
Correct javadoc to match the functions' parameters
* gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
Rename start_pos parameter to startPos to conform to style.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/concurrent/CopyOnWriteArrayList.java:
(addAll): fix implementation, now add elements in the correct position.
(addAllAbsent): fixed typos (whoops!).
(remove(int)): fixed range in arraycopy that was causing for incorrect
values to be inserted in the list. Refactored to give variables better
names.
(remove(Object)): refactored to give better names to variable.
(listIterator): fix to set the starting index.
(listIterator.previous): fix to decrement element position before
returning the previous element in the iterator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/prefs/EventDispatcher.java: class removed.
* gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file.
* java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)):
Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor
instead of EventDispatcher. Import statement refactored accordingly.
Also refactored to use 1.5 enhanced for loop and generics.
(fire(NodeChangeEvent, boolean)): likewise.
* gnu/java/util/prefs/GConfBasedPreferences.java (childSpi):
removed startWatchingNode call.
* gnu/java/util/prefs/gconf/GConfNativePeer.java:
(GConfNativePeer): removed use of semaphore.
(gconf_all_nodes): method name shortened, renamed from
gconf_client_all_nodes (removed client_ from method signature) and
declared synchronized.
(gconf_suggest_sync): likewise.
(gconf_get_string): likewise.
(gconf_unescape_key): likewise.
(gconf_set_string): likewise.
(gconf_escape_key): likewise.
(gconf_all_keys): likewise.
(gconf_dir_exists): likewise.
(getKeys): refactored to use new native method name.
(getKey): likewise.
(setString): likewise.
(getChildrenNodes): likewise.
(unset): likewise.
(suggestSync): likewise.
(finalize): likewise.
(nodeExist): likewise.
(gconf_client_add_dir): removed, not needed anymore.
(gconf_client_remove_dir): likewise.
(startWatchingNode): likewise.
(stopWatchingNode): likewise.
* native/jni/conf-peer/GConfNativePeer.c:
All native methods renamed to match changes in GConfNativePeer.java
Now use GConfEngine instead of GConfClient.
Removed gdk_thread_enter/leave locking from all methods.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
removed.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
likewise.
* include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/concurrent/CopyOnWriteArrayList.java:
Added javadoc.
(serialVersionUID): new field.
(iterator): new method, override from base class.
(remove): likewise.
(listIterator): likewise.
(removeAll): likewise.
(retainAll): likewise.
(contains): fixed typo in javadoc.
(addIfAbsent): added javadoc.
(addAllAbsent): Rewrite to improve performance. Also add javadoc.
|
| |
|
|
|
|
|
| |
* java/util/Locale.java
(Locale): Always intern strings.
|
|
|
|
|
|
|
| |
PR classpath/23854:
* java/util/zip/ZipEntry.java:
(parseExtra()): Pass time to setTime in milliseconds
rather than seconds by multiplying by 1000.
|
|
|
|
|
|
|
| |
* java/util/EnumSet.java:
Documented.
(complementOf(EnumSet)): Fixed to flip only
the bits used by the enumset.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 32844
* java/util/EnumSet.java:
Made class abstract per API spec.
(size, iterator, add, addAll, clear, contains,
containsAll, remove, removeAll, retainAll) Moved
into an anonymous inner class in of(T).
(allOf, noneOf, copyOf, of, range) Made more
implementation independent.
(of(T)) return an instance of an anonymous class
implementing EmptySet.
|
|
|
|
|
| |
* java/util/EnumMap.java (get): Special case emptySlot.
(clone): Rewrote.
|
|
|
|
|
|
|
| |
* java/util/Currency.java:
(getInstance (Locale)): Check that the country of the
locale given is valid. If it is not, throw an
IllegalArgumentException.
|
|
|
|
|
| |
* java/util/Arrays.java
(copyOfRange(T,int,int)): Fixed to instantiate right array type.
|
|
|
|
|
| |
PR classpath/31646:
* java/util/Arrays.java (qsort): Corrected initial median calculation.
|
|
|
|
|
| |
* java/util/Hashtable.java:
(putAllInternal(Map)): Remove redundant semi-colon.
|
|
|
|
|
|
|
|
| |
* lib/mkcollections.pl.in: Add externalclasses.
* java/util/Collections.java: Unroll enhanced for loops.
* java/util/HashMap.java: Likewise.
* java/util/Hashtable.java: Likewise.
* java/util/TreeMap.java: Likewise.
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(computeFields): Fix WEEK_OF_MONTH calculation.
|
|
|
|
|
| |
* java/util/GregorianCalendar.java
(GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
|
|
|
|
|
|
| |
PR classpath/31402:
* java/util/concurrent/CopyOnWriteArrayList.java
(remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
|
|
|
|
|
| |
* gnu/java/util/jar/JarUtils.java (log): Commented out.
(readSFManifest): Don't log.
|
|
|
|
|
|
| |
* java/util/logging/LogManager.java (readConfiguration): Handle
comma-separated 'handlers'. Don't try to add a non-existing
handler.
|
|
|
|
| |
* java/util/regex/Pattern.java (toString): New method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jakub Jelinek <jakub@redhat.com>
PR libgcj/17002
PR classpath/28550
* java/util/Date.java (parse): Properly parse 09:01:02 as
hours/minutes/seconds, not as hours/minutes/year.
* java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
{start,end}TimeMode constructor by calling shorter constructor,
set {start,end}TimeMode fields after it returns.
(setStartRule): Don't adjust startTime into WALL_TIME. Set
startTimeMode to WALL_TIME.
(endStartRule): Similarly.
(getOffset): Handle properly millis + dstOffset overflowing into the
next day. Adjust startTime resp. endTime based on startTimeMode
resp. endTimeMode.
* java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
static fields.
(timezones): Remove synchronized keyword. Set zoneinfo_dir.
If non-null, set up aliases0 and don't put anything into
timezones0.
(defaultZone): Call getTimeZone instead of timezones().get.
(getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
getTimeZoneInternal instead of timezones().get.
(parseTime): Parse correctly hour:minute.
(getTimeZoneInternal): New private method.
(getTimeZone): Do the custom ID checking first, canonicalize
ID for custom IDs as required by documentation. Call
getTimeZoneInternal to handle the rest.
(getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
(getAvailableIDs(File,String,ArrayList)): New private method.
(getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
* vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
To read /etc/localtime, use ZoneInfo.readTZFile instead of
VMTimeZone.readtzFile. Get better timezone name for
/etc/localtime, either if it is a symlink or through
/etc/sysconfig/clock.
(readSysconfigClockFile): New static method.
(readtzFile): Removed.
* gnu/java/util/ZoneInfo.java: New file.
* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
* NEWS: Documented TimeZone interface changes.
|