summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-087-43/+674
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/text/DateFormat.java: (computeInstance(int,int,Locale,boolean,boolean)): Throw an exception when locale info. is unavailable. (computeDefault(int,int,boolean,boolean)): New method. (getDateInstance(int,Locale)): Check providers. (getDateTimeInstance(int,int,Locale)): Likewise. (getTimeInstance(int,Locale)): Likewise. * java/text/DateFormatSymbols.java: Update documentation to match DecimalFormatSymbols. * java/text/DecimalFormatSymbols.java: (DecimalFormatSymbols(Locale)): Reordered. (getInstance()): Implemented. (getInstance(Locale)): Implemented. * java/text/NumberFormat.java: (computeInstance(Locale,String,String)): Throw an exception when locale info is unavailable. (getCurrencyInstance(Locale)): Check providers. (getIntegerInstance(Locale)): Likewise. (getNumberInstance(Locale)): Likewise. (getPercentInstance(Locale)): Likewise. * java/text/spi/DateFormatProvider.java: New file. * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise. * java/text/spi/NumberFormatProvider.java: Likewise.
* 2007-01-07 Roman Kennke <roman@kennke.org>Roman Kennke2007-01-071-1/+6
| | | | | | | | | | | | | | | | | | PR 30337 * java/awt/Component.java (getFontImpl): Return null when the component has no font set and also has no parent yet. * javax/swing/plaf/basic/BasicComboBoxUI.java (PropertyChangeHandler.propertyChange): Only add editor when combo box is editable. Avoid fetching the property name repeatedly. Invalidate when renderer or prototypeDisplayValue change. (uninstallComponents): Unconfigure everything and then remove all components. * javax/swing/plaf/basic/BasicComboPopup.java (uninstallingUI): Don't nullify list model. * javax/swing/plaf/metal/MetalComboBoxUI.java (createArrowButton): Pass currentValuePane to the MetalComboBoxButton constructor rather than a new (unconnected) CellRendererPane.
* 2007-01-06 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-062-11/+118
| | | | | | | * java/text/Collator.java: (getInstance(Locale)): Check providers. * java/text/spi/CollatorProvider.java: New file.
* 2007-01-04 Roman Kennke <roman@kennke.org>Roman Kennke2007-01-054-17/+29
| | | | | | | PR 30122 * java/awt/Component.java (getFont): Don't synchronize on tree lock here. The method is thread-safe 'enough' by fetching local variables in getFontImpl().
* 2007-01-03 Cameron McCormack <cam@mcc.id.au>Mark Wielaard2007-01-031-7/+7
| | | | | | | | | | | | | Fixes bug #29246 * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities isValidKey method. Throw UnsupportedOperationException on a valid key (for which no locking state can be given). * gnu/java/awt/AWTUtilities.java (isValidKey): New method. * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method. * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
* 5A2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-034-24/+224
| | | | | | | | | | | | | | * java/text/BreakIterator.java: (getCharacterInstance(Locale)): Check providers. (getLineInstance(Locale)): Likewise. (getSentenceInstance(Locale)): Likewise. (getWordInstance(Locale)): Likewise. * java/text/spi/BreakIteratorProvider.java: New file. * java/text/spi/DateFormatSymbolsProvider.java: Update header text. * java/util/ServiceConfigurationError.java: Add serialVersionUID.
* 2007-01-03 Tania Bento <tbento@redhat.com>Tania Bento2007-01-031-1/+1
| | | | | | | * java/awt/CardLayout.java: (maximumLayoutSize): Return a new Dimension with a width of value Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component has no components.
* 2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-033-10/+212
| | | | | | | | | | | | | | * java/text/DateFormatSymbols.java: (getZoneStrings(ResourceBundle)): Changed to... (getZoneStrings(ResourceBundle,Locale)): Added use of TimeZoneNamesProvider. (getZoneStrings()): Return either mutated zone strings or initial ones. (getInstance(Locale)): Check DateFormatSymbolsProvider instances. * java/text/spi/DateFormatSymbolsProvider.java: New file. * java/text/spi/package.html: New file.
* 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-024-12/+307
| | | | | | | | | | | | | | | * java/util/Currency.java: (getSymbol(Locale)): Removed unneeded variable and terminate loop early. * java/util/Locale.java: (getDisplayLanguage(Locale)): Fixed to use LocaleNameProvider. (getDisplayCountry(Locale)): Likewise. (getDisplayVariant(Locale)): Likewise. * java/util/spi/LocaleNameProvider.java: New file. * java/util/spi/TimeZoneNameProvider.java: Likewise.
* 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-026-2/+326
| | | | | | | | | | | | | | | | | | * gnu/java/locale/LocaleHelper.java: (getLocalizedString(Locale,String,String,boolean, boolean)): Removed, no longer needed. (getFallbackLocale(Locale)): Implemented. * java/lang/String.java: (isEmpty()): Implemented. * java/util/Currency.java: (getSymbol(Locale)): Reimplemented to use SPI. * java/util/Locale.java: (ROOT): Added. * java/util/spi/CurrencyNameProvider.java: New file. * java/util/spi/LocaleServiceProvider.java: Likewise. * java/util/spi/package.html: Likewise.
* 2007-01-01 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-012-0/+363
| | | | | | | | | * ChangeLog-2006: New file. * gnu/classpath/ServiceFactory.java: Add option of throwing a ServiceConfigurationError. (lookupProviders(Class,ClassLoader,boolean)): Implemented. * java/util/ServiceConfigurationError.java: New file. * java/util/ServiceLoader.java: Likewise.
* 2006-12-30 Casey Marshall <csm@gnu.org>Casey Marshall2006-12-311-604/+815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/security/x509/X509Certificate.java (serialVersionUID): new constant. (extensions): parameterize. (getExtendedKeyUsage): parameterize return type. (getSubjectAlternativeNames): parameterize return type; handle changes to `SubjectAlternativeNames' class. (getIssuerAlternativeNames): parameterize return type; handle changes to `IssuerAlternativeNames' class. (getCriticalExtensionOIDs, getNonCriticalExtensionOIDs): parameterize return type. * gnu/java/security/x509/ext/CertificatePolicies.java (policies, policyQualifierInfos): parameterize. * gnu/java/security/x509/ext/ExtendedKeyUsage.java (purposeIds): parameterize. * gnu/java/security/x509/ext/Extension.java (<init>): add support for NameConstraints extension. * gnu/java/security/x509/ext/GeneralName.java: new class. * gnu/java/security/x509/ext/GeneralNames.java (names): parameterize; retrofit to use the GeneralName class. * gnu/java/security/x509/ext/GeneralSubtree.java: new class. * gnu/java/security/x509/ext/IssuerAlternativeNames.java (getNames): change return type to GeneralName parameterized list. * gnu/java/security/x509/ext/NameConstraints.java: new class. * gnu/java/security/x509/ext/SubjectAlternativeNames.java (getNames): change return type to GeneralName parameterized list. * java/security/cert/X509CertSelector.java: re-sorted methods. (makeName): new method. (addPathToName, addPathToName, getPathToNames, getPolicy, getSubjectAlternativeNames, setPathToNames, setPolicy): implemented. (keyPurposeSet, altNames, policy): parametized. (pathToNames): new field.
* 2006-12-29 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-292-5/+309
| | | | | | | | | | | | * java/text/DateFormatSymbols: (DateFormatSymbols()): Update documentation. (DateFormatSymbols(Locale)): Likewise. (getInstance()): Implemented. (getInstance(Locale)): Partially implemented. * java/util/Calendar.java: (SHORT, LONG, ALL_STYLES): New constants. (getDisplayName(int,int,Locale)); Implemented. (getDisplayNames(int,int,Locale)): Likewise.
* 2006-12-28 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-282-0/+880
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/util/Arrays.java: (copyOf(boolean[],int)): Implemented. (copyOfRange(boolean[],int,int)): Likewise. (copyOf(byte[],int)): Likewise. (copyOfRange(byte[],int,int)): Likewise. (copyOf(char[],int)): Likewise. (copyOfRange(char[],int,int)): Likewise. (copyOf(double[],int)): Likewise. (copyOfRange(double[],int,int)): Likewise. (copyOf(float[],int)): Likewise. (copyOfRange(float[],int,int)): Likewise. (copyOf(int[],int)): Likewise. (copyOfRange(int[],int,int)): Likewise. (copyOf(long[],int)): Likewise. (copyOfRange(long[],int,int)): Likewise. (copyOf(short[],int)): Likewise. (copyOfRange(short[],int,int)): Likewise. (copyOf(T[],int)): Likewise. (copyOfRange(T[],int,int)): Likewise. (copyOf(U[],int,Class<? extends T>)): Likewise. (copyOfRange(U[],int,int,Class<? extends T>)): Likewise. * java/util/Collections.java: (asLifoQueue(Deque<T>)): Implemented. (newSetFromMap(Map<E>)): Likewise. (MapSet): New class for newSetFromMap. (LIFOQueue): New class for asLifoQueue.
* 2006-12-28 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-283-226/+2005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/util/AbstractMap.java: (SimpleImmutableEntry): Document and add serialVersionUID. (SimpleEntry): Likewise, and fix JAPI errors. * java/util/TreeMap.java: (entrySet()): Return navigableSet instead. (headMap(K, boolean)): Implemented. (subMap(K, boolean, K, boolean)): Likewise. (tailMap(K, boolean)): Likewise. (highestLessThan(K,boolean)): Likewise. (lowestGreaterThan(K,boolean,boolean)): Likewise. (SubMap.ceilingEntry(K)): Likewise. (SubMap.ceilingKey(K)): Likewise. (SubMap.descendingKeySet()): Likewise. (SubMap.descendingMap()): Likewise. (SubMap.entrySet()): Return navigableSet instead. (SubMap.firstEntry()): Implemented. (SubMap.floorEntry(K)): Likewise. (SubMap.floorKey(K)): Likewise. (SubMap.headMap(K,boolean)): Likewise. (SubMap.higherEntry(K)): Likewise. (SubMap.higherKey(K)): Likewise. (SubMap.lastEntry()): Likewise. (SubMap.lowerEntry(K)): Likewise. (SubMap.lowerKey(K)): Likewise. (SubMap.navigableKeySet()): Likewise. (SubMap.pollFirstEntry()): Likewise. (SubMap.pollLastEntry()): Likewise. (SubMap.subMap(K,boolean,K,boolean)): Likewise. (SubMap.tailMap(K,boolean)): Likewise. (SubMap.KeySet): New class for keySet(). (SubMap.NavigableKeySet): New class for navigableKeySet(). (SubMap.EntrySet): New class for entrySet(). (SubMap.NavigableEntrySet): Likewise. (ceilingEntry(K)): Likewise. (ceilingKey(K)): Likewise. (descendingKeySet()): Likewise. (descendingMap()): Likewise. (firstEntry()): Implemented. (floorEntry(K)): Likewise. (floorKey(K)): Likewise. (higherEntry(K)): Likewise. (higherKey(K)): Likewise. (lastEntry()): Likewise. (lowerEntry(K)): Likewise. (lowerKey(K)): Likewise. (navigableKeySet()): Likewise. (pollFirstEntry()): Likewise. (pollLastEntry()): Likewise. (DescendingMap): New class for descendingMap(). (KeySet): New class for keySet(). (NavigableKeySet): New class for navigableKeySet(). (DescendingSet): New class for descendingSet(). (EntrySet): New class for entrySet(). (NavigableEntrySet): Likewise. * java/util/TreeSet.java: (headSet(T,boolean)): Implemented. (subSet(T,boolean,T,boolean)): Likewise. (tailSet(T,boolean)): Likewise. (descendingIterator()): Likewise. (descendingSet()): Likewise. (floor(T)): Likewise. (higher(T)): Likewise. (lower(T)): Likewise. (pollFirst(T)): Likewise. (pollLast(T)): Likewise.
* 2006-12-27 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-271-3/+268
| | | | | | | | | | | | | | | | | | | | * java/util/LinkedList.java: (offer(T)): Documented. (element()): Likewise. (peek()): Likewise. (poll()): Likewise. (remove()): Likewise. (descendingIterator()): Implemented. (offerFirst(T)): Likewise. (offerLast(T)): Likewise. (peekFirst()): Likewise. (peekLast()): Likewise. (pollFirst()): Likewise. (pollLast()): Likewise. (pop()): Likewise. (push(T)): Likewise. (removeFirstOccurrence(Object)): Likewise. (removeLastOccurrence(Object)): Likewise.
* 2006-12-26 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-261-0/+16
| | | | | | | | | | | | | | | | | | | | | * NEWS: Mention 1.6 support for java.lang.management * configure.ac: Check for getloadavg. * examples/gnu/classpath/examples/management/TestOS.java: Print system load average. * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: (getSystemLoadAverage()): Implemented. * include/Makefile.am: Add new header. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. * include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h: Generated. * java/lang/management/OperatingSystemMXBean.java: (getSystemLoadAverage()): Implemented. * native/jni/java-lang/Makefile.am: Add new native code. * native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c: New file. * vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java: Likewise.
* 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-252-19/+454
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/vmintegration.texinfo: Updated to match new threading bean API. * gnu/java/lang/management/ThreadMXBeanImpl.java: (MONITOR_SUPPORT): New constant for object monitor lock support property. (SYNCHRONIZER_SUPPORT): New constant for ownable synchronizer lock support property. (dumpAllThreads(boolean,boolean)): Implemented. (findDeadlockedThreads()): Likewise. (getThreadInfo(long[],boolean,boolean)): Likewise. (isObjectMonitorUsageSupported()): Likewise. (isSynchronizerUsageSupported()): Likewise. * java/lang/management/ThreadInfo.java: (ThreadInfo(Thread,long,long,Object,Thread,long, long,boolean,boolean,StackTraceElement[], MonitorInfo[], LockInfo[])): New constructor. (ThreadInfo(long,String,Thread.State,long,long, String,long,String,long,long,boolean,boolean, StackTraceElement[],MonitorInfo[], LockInfo[])): Likewise. (from(CompositeData)): Updated to handle new attributes. (getLockedMonitors()): Implemented. (getLockedSynchronizers()): Likewise. (getLockInfo()): Likewise. (getLockName()): Handle blocking as documented in 1.6 (getLockOwnerId()): Likewise. (getLockOwnerName()): Likewise. (toString()): Likewise. (isThreadBlocked()): Thread blocked check based on documented 1.6 semantics. * java/lang/management/ThreadMXBean.java: (dumpAllThreads(boolean,boolean)): Implemented. (findDeadlockedThreads()): Likewise. (getThreadInfo(long[],boolean,boolean)): Likewise. (isObjectMonitorUsageSupported()): Likewise. (isSynchronizerUsageSupported()): Likewise. * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java: (findDeadlockedThreads()): New native method. (getLockInfo(ThreadInfo)): Likewise. (getMonitorInfo(ThreadInfo)): Likewise.
* 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-252-18/+269
| | | | | | | | | | | | | | | | | | | | | | | * java/lang/management/MonitorInfo.java: Make variables private. * java/util/Arrays.java: (binarySearch(byte[],byte)): Implemented in terms of range-based variant. (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(byte[],int,int,byte)): Implemented. (binarySearch(short[],int,int,short)): Likewise. (binarySearch(int[],int,int,int)): Likewise. (binarySearch(long[],int,int,long)): Likewise. (binarySearch(char[],int,int,char)): Likewise. (binarySearch(float[],int,int,float)): Likewise. (binarySearch(double[],int,int,double)): Likewise. (binarySearch(Object[],int,int,Object)): Likewise. (binarySearch(T[],int,int,T,Comparator)): Likewise.
* 2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-254-21/+413
| | | | | | | | | | | | | | * java/beans/ConstructorProperties.java: New file. * java/lang/management/LockInfo.java: Likewise. * java/lang/management/MonitorInfo.java: Likewise. * java/lang/management/ThreadInfo.java: (getStackTraceType()): New method to make the StackTraceElement type accessible. (from(CompositeData)): Refactored to use getStackTraceType().
* 2006-12-24 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-242-47/+214
| | | | | | | | | | | | | | | | | | | * gnu/classpath/Pair.java: New class. * java/io/ObjectInputStream.java: (readUnshared()): Implemented. (readObject(boolean)): Renamed from readObject in order to handle unshared serialization. (parseContent(byte,boolean)): Added unshared parameter. (assignNewHandle(Object,boolean)): Likewise. (rememberHandle(Object,boolean,int)): Likewise. (lookupHandle(int)): Added handling of invalidated handles. (processResolution(ObjectStreamClass,Object,int,boolean)): Added unshared parameter. * java/io/ObjectOutputStream.java: (writeUnshared()): Implemented. (writeObject(Object,boolean)): Renamed from writeObject(Object) in order to handle unshared serialization.
* 2006-12-23 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-243-43/+127
| | | | | | | | | | | | | | | | | * gnu/java/lang/management/BeanImpl.java: (translate(String)): Correct handling of CompositeData objects. * java/lang/management/ManagementFactory.java: (ManagementInvocationHandler.invoke(Object, Method,Object[])): Handle translation and notifications. (ManagementInvocationHandler.translate(Object, Method)): Implement type translation. * java/lang/management/MemoryUsage.java: (from(CompositeData)): Fix capitalisation. * java/lang/management/ThreadInfo.java: (from(CompositeData)): Likewise. * javax/management/StandardMBean.java: (getMBeanInfo()): Add notification handling.
* 2005-12-23 Sven de Marothy <sven@physto.se>Mark Wielaard2006-12-231-1/+2
| | | | | * java/util/GregorianCalendar.java, (add): Don't set fields directly anymore. Use set()
* 2006-12-21 Mario Torre <neugens@limasoftware.net>Mario Torre2006-12-2113-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .settings/org.eclipse.jdt.core.prefs: set compilation flag to warning instead of error for empty control flow statements. * gnu/javax/swing/text/html/css/CSSParser.java (parseSelector): (parseValue): Reverted last change. * java/text/BreakIterator.java (preceding): likewise. * external/jsr166/java/util/AbstractQueue.java (clear): likewise. * gnu/java/io/Base64InputStream.java (read): likewise. * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate): likewise. * java/util/zip/DeflaterEngine.java (findLongestMatch): likewise. * java/util/zip/ZipInputStream.java (closeEntry): likewise. * java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise. * java/io/StreamTokenizer.java (nextToken): likewise. * gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise. * gnu/java/awt/font/opentype/truetype/VirtualMachine.java (execute): likewise. * gnu/java/nio/charset/ByteCharset.java (Decoder.decodeLoop): likewise. Also fixed typo. * gnu/java/awt/print/PostScriptGraphics2D.java (spoolPostScript): likewise. * gnu/java/awt/print/JavaPrinterGraphics.java (spoolPostScript): likewise. * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify): likewise. * javax/swing/text/html/CSSParser.java: (parse): likewise. * java/lang/String.java (trim): likewise. * java/lang/StrictMath.java (remPiOver2): likewise. * gnu/java/awt/peer/qt/QtToolkit.java (QtToolkit): likewise. * javax/swing/JComponent.java (paintImmediately2): likewise. (paintChildren): likewise. * java/util/EnumMap.java (..next): likewise. * java/util/BitSet.java (length): likewise. * java/util/Collections.java (binarySearch): likewise. * java/util/StringTokenizer.java (nextToken): likewise. * java/util/PriorityQueue.java (.next): likewise. * java/math/BigInteger.java (BigInteger): likewise. * gnu/java/lang/management/BeanImpl.java (translate): likewise.
* 2006-12-19 Mario Torre <neugens@limasoftware.net>Mario Torre2006-12-1922-101/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/imageio/spi/ServiceRegistry.java: fixed Empty control-flow statement. * tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java: likewise. * gnu/java/io/Base64InputStream.java (read): likewise. * gnu/javax/swing/text/html/CharacterAttributeTranslator.java: likewise. * java/util/zip/DeflaterEngine.java (findLongestMatch): likewise. * java/util/zip/ZipInputStream.java (closeEntry): likewise. * java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise. * org/omg/CORBA/ORB.java: likewise. * javax/swing/plaf/metal/MetalFileChooserUI.java: likewise. * gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise. * tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java: likewise. * java/text/MessageFormat.java (MessageFormatElement.setLocale): likewise. * java/text/BreakIterator.java (preceding): likewise. * gnu/javax/net/ssl/provider/SSLEngineImpl.java: likewise. * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify): likewise. * java/beans/XMLEncoder.java (writeObject): likewise. * gnu/java/beans/encoder/ScanEngine.java (ScanEngine): likewise. * java/util/Collections.java (binarySearch): likewise. * java/util/StringTokenizer.java (nextToken): likewise. * java/util/PriorityQueue.java (.next): likewise. * java/util/EnumMap.java (..next): likewise. * java/util/BitSet.java (length): likewise. * java/util/Date.java (parse): likewise. * javax/swing/text/html/CSSParser.java (parse): likewise. * javax/swing/plaf/basic/BasicTabbedPaneUI.java (TabbedPaneScrollLayout.calculateTabRects): likewise. * java/lang/Character.java (UnicodeBlock): likewise. * java/lang/String.java (trim): likewise. * java/lang/StrictMath.java (remPiOver2): likewise. * javax/swing/JFormattedTextField.java (commitEdit): likewise. * javax/swing/JComponent.java (paintImmediately2): likewise. (paintChildren): likewise. * javax/swing/JToolTip.java (paramString): likewise. * javax/swing/JEditorPane.java (JEditorPane): likewise. * gnu/CORBA/Poa/gnuPOA.java: likewise. * gnu/javax/security/auth/login/ConfigFileParser.java (parseAppOrOtherEntry): likewise. (parse): likewise. * java/math/BigInteger.java (setBitOp): likewise. (add): likewise. (BigInteger): likewise. * gnu/java/lang/management/BeanImpl.java (translate): likewise. * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate): likewise. * javax/swing/text/AbstractDocument.java (BranchElement): likewise. * javax/swing/text/JTextComponent.java (getScrollableTracksViewportWidth): likewise. * javax/swing/text/FieldView.java (checkContainer): likewise. * javax/swing/text/AsyncBoxView.java (ChildLocator.updateChildOffsets): likewise. * java/text/DecimalFormat.java (formatToCharacterIterator): likewise. (parse): small refactoring.
* 2006-12-19 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-191-0/+10
| | | | | * java/lang/Enum.java: (finalize()): Implemented.
* 2006-12-18 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-191-1/+1
| | | | | | | | * gnu/java/lang/management/BeanImpl.java: (getAttribute(String)): Fix Map and List conversion. * java/lang/management/ManagementFactory.java: (newPlatformMXBeanProxy(MBeanServerConnection, String, Class<T>)): Add a comma.
* * vm/reference/java/net/VMNetworkInterface.java (addresses):Tom Tromey2006-12-185-33/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Genericized. (VMNetworkInterface): Updated. * java/net/URLClassLoader.java (urls): Genericized. (urlinfos): Likewise. (addURLImpl): Updated. (findClass): Likewise. (newInstance): Likewise. * java/net/URL.java (ph_cache): Genericized. (getURLStreamHandler): Updated. * java/net/ResolverCache.java (cache): Genericized. (killqueue): Likewise. * java/net/NetworkInterface.java (getInetAddresses): Genericized. * java/net/MimeTypeMapper.java (mime_types): Genericized. (fillFromFile): Likewise. (main): Likewise. * gnu/java/net/protocol/jar/Handler.java (flat): Genericized. * gnu/java/net/protocol/jar/Connection.java (JarFileCache.cache): Genericized. (JarFileCache.get): Updated. * gnu/java/net/protocol/http/SimpleCookieManager.java (cookies): Genericized. (SimpleCookieManager): Updated. (setCookie): Likewise. (getCookies): Likewise. (addCookies): Likewise. * gnu/java/net/protocol/http/Request.java (responseHeaderHandlers): Genericized. (Request): Updated. (createResponseBodyStream): Removed unused variable. * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Remove unused variable. (getRequestProperties): Genericized. * gnu/java/net/protocol/http/HTTPConnection.java (handshakeCompletedListeners): Genericized. (nonceCounts): Likewise. (HTTPConnection): Updated. (Pool.connectionPool): Likewise. (getNonceCount): Updated. (incrementNonce): Likewise. * gnu/java/net/protocol/http/Headers.java (headers): Genericized. * gnu/java/net/protocol/http/ChunkedInputStream.java (CR, LF): Removed unused fields. * gnu/java/net/protocol/ftp/FTPURLConnection.java (connect): Genericized. (getRequestProperties): Likewise. (addRequestPropertyValue): Likewise. Fixed return result. * gnu/java/net/protocol/ftp/FTPConnection.java (nameList): Genericized. * gnu/java/net/local/LocalSocket.java: Fixed imports. * gnu/java/net/local/LocalServerSocket.java: Fixed imports. * gnu/java/net/loader/URLStreamHandlerCache.java (factoryCache): Genericized. (add): Updated. (get): Likewise. * gnu/java/net/loader/URLLoader.java (getClassPath): Genericized. * gnu/java/net/loader/JarURLLoader.java (classPath): Genericized. (initialize): Updated. (getClassPath): Genericized. * gnu/java/net/IndexListParser.java (prefixes): Genericized. (IndexListParser): Updated. (getHeaders): Likewise. * gnu/java/net/HeaderFieldHelper.java (headerFieldKeys): Genericized. (headerFieldValues): Likewise. (HeaderFieldHelper): Updated. (getHeaderFieldValueByKey): Likewise. (getHeaderFields): Likewise. * gnu/java/net/GetLocalHostAction.java: Genericized. * gnu/java/net/DefaultContentHandlerFactory.java (imageTypes): Genericized.
* * java/util/prefs/Preferences.java (getFactory): Genericized.Tom Tromey2006-12-182-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | * java/util/prefs/AbstractPreferences.java (childCache): Genericized. (nodeListeners): Likewise. (preferenceListeners): Likewise. (cachedChildren): Rewrote. (childrenNames): Updated. (addNodeChangeListener): Likewise. (addPreferenceChangeListener): Likewise. * gnu/java/util/prefs/gconf/GConfNativePeer.java (getKeys): Genericized. (getChildrenNodes): Likewise. (gconf_client_all_nodes): Likewise. (gconf_client_all_keys): Likewise. * gnu/java/util/prefs/MemoryBasedPreferences.java (entries): Genericized. (keysSpi): Likewise. (getSpi): Likewise. * gnu/java/util/prefs/GConfBasedPreferences.java (childrenNamesSpi): Genericized. (keysSpi): Likewise. (postorderRemove): Likewise. * gnu/java/util/prefs/EventDispatcher.java (queue): Genericized. (run): Updated.
* 2006-12-17 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-171-0/+181
| | | | | | * java/lang/management/ManagementFactory.java: (newPlatformMXBeanProxy(MBeanServerConnection, String, Class<T>)): Initial implementation.
* 2006-12-15 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-151-7/+7
| | | | | | | * java/util/Collections.java: (toArray()): Return Object[] as required. (toArray(S[])): Use new type variable S rather than the class one.
* * java/lang/Collections.javaDavid Daney2006-12-141-2/+2
| | | | (UnmodifiableEntrySet.toArray): Fix bad casts.
* * java/security/BasicPermission.java: Remove gcj workaround.Tom Tromey2006-12-138-35/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | * java/security/cert/X509Certificate.java: Remove gcj workaround. * java/net/ServerSocket.java (ServerSocket): Remove gcj workaround. (getImpl): Likewise. * java/util/TreeMap.java (TreeIterator): Remove gcj workaround. * java/text/AttributedStringIterator.java (getRunLimit): Remove qualifications. (getRunStart): Likewise. * java/awt/AWTKeyStroke.java (removeEldestEntry): Remove gcj workaround. * java/awt/AlphaComposite.java (removeEldestEntry): Remove gcj workaround. * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO, BIG_VALUE): Don't fully qualify. * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Removed imports. * gnu/javax/sound/midi/alsa/AlsaPortDevice.java: Removed import. * gnu/javax/sound/midi/dssi/DSSISynthesizer.java: Removed import. * javax/swing/JComponent.java (firePropertyChange): Removed. * javax/swing/text/InternationalFormatter.java (clone): Uncomment. * javax/swing/text/AbstractDocument.java (addEdit): Remove gcj workaround. (getChange): Likewise.
* Whoops. Missed the actual file.Roman Kennke2006-12-111-1/+2
|
* 2006-12-11 Roman Kennke <kennke@aicas.com>Roman Kennke2006-12-111-9/+5
| | | | | * java/awt/print/PrinterJob.java (lookupStreamPrintServices): Uncommented and fixed parameters.
* 2006-12-11 Roman Kennke <kennke@aicas.com>Roman Kennke2006-12-111-13/+141
| | | | | | | | | | | | * java/awt/datatransfer/SystemFlavorMap.java (flavorToNativeMap): Make typesafe. (nativeToFlavorMap): Make typesafe. (SystemFlavorMap): Read in mapping by reading the flavormap.properties. (addFlavorForUnencodedNative): Access maps in a typesafe way. (addUnencodedNativeForFlavor): Access maps in a typesafe way. (getFlavorsForNative): Implemented. (getNativesForFlavor): Implemented. (setupMapping): New helper method.
* 2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-113-15/+15
| | | | | | | | | | | | | | | | | | | | | | * java/lang/Class.java: (getClasses()): Return Class<?>[]. (internalGetClasses()): Likewise. (getConstructor(Class<?>...)): Add type parameter to parameters. (getDeclaredConstructor(Class<?>...)): Likewise. (getDeclaredClasses()): Return Class<?>[]. (getDeclaredClasses(boolean)): Likewise. (getDeclaredConstructors()): Return Constructor<?>[]. (getDeclaredConstructors(boolean)): Likewise. (getDeclaredMethod(String,Class<?>...)): Add type parameter to parameters. (getInterfaces()): Return Class<?>[]. (getMethods(String,Class<?>...)): Add type parameter to parameters. * java/text/CollationKey.java: Make non-final. * java/text/DecimalFormatSymbols.java: Likewise.
* 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-101-1/+1
| | | | | | | | | * gnu/java/lang/management/BeanImpl.java: (translate(String)): Comment out code for using type variables for Map and List. * java/lang/Thread.java: (Thread(ThreadGroup,Runnable,String,long)): Fix incrementation of totalThreadsCreated to be prior to use.
* 2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-10263-2823/+8829
| | | | * Merge of generics-branch to HEAD (woohoo!)
* * gnu/java/net/protocol/http/HTTPConnection.java (imports): AddDavid Daney2006-12-081-7/+50
| | | | | | | | | | | | | | | | | SocketException. (HTTPConnection): Handle NumberFormatException in properties parsing. (Pool.get): Set timeout on reused sockets. * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort): Initialize. (HTTPURLConnection): Cleanup properties handling. (getConnection): Use both connection and read timeouts. (setConnectTimeout): Removed. (setReadTimeout): New method. * java/net/URLConnection.java (timeout): Renamed to... (connectTimeout): ... connectTimeout throughout. (readTimeout): New field. (getReadTimeout): New method. (setReadTimeout): New method.
* 2006-12-08 Tania Bento <tbento@redhat.com>Tania Bento2006-12-081-0/+2
| | | | | | * java/awt/ScrollPane.java (doLayout): Change the location of the scrollpane's child to (0, 0).
* 2006-12-08 Tania Bento <tbento@redhat.com>Tania Bento2006-12-081-2/+22
| | | | | | | | | | * java/awt/ScrollPane.java (getScrollPosition): Throw NullPointerException if scrollpane does have a child. (setScrollPosition(int, int)): Throw NullPointerException if scrollpane does have a child. Check that both ints are within the allowed bounds; If they are not, scroll to the closest allowed bound.
* * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): NewMark Wielaard2006-12-071-4/+28
| | | | | | | private constructor. (URL(URL,String,URLStreamHandler)): Call new constructor. (URL(URL,String)): Likewise. (URL(String)): Likewise.
* 2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-12-061-3/+1
| | | | | | | | | | | | | * java/awt/ScrollPane.java (addNotify): Add a parent panel for any lightweight component, not just for non-Panel components. (addImpl): Do not call doLayout. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c (setNativeBounds): Ensure widget parent is a GtkFixed before calling gtk_fixed_move. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setNativeBounds): Likewise. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (setNativeBounds): Likewise.
* 2006-12-06 Francis Kung <fkung@redhat.com>Francis Kung2006-12-061-4/+1
| | | | | * java/awt/geom/RectangularShape.java (getBounds): Remove empty rectangle check.
* 2006-12-05 Francis Kung <fkung@redhat.com>Francis Kung2006-12-052-18/+36
| | | | | | | | * java/awt/BasicStroke.java (capEnd): Prevent division by zero. * java/awt/geom/Arc2D.java (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive. (ArcIterator.currentSegment): Handle a negative extent.
* 2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-12-051-0/+2
| | | | | * java/awt/Component.java (getFontImpl): Return a default font if topmost parent's font is null.
* 2006-12-04 Robert Lougher <rob.lougher@gmail.com>Mark Wielaard2006-12-041-7/+9
| | | | | | | | * java/lang/management/ThreadInfo.java (ThreadInfo): Check whether given a null lock and lockOwner. (getLockName): Switch condition. (getLockOwnerId): Likewise. (getLockOwnerName): Likewise.
* 2006-12-04 Roman Kennke <kennke@aicas.com>Roman Kennke2006-12-041-14/+10
| | | | | | * java/awt/font/TextLayout.java (hitTestChar): Fixed conditions for inclusion of range. Use layout information in the run for more efficiency.
* 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-041-0/+4
| | | | | | | | | | | * gnu/java/lang/management/BeanImpl.java: (translate(String)): Don't assume the list uses "E", just use the first and only type variable. * java/lang/management/ManagementFactory.java: (getPlatformMBeanServer()): Register logging bean. * javax/management/openmbean/OpenType.java: (OpenType(String,String,String)): Actually use the string created to handle arrays.