hg: nio/nio/jdk: 18 new changesets

alan.bateman at sun.com alan.bateman at sun.com
Sat Dec 6 07:05:23 PST 2008


Changeset: 31cb1c17f524
Author:    mullan
Date:      2008-11-25 10:17 -0500
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/31cb1c17f524

6728890: Add SwissSign root certificates to the JDK
6732157: Add VeriSign TSA Root Cert to the JDK
6754779: Add Camerfirma root certificates to the JDK
6768559: Add t-systems root CA certificate (Deutsche Telekom Root CA 2) to the JRE
Reviewed-by: vinnie

! test/lib/security/cacerts/VerifyCACerts.java

Changeset: b1620482689a
Author:    sherman
Date:      2008-11-25 10:09 -0800
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/b1620482689a

6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh
Summary: update the scripts to use java version of spp
Reviewed-by: alanb

! test/java/nio/Buffer/genBasic.sh
! test/java/nio/Buffer/genCopyDirectMemory.sh

Changeset: b7c47f49a53d
Author:    alanb
Date:      2008-11-25 19:26 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/b7c47f49a53d

6593946: (bf) X-Buffer.compact() does not discard mark as specified
Summary: InvalidMarkException now correctly thrown. Thanks to keiths at redhat.com for the bug report and initial fix.
Reviewed-by: sherman, darcy

! src/share/classes/java/nio/Buffer.java
! src/share/classes/java/nio/ByteBufferAs-X-Buffer.java
! src/share/classes/java/nio/Direct-X-Buffer.java
! src/share/classes/java/nio/Heap-X-Buffer.java
! test/java/nio/Buffer/Basic-X.java
! test/java/nio/Buffer/Basic.java
! test/java/nio/Buffer/BasicByte.java
! test/java/nio/Buffer/BasicChar.java
! test/java/nio/Buffer/BasicDouble.java
! test/java/nio/Buffer/BasicFloat.java
! test/java/nio/Buffer/BasicInt.java
! test/java/nio/Buffer/BasicLong.java
! test/java/nio/Buffer/BasicShort.java
! test/java/nio/Buffer/genBasic.sh

Changeset: a0709a172b6d
Author:    chegar
Date:      2008-11-26 15:37 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/a0709a172b6d

6720866: Slow performance using HttpURLConnection for upload
Reviewed-by: michaelm

! src/share/classes/sun/net/www/http/ChunkedOutputStream.java

Changeset: 24a31530683d
Author:    emcmanus
Date:      2008-11-27 15:44 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/24a31530683d

6776225: JMX.isNotificationSource wrong when DynamicWrapperMBean + SendNotification injection
Reviewed-by: dfuchs, jfdenise

! src/share/classes/com/sun/jmx/mbeanserver/MBeanIntrospector.java
! src/share/classes/javax/management/JMX.java
! src/share/classes/javax/management/StandardEmitterMBean.java
! src/share/classes/javax/management/StandardMBean.java
! test/javax/management/MBeanServer/DynamicWrapperMBeanTest.java

Changeset: 3d110bb4dc19
Author:    sherman
Date:      2008-11-29 20:55 -0800
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/3d110bb4dc19

6725399: (ch) Channels.newInputStream should check for null
Summary: update to check null arg for all Channels methods
Reviewed-by: alanb

! src/share/classes/java/nio/channels/Channels.java
! test/java/nio/channels/Channels/Basic.java

Changeset: 4e0e690373fc
Author:    wetmore
Date:      2008-12-02 14:53 -0800
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/4e0e690373fc

6778613: Update javax.crypto.Cipher.getMaxAllowedKeyLength to point to proper Appendix after doc reorg
Reviewed-by: mullan

! src/share/classes/javax/crypto/Cipher.java

Changeset: 228e54926ab1
Author:    alanb
Date:      2008-12-03 16:55 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/228e54926ab1

Merge

! src/share/classes/java/nio/channels/Channels.java

Changeset: edc22afa1fd7
Author:    alanb
Date:      2008-12-03 18:21 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/edc22afa1fd7

Inputs/Outputs update:
- write bounds check incorrect
- example in javadoc incorrect
- improve test coverage

! src/share/classes/java/io/Inputs.java
! src/share/classes/java/io/Outputs.java
+ test/java/io/Outputs/Basic.java

Changeset: 991f0bd1bb68
Author:    alanb
Date:      2008-12-03 18:57 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/991f0bd1bb68

Multicast spec improvements
- MulticastChannel#close should make it clear that keys are invalidated
- MembershipKey#drop/unblock do not need to throw IOException

! src/share/classes/java/nio/channels/MembershipKey.java
! src/share/classes/java/nio/channels/MulticastChannel.java
! src/share/classes/sun/nio/ch/DatagramChannelImpl.java
! src/share/classes/sun/nio/ch/MembershipKeyImpl.java
! src/share/classes/sun/nio/ch/SimpleAsynchronousDatagramChannelImpl.java

Changeset: e213c2231eef
Author:    alanb
Date:      2008-12-04 14:14 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/e213c2231eef

Misc. small clean-ups and fixes
- AbstractPath under-specified
- AsynchronousDatagramChannel missing wording to allow several I/O operations to be outstanding
- Add AsynchronousChannelGroup.withThreadPool to that other thread pools can be used
- Improve polling WatchService implementation used in older kernels
- Channels missing a few null checks
- Files.walkFileTree ignores max depth
- Improve FileTypeDetector permission check
- FILES_java.gmk missing a few classes
- Improve parsing of OpenOptions on Windows
- Filter.accept should not be invoked by newDirectoryStream or iterator methods
- Drop ability to build on Solaris 8/9

! make/java/nio/FILES_java.gmk
+ src/share/classes/com/sun/nio/file/SensitivityWatchEventModifier.java
! src/share/classes/java/nio/channels/AsynchronousChannelGroup.java
! src/share/classes/java/nio/channels/AsynchronousDatagramChannel.java
! src/share/classes/java/nio/channels/Channels.java
! src/share/classes/java/nio/channels/spi/AsynchronousChannelProvider.java
! src/share/classes/java/nio/file/FileSystems.java
! src/share/classes/java/nio/file/Files.java
! src/share/classes/java/nio/file/Path.java
! src/share/classes/java/nio/file/Paths.java
! src/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
! src/share/classes/java/nio/file/spi/AbstractPath.java
! src/share/classes/java/nio/file/spi/FileTypeDetector.java
! src/share/classes/sun/nio/ch/AsynchronousChannelGroupImpl.java
! src/share/classes/sun/nio/ch/AsynchronousServerSocketChannelImpl.java
! src/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java
! src/share/classes/sun/nio/ch/Invoker.java
! src/share/classes/sun/nio/ch/ServerSocketChannelImpl.java
! src/share/classes/sun/nio/ch/SimpleAsynchronousDatagramChannelImpl.java
! src/share/classes/sun/nio/ch/SimpleAsynchronousFileChannelImpl.java
! src/share/classes/sun/nio/ch/SocketChannelImpl.java
! src/share/classes/sun/nio/ch/ThreadPool.java
! src/share/classes/sun/nio/fs/PollingWatchService.java
! src/solaris/classes/sun/nio/ch/LinuxAsynchronousChannelProvider.java
! src/solaris/classes/sun/nio/ch/SolarisAsynchronousChannelProvider.java
! src/solaris/classes/sun/nio/ch/UnixAsynchronousServerSocketChannelImpl.java
! src/solaris/classes/sun/nio/ch/UnixAsynchronousSocketChannelImpl.java
! src/solaris/classes/sun/nio/fs/LinuxDosFileAttributeView.java
! src/solaris/classes/sun/nio/fs/LinuxFileSystem.java
! src/solaris/classes/sun/nio/fs/LinuxWatchService.java
! src/solaris/classes/sun/nio/fs/SolarisFileStore.java
! src/solaris/classes/sun/nio/fs/SolarisFileSystem.java
! src/solaris/classes/sun/nio/fs/SolarisWatchService.java
! src/solaris/classes/sun/nio/fs/UnixChannelFactory.java
! src/solaris/classes/sun/nio/fs/UnixFileSystem.java
! src/solaris/classes/sun/nio/fs/UnixFileSystemProvider.java
! src/solaris/native/sun/nio/ch/SolarisEventPort.c
! src/solaris/native/sun/nio/fs/SolarisWatchService.c
! src/windows/classes/sun/nio/ch/WindowsAsynchronousChannelProvider.java
! src/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java
! src/windows/classes/sun/nio/fs/WindowsChannelFactory.java
! src/windows/classes/sun/nio/fs/WindowsConstants.java
! src/windows/classes/sun/nio/fs/WindowsDirectoryStream.java
! src/windows/classes/sun/nio/fs/WindowsFileAttributeViews.java
! src/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java
! src/windows/classes/sun/nio/fs/WindowsWatchService.java
! test/java/nio/channels/AsynchronousChannelGroup/AsExecutor.java
+ test/java/nio/channels/AsynchronousChannelGroup/BadProperties.java
! test/java/nio/channels/AsynchronousChannelGroup/Basic.java
! test/java/nio/channels/AsynchronousChannelGroup/GroupOfOne.java
! test/java/nio/channels/AsynchronousChannelGroup/Identity.java
! test/java/nio/channels/AsynchronousChannelGroup/Restart.java
! test/java/nio/channels/spi/AsynchronousChannelProvider/Provider1.java
! test/java/nio/channels/spi/AsynchronousChannelProvider/Provider2.java
+ test/java/nio/file/WatchService/SensitivityModifier.java

Changeset: d659b857c41a
Author:    alanb
Date:      2008-12-04 20:21 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/d659b857c41a

Improvements to path matching
- Extend to full path matching
- Rename getNameMatcher to getPathMatcher
  (one argument for now; will re-visit in future)
- Add support for ** token to cross directory boundaries

! src/share/classes/java/nio/file/FileSystem.java
! src/share/classes/java/nio/file/Files.java
! src/share/classes/java/nio/file/Path.java
! src/share/classes/java/nio/file/PathMatcher.java
! src/share/classes/java/nio/file/spi/AbstractPath.java
! src/share/classes/sun/nio/fs/Globs.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileSystem.java
! src/solaris/classes/sun/nio/fs/UnixFileSystem.java
! src/windows/classes/sun/nio/fs/WindowsFileSystem.java
! test/java/nio/file/DirectoryStream/Basic.java
! test/java/nio/file/DirectoryStream/Filters.java
! test/java/nio/file/PathMatcher/Basic.java
! test/java/nio/file/spi/TestProvider.java

Changeset: d72631c01607
Author:    alanb
Date:      2008-12-06 09:56 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/d72631c01607

Example usage in Path#register confusing
(thanks to Matthias Ernst for finding this)

! src/share/classes/java/nio/file/Path.java

Changeset: c7991d8c2b7e
Author:    alanb
Date:      2008-12-06 10:01 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/c7991d8c2b7e

Typos/re-phrase statements
(Thanks to Sherman for finding these)

! src/share/classes/java/nio/channels/AsynchronousByteChannel.java
! src/share/classes/java/nio/channels/AsynchronousChannelGroup.java
! src/share/classes/java/nio/channels/AsynchronousDatagramChannel.java
! src/share/classes/java/nio/channels/CompletionHandler.java
! src/share/classes/java/nio/file/WatchKey.java
! src/share/classes/java/nio/file/WatchService.java

Changeset: a99a2d2f3249
Author:    dfuchs
Date:      2008-12-04 17:58 +0100
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/a99a2d2f3249

6319823: new mbean register/unregister notification for groups of mbeans
6779698: Merge error caused duplicate example code in MBeanServerNotification
Reviewed-by: emcmanus

! src/share/classes/javax/management/MBeanServerNotification.java

Changeset: 87170fc5a587
Author:    mchung
Date:      2008-12-05 10:28 -0800
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/87170fc5a587

6764062: Revise usage of java.io.*.close
Summary: Handle closing multiple open I/O streams in case close() throws IOException
Reviewed-by: ksrini

! src/share/classes/com/sun/servicetag/Installer.java
! src/share/classes/com/sun/servicetag/SunConnection.java
! src/share/classes/com/sun/servicetag/Util.java
! src/share/classes/com/sun/servicetag/WindowsSystemEnvironment.java

Changeset: baa10242c544
Author:    mchung
Date:      2008-12-05 10:30 -0800
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/baa10242c544

6750389: The cpuManufactorer does not correctly recognized for Solaris 10
Summary: Fix the correct SMBIOS type (4) to obtain CPU manufacturer
Reviewed-by: ksrini

! src/share/classes/com/sun/servicetag/SolarisSystemEnvironment.java

Changeset: 11abb109aca2
Author:    alanb
Date:      2008-12-06 10:03 +0000
URL:       http://hg.openjdk.java.net/nio/nio/jdk/rev/11abb109aca2

Merge





More information about the nio-dev mailing list