summaryrefslogtreecommitdiff
path: root/java/lang
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-10-12 Ian Rogers <ian.rogers@manchester.ac.uk>Andrew John Hughes2007-10-122-22/+40
| | | | | | | | | | | 2007-10-12 Andrew Haley <aph@redhat.com> PR classpath/33741: * java/lang/Double.java: (compare(double,double)): Increase performance of this method. * java/lang/Float.java: (compare(float,float)): Likewise.
* 2007-10-10 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-10-101-128/+0
| | | | | | Recommitting patch by Dalibor Topic from 2007-09-21. * java/lang/management/ThreadInfo.java: Removed unused private constructors.
* 2007-09-24 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-09-241-0/+128
| | | | | * java/lang/management/ThreadInfo.java: Reverted patch from 2007-09-21, as it breaks JikesRVM.
* 2007-09-21 Dalibor Topic <robilad@kaffe.org>Dalibor Topic2007-09-211-128/+0
| | | | | | | * gnu/java/rmi/server/RMIClassLoaderImpl.java, java/beans/beancontext/BeanContextServicesSupport.java, java/lang/management/ThreadInfo.java: Removed unused private constructors.
* * java/lang/Class.java (internalGetFields): Use LinkedHashSet.Tom Tromey2007-08-151-3/+3
|
* 2007-07-03 Tania Bento <tbento@redhat.com>Tania Bento2007-07-031-2/+5
| | | | | | * java/lang/Integer.java: (parseInt(String,int,boolean)): Throw NumberFormatException if String is just "+".
* 2007-06-21 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2007-06-211-6/+5
| | | | | | | Fixes #32356 * java/lang/reflect/Array.java (newInstance(Class,int[])): Call createMultiArray correctly. (createMultiArray): Fixed dimensions processing order.
* 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-03 Roman Kennke <roman@kennke.org>Roman Kennke2007-04-031-0/+22
| | | | | | | | | | * 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-02-23 Gary Benson <gbenson@redhat.com>Gary Benson2007-02-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-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.
* 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.
* 2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2007-01-021-0/+13
| | | | | | | | | | | | | | | | | | * 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.
* 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-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * 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-253-21/+341
| | | | | | | | | | | | | | * 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-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.
* 2006-12-21 Mario Torre <neugens@limasoftware.net>Mario Torre2006-12-212-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .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-193-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 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-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-111-13/+13
| | | | | | | | | | | | | | | | | | | | | | * 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-1056-647/+1920
| | | | * Merge of generics-branch to HEAD (woohoo!)
* 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 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.
* 2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-12-041-0/+171
| | | | | | | | | | | * gnu/javax/management/Server.java: Make map final and initialise it. (unregisterMBean(ObjectName)): Match against delegate's object name and not the instance. * java/lang/management/ManagementFactory.java: Added constant fields. (getPlatformMBeanServer()): Implemented. * javax/management/MBeanServerFactory.java: New file.
* 2006-11-30 Gary Benson <gbenson@redhat.com>Gary Benson2006-11-301-2/+6
| | | | * java/lang/Thread.java: Javadoc fixes.
* 2006-08-24 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2006-08-242-24/+42
| | | | | | | | | | | | * java/lang/ref/Reference.java (queue, nextOnQueue): Made volatile. (enqueue): Made thread safe. * java/lang/ref/ReferenceQueue.java (lock): New field. (poll): Removed synchronized. (enqueue): Changed to synchronize on lock object, to update Reference state and return success status. (dequeue, remove): Synchronize on lock object.
* 2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-08-201-0/+43
| | | | | * java/lang/management/ManagementFactory.java: Updated documentation.
* 2006-08-03 Carsten Neumann <cn-develop@gmx.net>Carsten Neumann2006-08-031-4/+4
| | | | | | | * StrictMath.java (cbrt): Return argument if it is a NaN. (cosh): Likewise. (expm1): Likewise. (sinh): Likewise.
* 2006-08-03 Carsten Neumann <cn-develop@gmx.net>Carsten Neumann2006-08-031-0/+69
| | | | * java/lang/StrictMath.java (tanh): New method.
* 2006-08-02 Carsten Neumann <cn-develop@gmx.net>Carsten Neumann2006-08-021-0/+88
| | | | * java/lang/StrictMath.java (sinh): New method.
* 2006-07-31 Carsten Neumann <cn-develop@gmx.net>Carsten Neumann2006-07-311-33/+30
| | | | | | | | | * StrictMath.java (getLowDWord): Return long instead of int. (getHighDWord): Likewise. (buildDouble): Take two long arguments. (cbrt): Adapted to int -> long change. (expm1): Likewise. (cosh): Likewise.
* 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-291-9/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/java/lang/management/BeanImpl.java: Extended javax.management.StandardMBean. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, * gnu/java/lang/management/CompilationMXBeanImpl.java, * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, * gnu/java/lang/management/MemoryMXBeanImpl.java, * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, * gnu/java/lang/management/OperatingSystemMXBeanImpl.java, * gnu/java/lang/management/RuntimeMXBeanImpl.java, * gnu/java/lang/management/ThreadMXBeanImpl.java: Call the superclass with the appropriate class. * java/lang/management/ManagementFactory.java: (getOperatingSystemMXBean()): Catch exception from StandardMBean. (getRuntimeMXBean()): Likewise. (getClassLoadingMXBean()): Likewise. (getThreadMXBean()): Likewise. (getMemoryMXBean()): Likewise. (getCompilationMXBean()): Likewise. (getMemoryPoolMXBeans()): Likewise. (getMemoryManagerMXBeans()): Likewise. (getGarbageCollectorMXBeans()): Likewise. * javax/management/MBeanFeatureInfo.java: (hashCode()): Fixed to check for null values.
* 2006-07-26 Carsten Neumann <cn-develop@gmx.net>Carsten Neumann2006-07-261-0/+354
| | | | | | | | | | * StrictMath.java (cosh): New method. (expm1): New method. (EXPM1_Q1): New field. (EXPM1_Q2): Likewise. (EXPM1_Q3): Likewise. (EXPM1_Q4): Likewise. (EXPM1_Q6): Likewise.
* * java/lang/Iterable.java: Import all of java.util.Mark Wielaard2006-07-221-1/+2
| | | | | * lib/mkcollections.pl.in (javautilclasses): Add Iterable. * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
* 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-221-0/+8
| | | | | | | | | | * doc/vmintegration.texinfo: Document getType(String). * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, * java/lang/management/MemoryPoolMXBean.java: (getType()): Implemented. * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java (getType(String)): Implemented.
* 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-221-0/+28
| | | | | | | | | | | | | | * doc/vmintegration.texinfo: Mention callback methods. * gnu/java/lang/management/MemoryMXBeanImpl.java: (fireNotification(String,String,long,long,long,long,long)): Made package-private. (fireThresholdExceededNotification(String,long,long,long, long,long)): Likewise. (fireCollectionThresholdExceededNotification(String,long, long,long,long,long)): Likewise. * java/lang/management/MemoryMXBean.java: Document notifications.
* 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-221-27/+3
| | | | | | | | | | | | | | | | | * gnu/java/lang/management/MemoryMXBeanImpl.java: (fireNotification(String,String,long,long,long,long,long)): Implemented. (fireThresholdExceededNotification(String,long,long,long, long,long)): Likewise. (fireCollectionThresholdExceededNotification(String,long, long,long,long,long)): Likewise. * java/lang/management/MemoryNotificationInfo.java: Use composite type from MemoryMXBeanImpl. * javax/management/openmbean/CompositeData.java: Correct documentation. * javax/management/openmbean/CompositeDataSupport.java, * javax/management/openmbean/InvalidKeyException.java: New files.
* * java/lang/StrictMath.java (cbrt): Added '@since'.Tom Tromey2006-07-161-1/+3
|
* 2006-07-16 Carsten Neumann <cn-develop@gmx.net>Tom Tromey2006-07-161-0/+140
| | | | | | | | | | | | | | * java/lang/StrictMath.java (cbrt): New method. (getLowDWord): New helper method. (getHighDWord): Likewise. (buildDouble): Likewise. (CBRT_B1): New field. (CBRT_B2): Likewise. (CBRT_C): Likewise. (CBRT_D): Likewise. (CBRT_E): Likewise. (CBRT_F): Likewise. (CBRT_G): Likewise.
* 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-161-0/+239
| | | | | * java/lang/management/MemoryNotificationInfo.java: New file.
* 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-111-1/+1
| | | | | * java/lang/management/ManageFactory.java: (getMemoryManagerMXBeans()): Use addAll, not add.
* 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-092-32/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/management/MemoryUsage.java: (from(javax.management.openmbean.CompositeData)): Implemented. * java/lang/management/ThreadInfo.java: Changed to use open types throughout for the state. (ThreadInfo(long,String,String,long,long,String, long,String,long,long,boolean,StackTraceElement[])): New constructor. (checkAttribute(javax.management.openmbean.CompositeType, String, javax.management.openmbean.OpenType)): New method. (from(javax.management.openmbean.CompositeData)): Implemented. (getLockName()): Fixed to use new variable. (getLockOwnerId()): Likewise. (getLockOwnerName()): Likewise. (getThreadId()): Likewise. (getThreadName()): Likewise. (getThreadState()): Likewise. (toString()): Refactored to use new variables. * javax/management/openmbean/ArrayType.java: New file. * javax/management/openmbean/CompositeType.java: Variables should be transient, not volatile. * javax/management/openmbean/OpenDataException.java: (serialVersionUID): Added. * javax/management/openmbean/SimpleType.java: New file. * javax/management/openmbean/TabularType.java Variables should be transient, not volatile.
* 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-053-0/+192
| | | | | | | | | | | | | | | | | | | | * NEWS: Updated. * doc/vmintegration.texinfo: Likewise. * examples/gnu/classpath/examples/management/TestGarbageCollector.java, * examples/gnu/classpath/examples/management/TestMemoryManager.java, * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, * java/lang/management/GarbageCollectorMXBean.java: New files. * java/lang/management/ManagementFactory.java: (getGarbageCollectorMXBeans()): Implemented. (getMemoryManagerMXBeans()): Likewise. * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java: New files. * vm/reference/java/lang/management/VMManagementFactory.java: (getMemoryManagerNames()): Added. (getGarbageCollectorNames()): Added.
* 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-041-0/+19
| | | | | | | | | | | | | * NEWS: Updated. * doc/vmintegration.texinfo: Likewise. * examples/gnu/classpath/examples/management/TestMemoryPool.java, * gnu/java/lang/management/MemoryPoolMXBeanImpl.java: New files. * java/lang/management/ManagementFactory.java: (getMemoryPoolMXBeans()): Implemented. * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, * vm/reference/java/lang/management/VMManagementFactory.java: New files.
* 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-031-0/+310
| | | | | * java/lang/management/MemoryPoolMXBean.java: New file.