hg: nio/nio/jdk: 19 new changesets
alan.bateman at sun.com
alan.bateman at sun.com
Thu Aug 7 07:55:26 PDT 2008
Changeset: 914370f03119
Author: dfuchs
Date: 2008-07-31 12:41 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/914370f03119
6730926: Document that create/registerMBean can throw RuntimeMBeanException from postRegister
Reviewed-by: emcmanus
! src/share/classes/com/sun/jmx/interceptor/DefaultMBeanServerInterceptor.java
! src/share/classes/javax/management/MBeanRegistration.java
! src/share/classes/javax/management/MBeanServer.java
! src/share/classes/javax/management/MBeanServerConnection.java
+ test/javax/management/MBeanServer/PostExceptionTest.java
Changeset: 7622f1de1486
Author: dfuchs
Date: 2008-07-31 14:20 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/7622f1de1486
6689505: Improve MBeanServerNotification.toString
Reviewed-by: emcmanus
! src/share/classes/javax/management/MBeanServerNotification.java
+ test/javax/management/MBeanServer/MBeanServerNotificationTest.java
Changeset: 8f52c4d1d934
Author: sjiang
Date: 2008-07-31 15:31 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/8f52c4d1d934
5108776: Add reliable event handling to the JMX API
6218920: API bug - impossible to delete last MBeanServerForwarder on a connector
Reviewed-by: emcmanus
+ src/share/classes/com/sun/jmx/event/DaemonThreadFactory.java
+ src/share/classes/com/sun/jmx/event/EventBuffer.java
+ src/share/classes/com/sun/jmx/event/EventClientFactory.java
+ src/share/classes/com/sun/jmx/event/EventConnection.java
+ src/share/classes/com/sun/jmx/event/EventParams.java
+ src/share/classes/com/sun/jmx/event/LeaseManager.java
+ src/share/classes/com/sun/jmx/event/LeaseRenewer.java
+ src/share/classes/com/sun/jmx/event/ReceiverBuffer.java
+ src/share/classes/com/sun/jmx/event/RepeatedSingletonJob.java
+ src/share/classes/com/sun/jmx/interceptor/MBeanServerSupport.java
+ src/share/classes/com/sun/jmx/interceptor/SingleMBeanForwarder.java
! src/share/classes/com/sun/jmx/interceptor/package.html
! src/share/classes/com/sun/jmx/mbeanserver/MBeanInjector.java
! src/share/classes/com/sun/jmx/mbeanserver/MBeanSupport.java
+ src/share/classes/com/sun/jmx/mbeanserver/PerThreadGroupPool.java
! src/share/classes/com/sun/jmx/mbeanserver/Util.java
! src/share/classes/com/sun/jmx/remote/internal/ClientNotifForwarder.java
! src/share/classes/com/sun/jmx/remote/internal/ProxyInputStream.java
! src/share/classes/com/sun/jmx/remote/internal/ProxyRef.java
! src/share/classes/com/sun/jmx/remote/internal/ServerNotifForwarder.java
! src/share/classes/com/sun/jmx/remote/security/FileLoginModule.java
! src/share/classes/com/sun/jmx/remote/util/EnvHelp.java
+ src/share/classes/com/sun/jmx/remote/util/EventClientConnection.java
! src/share/classes/com/sun/jmx/snmp/tasks/ThreadService.java
! src/share/classes/javax/management/ImmutableDescriptor.java
! src/share/classes/javax/management/MBeanServer.java
! src/share/classes/javax/management/MBeanServerConnection.java
! src/share/classes/javax/management/MXBean.java
! src/share/classes/javax/management/QueryParser.java
! src/share/classes/javax/management/StringValueExp.java
+ src/share/classes/javax/management/event/EventClient.java
+ src/share/classes/javax/management/event/EventClientDelegate.java
+ src/share/classes/javax/management/event/EventClientDelegateMBean.java
+ src/share/classes/javax/management/event/EventClientNotFoundException.java
+ src/share/classes/javax/management/event/EventConsumer.java
+ src/share/classes/javax/management/event/EventForwarder.java
+ src/share/classes/javax/management/event/EventReceiver.java
+ src/share/classes/javax/management/event/EventRelay.java
+ src/share/classes/javax/management/event/EventSubscriber.java
+ src/share/classes/javax/management/event/FetchingEventForwarder.java
+ src/share/classes/javax/management/event/FetchingEventRelay.java
+ src/share/classes/javax/management/event/ListenerInfo.java
+ src/share/classes/javax/management/event/NotificationManager.java
+ src/share/classes/javax/management/event/RMIPushEventForwarder.java
+ src/share/classes/javax/management/event/RMIPushEventRelay.java
+ src/share/classes/javax/management/event/RMIPushServer.java
+ src/share/classes/javax/management/event/package-info.java
! src/share/classes/javax/management/loading/MLet.java
! src/share/classes/javax/management/modelmbean/ModelMBeanInfoSupport.java
! src/share/classes/javax/management/modelmbean/RequiredModelMBean.java
! src/share/classes/javax/management/relation/RelationService.java
+ src/share/classes/javax/management/remote/IdentityMBeanServerForwarder.java
! src/share/classes/javax/management/remote/JMXConnector.java
! src/share/classes/javax/management/remote/JMXConnectorServer.java
! src/share/classes/javax/management/remote/JMXConnectorServerFactory.java
! src/share/classes/javax/management/remote/JMXConnectorServerMBean.java
! src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java
! src/share/classes/javax/management/remote/rmi/RMIConnector.java
! src/share/classes/javax/management/remote/rmi/RMIConnectorServer.java
+ test/javax/management/MBeanServer/DynamicWrapperMBeanTest.java
+ test/javax/management/MBeanServer/OldMBeanServerTest.java
+ test/javax/management/eventService/AddRemoveListenerTest.java
+ test/javax/management/eventService/CustomForwarderTest.java
+ test/javax/management/eventService/EventClientExecutorTest.java
+ test/javax/management/eventService/EventDelegateSecurityTest.java
+ test/javax/management/eventService/EventManagerTest.java
+ test/javax/management/eventService/FetchingTest.java
+ test/javax/management/eventService/LeaseManagerDeadlockTest.java
+ test/javax/management/eventService/LeaseTest.java
+ test/javax/management/eventService/ListenerTest.java
+ test/javax/management/eventService/MyFetchingEventForwarder.java
+ test/javax/management/eventService/NotSerializableNotifTest.java
+ test/javax/management/eventService/PublishTest.java
+ test/javax/management/eventService/ReconnectableConnectorTest.java
+ test/javax/management/eventService/SharingThreadTest.java
+ test/javax/management/eventService/SubscribeTest.java
+ test/javax/management/eventService/UsingEventService.java
! test/javax/management/mxbean/GenericArrayTypeTest.java
! test/javax/management/mxbean/LeakTest.java
! test/javax/management/mxbean/MBeanOperationInfoTest.java
! test/javax/management/mxbean/MXBeanTest.java
! test/javax/management/mxbean/ThreadMXBeanTest.java
! test/javax/management/mxbean/TigerMXBean.java
! test/javax/management/query/QueryNotifFilterTest.java
! test/javax/management/remote/mandatory/connection/CloseServerTest.java
! test/javax/management/remote/mandatory/connection/DeadLockTest.java
! test/javax/management/remote/mandatory/connection/IdleTimeoutTest.java
! test/javax/management/remote/mandatory/connection/RMIExitTest.java
! test/javax/management/remote/mandatory/connection/ReconnectTest.java
+ test/javax/management/remote/mandatory/connectorServer/ForwarderChainTest.java
+ test/javax/management/remote/mandatory/connectorServer/StandardForwardersTest.java
! test/javax/management/remote/mandatory/loading/MissingClassTest.java
! test/javax/management/remote/mandatory/notif/AddRemoveTest.java
! test/javax/management/remote/mandatory/notif/DiffHBTest.java
! test/javax/management/remote/mandatory/notif/EmptyDomainNotificationTest.java
! test/javax/management/remote/mandatory/notif/ListenerScaleTest.java
! test/javax/management/remote/mandatory/notif/NotifBufferSizePropertyNameTest.java
! test/javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java
! test/javax/management/remote/mandatory/notif/NotificationAccessControllerTest.java
! test/javax/management/remote/mandatory/notif/NotificationBufferCreationTest.java
! test/javax/management/remote/mandatory/notif/NotificationBufferDeadlockTest.java
! test/javax/management/remote/mandatory/notif/NotificationEmissionTest.java
! test/javax/management/remote/mandatory/notif/RMINotifTest.java
! test/javax/management/remote/mandatory/notif/UnexpectedNotifTest.java
Changeset: 98caad5c563c
Author: dfuchs
Date: 2008-07-31 17:38 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/98caad5c563c
6616825: JMX query returns no value in 1.0 compatibility mode - deserialization bug in readObject()
Reviewed-by: emcmanus
! src/share/classes/javax/management/ObjectName.java
! test/javax/management/ObjectName/SerialCompatTest.java
Changeset: 3a1325be2806
Author: martin
Date: 2008-08-01 00:38 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3a1325be2806
6730380: java.util.Timer should use AtomicInteger
Reviewed-by: dl, chegar
! src/share/classes/java/util/Timer.java
Changeset: f33c3846cecb
Author: dl
Date: 2008-08-01 00:42 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/f33c3846cecb
6725789: ScheduledExecutorService does not work as expected in jdk7/6/5
Reviewed-by: martin, dholmes, chegar
! src/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java
+ test/java/util/concurrent/ScheduledThreadPoolExecutor/DelayOverflow.java
Changeset: e0dc076d99b8
Author: dfuchs
Date: 2008-08-01 11:41 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/e0dc076d99b8
6732192: CORE_PKGS.gmk: need to declare javax.management.event in the CORE_PKGS variable
Reviewed-by: emcmanus
! make/docs/CORE_PKGS.gmk
Changeset: 3232179e24ae
Author: jjh
Date: 2008-08-01 13:58 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3232179e24ae
6730273: TEST: JDI_REGRESSION test Solaris32AndSolaris64Test.sh fails if -XX:+UseCompressedOops is used
Summary: Fix test to not pass -XX:[+-]UseCompressedOops to the debuggee.
Reviewed-by: tbell
! test/com/sun/jdi/Solaris32AndSolaris64Test.sh
Changeset: 00c40e393a75
Author: emcmanus
Date: 2008-08-05 10:49 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/00c40e393a75
6733589: Intermittent failure of test/javax/management/eventService/SharingThreadTest.java
Reviewed-by: sjiang
! test/javax/management/eventService/SharingThreadTest.java
Changeset: abff2ea5c0b7
Author: alanb
Date: 2008-08-05 13:43 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/abff2ea5c0b7
Merge
! make/docs/CORE_PKGS.gmk
Changeset: 13b8426bb0cd
Author: emcmanus
Date: 2008-08-06 18:28 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/13b8426bb0cd
6734273: Minor updates to documentation of Custom MXBean Mappings
Reviewed-by: dfuchs
! src/share/classes/javax/management/MXBean.java
! src/share/classes/javax/management/openmbean/MXBeanMapping.java
! src/share/classes/javax/management/openmbean/MXBeanMappingFactory.java
Changeset: f8c58e72b807
Author: swamyv
Date: 2008-08-06 10:24 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/f8c58e72b807
6732441: TEST_BUG: ThreadMXBeanProxy test fails intermittently.
Summary: Fixed the race condition in the test.
Reviewed-by: jjh
! test/java/lang/management/ManagementFactory/ThreadMXBeanProxy.java
Changeset: 871c10d47f8d
Author: swamyv
Date: 2008-08-06 10:49 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/871c10d47f8d
Merge
Changeset: 1e966a613f91
Author: alanb
Date: 2008-08-07 13:44 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/1e966a613f91
Merge
Changeset: af0ed9bf7363
Author: alanb
Date: 2008-08-07 13:47 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/af0ed9bf7363
Path.createSymbolicLink does not throw exception when link not created
! src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c
Changeset: 23953c156b31
Author: alanb
Date: 2008-08-07 14:24 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/23953c156b31
Fixed Files.walkFileTree so that cycles are reported to the FileVisitor.
Renamed DETECT_LOOPS to DETECT_CYCLES.
Added test case to ensure that behavior matches find(1).
! src/share/classes/java/nio/file/FileTreeWalker.java
! src/share/classes/java/nio/file/FileVisitOption.java
! src/share/classes/java/nio/file/FileVisitor.java
! src/share/classes/java/nio/file/Files.java
+ test/java/nio/file/Files/CreateFileTree.java
+ test/java/nio/file/Files/PrintFileTree.java
+ test/java/nio/file/Files/walk_file_tree.sh
Changeset: 7475b8deab29
Author: alanb
Date: 2008-08-07 14:26 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/7475b8deab29
Minor spec typo/corrections
! src/share/classes/java/nio/file/DirectoryEntry.java
! src/share/classes/java/nio/file/attribute/UserPrincipalLookupService.java
Changeset: bd5e9dab6dee
Author: alanb
Date: 2008-08-07 15:28 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/bd5e9dab6dee
Small clean-ups to file change notification API
- Rename WatchEvent.Type to WatchEvent.Kind and add type parameter
- WatchEvent and WatchKey can be interfaces
- Add modifiers parameter to Watchable#register to allow for future qualification
on how an object is registered
- Add Windows specific FILE_TREE modifier to allow testing of modifiers parameter
! make/java/nio/FILES_java.gmk
+ src/share/classes/com/sun/nio/file/ExtendedWatchEventModifier.java
! src/share/classes/java/nio/file/Path.java
+ src/share/classes/java/nio/file/StandardWatchEventKind.java
- src/share/classes/java/nio/file/StandardWatchEventType.java
! src/share/classes/java/nio/file/WatchEvent.java
! src/share/classes/java/nio/file/WatchKey.java
! src/share/classes/java/nio/file/Watchable.java
! src/share/classes/java/nio/file/spi/AbstractPath.java
! src/share/classes/sun/nio/fs/AbstractPoller.java
! src/share/classes/sun/nio/fs/AbstractWatchKey.java
! src/share/classes/sun/nio/fs/AbstractWatchService.java
! src/share/classes/sun/nio/fs/PollingWatchService.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFilePath.java
! src/share/sample/nio/file/WatchDir.java
! src/solaris/classes/sun/nio/fs/LinuxWatchService.java
! src/solaris/classes/sun/nio/fs/SolarisWatchService.java
! src/solaris/classes/sun/nio/fs/UnixPath.java
! src/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java
! src/windows/classes/sun/nio/fs/WindowsPath.java
! src/windows/classes/sun/nio/fs/WindowsWatchService.java
! src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c
! test/java/nio/file/WatchService/Basic.java
Changeset: 2a4a1a1ea9f2
Author: alanb
Date: 2008-08-07 15:43 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/2a4a1a1ea9f2
Copy sample should behave like "cp -r" when cycle is detected
! src/share/sample/nio/file/Copy.java
More information about the nio-dev
mailing list