summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-05-11 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-05-111-6/+4
| | | | | | | | | * java/lang/Float.java (toString(float)): Call VMFloat instead of VMDouble. (parseFloat): Call VMFloat. Fixed comment. * vm/reference/java/lang/VMFloat.java (toString, parseFloat): New methods. NEWS: added note about these changes.
* 2007-04-27 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-276-6/+6
| | | | | | | | | | | | | | | * java/nio/CharViewBufferImpl.java (slice): Fixed offset for slice buffer. * java/nio/DoubleViewBufferImpl.java (slice): Fixed offset for slice buffer. * java/nio/FloatViewBufferImpl.java (slice): Fixed offset for slice buffer. * java/nio/IntViewBufferImpl.java (slice): Fixed offset for slice buffer. * java/nio/LongViewBufferImpl.java (slice): Fixed offset for slice buffer. * java/nio/ShortViewBufferImpl.java (slice): Fixed offset for slice buffer.
* 2007-04-23 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-04-231-7/+7
| | | | | PR classpath/31646: * java/util/Arrays.java (qsort): Corrected initial median calculation.
* 2007-04-16 Andrew Haley <aph@redhat.com>Andrew Haley2007-04-162-6/+46
| | | | | | | | | * java/io/ObjectInputStream.java: (parseContent): Call (String, Object) version of dumpElementln. (dumpElementln(String, Object)): New method. * java/io/ObjectOutputStream.java (writeObject): Call (String, Object) version of dumpElementln. (dumpElementln(String, Object)): New method.
* Fixes bug #31590Mark Wielaard2007-04-161-1/+1
| | | | * java/net/URI.java (parseServerAuthority): Allow empty portStr.
* 2007-04-12 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-121-0/+61
| | | | | | | | * java/nio/Buffer.java (array): New abstract method. (hasArray): New abstract method. (arrayOffset): New abstract method. (isDirect): New abstract method.
* 2007-04-12 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-122-14/+209
| | | | | | | | * java/nio/CharBuffer.java (wrap(CharSequence,int,int)): Reimplemented using specialized subclass. * java/nio/CharSequenceBuffer.java: New class. Implements char buffers that wrap CharSequences.
* 2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-04-061-1/+1
| | | | | * java/util/Hashtable.java: (putAllInternal(Map)): Remove redundant semi-colon.
* 2007-04-06 Mark Wielaard <mark@klomp.org>Mark Wielaard2007-04-064-31/+43
| | | | | | | | * 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.
* 2007-04-05 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-051-3/+14
| | | | | * java/util/GregorianCalendar.java (computeFields): Fix WEEK_OF_MONTH calculation.
* 2007-04-04 Gary Benson <gbenson@redhat.com>Gary Benson2007-04-041-1/+0
| | | | | * java/util/GregorianCalendar.java (GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
* 2007-04-04 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-041-1/+14
| | | | | | | | * java/nio/channels/spi/SelectorProvider.java (inheritedChannel): Make method concrete and move default impl to here. Perform security checks as mandated by the spec. * gnu/java/nio/SelectorProviderImpl.java (inheritedChannel): Removed. Default impl is in SelectorProvider.
* 2007-04-04 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-042-39/+55
| | | | | | | | | | | | | | | * java/awt/Frame.java (weakFrames): Make private. (weakFramesQueue): New field. A reference queue to collect GCed references. (getFrames): Only do one iterations to avoid collecting null references. (hasDisplayableFrames): New helper method. Checks if there are any displayable frames. This is used by the event queue shutdown check. (noteFrame): Clean up GCed frames in the list. * java/awt/EventQueue.java (isShutdown): Move frame checking code into Frame.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-032-0/+36
| | | | | | | | | | * java/lang/System.java (inheritedChannel): New method, wraps SelectorProvider.inheritedChannel(). * java/nio/channels/spi/SelectorProvider.java (inheritedChannel): New abstract method. * gnu/java/nio/SelectorProviderImpl.java (inheritedChannel): New method, return null as default.
* 2007-04-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-031-1/+3
| | | | | | * java/nio/ByteOrder.java (nativeByteOrder): Let this fail when the corresponding property is not set properly.
* 2007-03-31 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-03-311-1/+2
| | | | | | PR classpath/31402: * java/util/concurrent/CopyOnWriteArrayList.java (remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
* PR libgcj/29869:Tom Tromey2007-03-301-9/+9
| | | | | * gnu/java/util/jar/JarUtils.java (log): Commented out. (readSFManifest): Don't log.
* PR libgcj/29869:Tom Tromey2007-03-301-2/+10
| | | | | | * java/util/logging/LogManager.java (readConfiguration): Handle comma-separated 'handlers'. Don't try to add a non-existing handler.
* 2007-03-28 Roman Kennke <roman@kennke.org>Roman Kennke2007-03-282-434/+347
| | | | | | * java/io/OutputStreamWriter.java, * java/io/InputStreamReader.java: Revert big stream patch due to problems.
* 2007-03-27 Roman Kennke <roman@kennke.org>Roman Kennke2007-03-272-347/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/io/InputStreamReader.java (BUFFER_SIZE): New constant. (bytesCache): Removed. (cacheLock): Removed. (hasSavedSurrogate): Removed. (lastArray): New field. Used for caching CharBuffers. (lastBuffer): New field. Used for caching CharBuffers. (maxBytesPerChar): Removed. (oneChar): New field. Caches a char array for read(). (savedSurrogate): New field. (InputStreamReader): (all constructors) Cleaned up. Use initDecoderAndBuffer() method. Check for null parameters. Use new EncodingHelper.getDefaultCharset() for fetching the default charset. (decode): New helper method. Decodes using the NIO decoder or using a raw Latin1 decoding. (getCharBuffer): New helper method. Implements caching of CharBuffers for output arrays. (initDecoderAndBuffer): New helper method. Initializes the decoder and input buffer. (read): Use cached array. (read(char[],int,int)): Reworked using a cleaner NIO based implementation. This decodes the incoming data in bigger chunks rather then calling the decoder for each character. (ready): Also check the input buffer. (refillInputBuffer): New helper methods. Refills the input buffer when it runs out of data. * java/io/OutputStreamWriter.java (lastArray): Implements caching of the output array buffer. (lastBuffer): Implements caching of the output array buffer. (oneChar): New field. Caches a char array for write(). (outputBuffer): Make this a ByteBuffer. (OutputStreamWriter): (all constructors) Cleaned up. Use initEncoderAndBuffer() method. Check for null parameters. Use new EncodingHelper.getDefaultCharset() for fetching the default charset. (encode): New helper method. Encodes the input buffer to the output buffer using either the NIO encoder or a raw Latin1 encoding. (encodeChars): New helper method. The encoding loop. (flush): Directly use the array of the output buffer. (getCharBuffer): New helper method. Implements caching of the output buffer. (initEncoderAndBuffer): New helper method for initialization. (write(char[],int,int)): Reworked to make better use of the NIO encoders. (write): Use cached array. (write(String,int,int)): Don't copy the string but rather wrap it and handle it the same as the wrapped char array. (writeConvert): Removed. * gnu/java/nio/charset/EncodingHelper.java (getDefaultCharset): New method. Returns the default charset for the case when the file.encoding charset is not valid. This always returns an UTF8 codec.
* 2007-03-27 Roman Kennke <kennke@aicas.com>Roman Kennke2007-03-272-6/+17
| | | | | | | | | | | | * java/awt/Frame.java (weakFrames): Make this generic and package private. (noteFrame): Use generic WeakReference. * java/awt/EventQueue.java (isShutdown): Iterate over the weakFrames directly, rather than using Frame.getFrames(). The latter iterates several times over weakFrames completely and creates a new array on each call. The former iterates only once and aborts when it finds a frame which is displayable.
* 2007-03-23 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-03-232-1/+3
| | | | | | | * java/net/ServerSocket.java (implAccept): set implCreated flag on socket. * java/net/Socket.java (implCreated): Make package accessible for ServerSocket.
* 2007-03-19 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-03-191-1/+17
| | | | | | | * java/net/Socket.java (implCreated): New field. (getImpl): Call impl.create() if it hasn't been called yet. (bind): Removed explicit impl.create() call.
* 2007-03-09 Roman Kennke <kennke@aicas.com>Roman Kennke2007-03-091-5/+15
| | | | | | * java/awt/image/SinglePixelPackageSampleModel.java (createDataBuffer): Avoid use of Buffers class and create DataBuffer directly in place.
* 2007-03-09 Roman Kennke <kennke@aicas.com>Roman Kennke2007-03-091-317/+131
| | | | | | | | | | | | | | | * java/awt/image/ComponentSampleModel.java (tightPixelPacking): Removed. (ComponentSampleModel): Removed unnecessary 'optimization' code. (createDataBuffer): Avoid use of Buffers helper class. (getDataElements(int,int,int,int,Object,DataBuffer): Removed. (getDataElements(int,int,Object,DataBuffer): Do not use Buffers helper class and instead fetch the values directly. Don't expect any specific DataBuffer subclass. (setDataElements(int,int,int,int,Object,DataBuffer): Removed. (setDataElements(int,int,Object,DataBuffer): Do not use Buffers helper class and instead set the values directly. Don't expect any specific DataBuffer subclass.
* PR libgcj/31093:Tom Tromey2007-03-081-3/+3
| | | | * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
* PR classpath/31057:Tom Tromey2007-03-071-1/+11
| | | | * java/util/regex/Pattern.java (toString): New method.
* 2007-03-02 Mario Torre <neugens@limasoftware.net>Mario Torre2007-03-023-0/+342
| | | | | | | | | | | | | * java/awt/Desktop.java: new java 1.6 class. * java/awt/peer/DesktopPeer.java: new inteface. * gnu/java/awt/peer/GnomeDesktopPeer.java: new class. * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class. * gnu/java/awt/peer/KDEDesktopPeer.java: new class. * java/awt/Toolkit.java (createDesktopPeer): new method to support the creation of DesktopPeer instances. * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and organize import. * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
* 2007-03-01 Roman Kennke <kennke@aicas.com>Roman Kennke2007-03-013-53/+32
| | | | | | | | | | | | | | | | | | | | | | | * java/awt/Canvas.java (graphicsConfiguration): Removed duplicate (from Component) field. (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig field. (getGraphicsConfigurationImpl): Removed. * java/awt/Component.java (getGraphicsConfiguration): Moved implementation here. Synchronize on tree lock to prevent threading nastiness. Don't query peer and instead return the setting of the graphicsConfig field. (getGraphicsConfigurationImpl): Removed. * java/awt/Window.java (graphicsConfiguration): Removed duplicate (from Component) field. (Window): Set the Component's graphicsConfig field. (Window(GraphicsConfiguration)): Set the Component's graphicsConfig field. (Window(Window,GraphicsConfiguration)): Set the Component's graphicsConfig field. (getGraphicsConfigurationImpl): Removed. (getGraphicsConfiguration): Fetch the local graphics env here if not already done and return that.
* 2007-02-23 Gary Benson <gbenson@redhat.com>Gary Benson2007-02-234-127/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2007-02-16 Francis Kung <fkung@redhat.com>Francis Kung2007-02-161-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file. * gnu/java/awt/peer/gtk/CairoSurface.java (CairoDataBuffer): Removed inner class. (CairoSurface(int,int,int,int)): New constructor. (CairoSurface(int,int)): Delegate to new constructor. (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor for creating child rasters. (create): Added int[] parameter. (createChild): New method. (createCompatibleWritableRaster): New methods. (createTranslatedChild): New method. (createWritableChild): New method. (createWritableTranslatedChild): New method. (destroy): Added int[] parameter. (dispose): Only free native resources if this Surface has no parents. (isCompatibleColorModel): New method. (isCompatibleSampleModel): New method. * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java (draw): Set transform, smarter bounds generation. (drawComposite): Improved clipping. (drawImage): Fixed bounds translation. (drawRenderedImage): Set transform in buffer. (fill): Set transform in buffer. * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java (createRaster): New method. * java/awt/image/BufferedImage.java (BufferedImage(int,int,int)): Use optimized raster if possible. * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between Cairo and Java. (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
* 2007-02-15 Roman Kennke <kennke@aicas.com>Roman Kennke2007-02-151-1/+1
| | | | | * java/nio/ByteOrder.java (nativeOrder): Avoid NPE when comparing a system property.
* 2007-02-12 Francis Kung <fkung@redhat.com>Francis Kung2007-02-122-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/awt/ClasspathToolkit.java: * gnu/java/awt/peer/gtk/AsyncImage.java, * gnu/java/awt/peer/gtk/BufferedImageGraphics.java, * gnu/java/awt/peer/gtk/CairoGraphics2D.java, * gnu/java/awt/peer/gtk/CairoSurface.java, * gnu/java/awt/peer/gtk/ComponentGraphics.java, * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java, * gnu/java/awt/peer/gtk/GdkFontPeer.java, * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, * gnu/java/awt/peer/gtk/GtkChoicePeer.java, * gnu/java/awt/peer/gtk/GtkClipboard.java, * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java, * gnu/java/awt/peer/gtk/GtkComponentPeer.java, * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, * gnu/java/awt/peer/gtk/GtkFramePeer.java, * gnu/java/awt/peer/gtk/GtkImage.java, * gnu/java/awt/peer/gtk/GtkImageConsumer.java, * gnu/java/awt/peer/gtk/GtkLabelPeer.java, * gnu/java/awt/peer/gtk/GtkListPeer.java, * gnu/java/awt/peer/gtk/GtkMainThread.java, * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, * gnu/java/awt/peer/gtk/GtkMenuPeer.java, * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, * gnu/java/awt/peer/gtk/GtkSelection.java, * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, * gnu/java/awt/peer/gtk/GtkToolkit.java, * gnu/java/awt/peer/gtk/GtkWindowPeer.java, * gnu/java/awt/peer/gtk/VolatileImageGraphics.java, * java/awt/RenderingHints.java, * java/awt/image/BufferedImage.java: Reformatted and added generics.
* * java/net/Socket.java (bind): Typo fix.Tom Tromey2007-02-121-2/+2
|
* 2007-02-12 Jakub Jelinek <jakub@redhat.com>Andrew Haley2007-02-121-124/+143
| | | | | | | | | | | | | | | | PR 23566 * scripts/timezones.pl: Parse each file in 2 passes, in one parse just Rule lines, in the other everything else. Pass 0 instead of $savings as second argument to parseRule when parsing the start rule. * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a. 2007-02-12 Jakub Jelinek <jakub@redhat.com> * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both the old 'TZif\0' format and the new one. * java/util/TimeZone.java: Handle default (one hour) daylight savings.
* 2007-02-10 Roman Kennke <kennke@aicas.com>Roman Kennke2007-02-101-3/+28
| | | | | | | | | | * java/awt/GraphicsConfiguration.java (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide default implementation that delegates to createCompatibleVolatileImage(int,int). (createCompatibleVolatileImage(int,int,ImageCapabilities,int): New method from JDK5 spec. Default implementation by delegating to (createCompatibleVolatileImage(int,int,int).
* Missing commit.Roman Kennke2007-02-101-83/+47
|
* 2007-02-09 Mario Torre <neugens@limasoftware.net>Mario Torre2007-02-091-35/+1
| | | | | | | | * java/io/File.java: remove import for gnu.classpath.NotImplementedException. (getUsableSpace): removed stub. (getFreeSpace): likewise. (getTotalSpace): likewise.
* 2007-02-09 Mario Torre <neugens@limasoftware.net>Mario Torre2007-02-091-0/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vm/reference/java/io/VMFile.java: (canExecute): new 1.6 native method. (setReadable): likewise. (setWritable): likewise. (setExecutable): likewise. * java/io/File.java: added import for gnu.classpath.NotImplementedException. (setReadOnly): new 1.6 method. (canExecute): likewise. (setReadable): likewise. (setWritable): likewise. (setExecutable): likewise. (getUsableSpace): added stub for new 1.6 method. (getFreeSpace): likewise. (getTotalSpace): likewise. (checkExec): new private method to support new 1.6 additions. * native/jni/java-io/java_io_VMFile.c: set_file_permissions: new helper function. Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods in VMFile.java. Java_java_io_VMFile_setWritable: likewise. Java_java_io_VMFile_setExecutable: likewise. Java_java_io_VMFile_canExecute: likewise. * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC, CPFILE_FLAG_USR and CPFILE_FLAG_OFF. cpio_chmod: new function declaration. cpio_checkAccess: likewise. * native/jni/native-lib/cpio.c: cpio_chmod: new function definition. cpio_checkAccess: likewise.
* 2007-02-09 Francis Kung <fkung@redhat.com>Francis Kung2007-02-091-158/+152
| | | | * java/awt/image/BufferedImage: Reformatted.
* * java/net/Proxy.java (equals): Handle case where address==null.Tom Tromey2007-02-051-4/+6
| | | | | (hashCode): Likewise. (toString): Likewise.
* 2007-02-04 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-02-042-11/+22
| | | | | | | | | | | * java/lang/Class.java (newInstance): Moved setAccessible call to helper method. (getEnumConstants): Call new helper method to allow values method to be called on non-public enum classes. (setAccessible): New helper method. * java/lang/Enum.java (valueOf): Call new helper method in class to allow field value to be read on non-public enum classes.
* * java/util/logging/LogManager.java (reset): Remove bogusTom Tromey2007-02-011-2/+2
| | | | 'while'.
* 2007-01-29 Andrew Haley <aph@redhat.com>Andrew Haley2007-01-291-0/+12
| | | | | * java/lang/SecurityManager.java (SecurityManager): Load and initialize java.security.Security.
* * java/security/SecureClassLoader.java (defineClass): Method returnsMark Wielaard2007-01-212-4/+11
| | | | | | | Class<?>. * java/security/SignatureSpi.java (engineUpdate(ByteBuffer): Does not throw SignatureException. Chain SignatureException inside IllegalStateException.
* 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu2007-01-201-2/+15
| | | | | * java/text/DecimalFormat.java(parse): Corrected the ParsePosition settings.
* 2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu2007-01-201-3/+13
| | | | | * java/text/SimpleDateFormat.java(parse): Corrected the usage of NumberFormat.
* 2007-01-19 Marco Trudel <mtrudel@gmx.ch>Tom Tromey2007-01-201-3/+6
| | | | * java/util/Arrays.java (binarySearch): Change comparison order.
* 2007-01-09 Tania Bento <tbento@redhat.com>Tania Bento2007-01-091-2/+15
| | | | | | * java/security/Permission.java: (toString): If there are no actions, then there should not be a space between its name and ')'.
* 2007-01-08 Cameron McCormack <cam@mcc.id.au>Francis Kung2007-01-081-0/+18
| | | | | | | | | | | | | | PR 30355 * java/util/Arrays.java: (binarySearch(byte[],byte)): Added check for zero-length array. (binarySearch(short[],short)): Likewise. (binarySearch(int[],int)): Likewise. (binarySearch(long[],long)): Likewise. (binarySearch(char[],char)): Likewise. (binarySearch(float[],float)): Likewise. (binarySearch(double[],double)): Likewise. (binarySearch(Object[],Object)): Likewise. (binarySearch(T[],T,Comparator)): Likewise.