hg: nio/nio/jdk: 6 new changesets

alan.bateman at sun.com alan.bateman at sun.com
Sat Oct 25 08:41:41 PDT 2008


Changeset: 64da1f751c0f
Author:    martin
Date:      2008-10-24 20:34 -0700
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/64da1f751c0f

6761678: (ann) SecurityException in AnnotationInvocationHandler.getMemberMethods
Summary: Move call to getDeclaredMethods inside doPrivileged
Reviewed-by: darcy, mullan
Contributed-by: jjb at google.com

! src/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java
+ test/java/lang/annotation/ParameterAnnotations.java

Changeset: f9c307f6f0ff
Author:    alanb
Date:      2008-10-25 12:05 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/f9c307f6f0ff

Merge


Changeset: 44f2691ef9be
Author:    alanb
Date:      2008-10-25 13:13 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/44f2691ef9be

Updates to DirectoryStreamFilters
- allOf/anyOf not safe (Thanks to Remi Forax for this)
- newContentType can make sure of type inference (also suggested by Remi)
- improve test coverage

! src/share/classes/java/nio/file/DirectoryStreamFilters.java
! test/java/nio/file/DirectoryStream/Filters.java

Changeset: 9889b32ad574
Author:    alanb
Date:      2008-10-25 13:20 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/9889b32ad574

Eliminate cast when joining multicast group
AsynchronousDatagramChannel dependency missing in build

! make/java/nio/FILES_java.gmk
! src/share/classes/java/nio/channels/AsynchronousDatagramChannel.java
! src/share/classes/java/nio/channels/DatagramChannel.java
! src/share/classes/java/nio/channels/MulticastChannel.java
! src/share/sample/nio/multicast/Reader.java
! test/java/nio/channels/AsynchronousDatagramChannel/Basic.java
! test/java/nio/channels/DatagramChannel/BasicMulticastTests.java
! test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java

Changeset: 1616d976e9da
Author:    alanb
Date:      2008-10-25 13:35 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/1616d976e9da

Provider-specific copy option to test extensibility.

! make/java/nio/FILES_java.gmk
+ src/share/classes/com/sun/nio/file/ExtendedCopyOption.java
+ src/share/classes/sun/nio/fs/Cancellable.java
! src/solaris/classes/sun/nio/fs/SolarisNamedAttributeView.java
! src/solaris/classes/sun/nio/fs/UnixCopyFile.java
! src/solaris/native/sun/nio/fs/UnixCopyFile.c
! src/windows/classes/sun/nio/fs/WindowsFileCopy.java
! src/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java
! src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c
+ test/java/nio/file/Path/InterruptCopy.java

Changeset: 03a74ce1bcc5
Author:    alanb
Date:      2008-10-25 16:31 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/03a74ce1bcc5

AsynchronousFileChannel completion handler may never be invoked when
  created with custom thread pool that supports only one thread (win only)

! src/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java
! test/java/nio/channels/AsynchronousFileChannel/Basic.java
! test/java/nio/channels/AsynchronousFileChannel/CustomThreadPool.java




More information about the nio-dev mailing list