From Rajendra.Gutupalli at Sun.COM Mon Aug 4 02:58:50 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Mon, 04 Aug 2008 15:28:50 +0530
Subject: Is Path object equals to DirectoryEntry object?
Message-ID: <4896D2DA.8080802@sun.com>
Hi Alan,
I noticed path.equals(directory entry object) returning true when path
and directory entry objects represents same file.
Please see the following code where c:\\testfolder contains only one
file ie. 'onefile'. Could you please let me know whether the observed
behavior satisfies the spec
where it says "If the given object is not a Path, or is a Path
associated with a different provider, then this method immediately
returns false.".
import java.nio.file.*;
public class TestEquals {
public static void main(String... args) throws Exception{
final Path path = Paths.get("c:\\testfolder\\onefile");
Path start = Paths.get("c:\\testfolder");
DirectoryStream ds = start.newDirectoryStream("*");
for (DirectoryEntry de :ds){
System.out.println("Path object ~ DirectoryEntry object ->"
+path.equals(de));
}
}
}
when run:
Path object ~ DirectoryEntry object ->true
Thanks
Rajendra.
From Alan.Bateman at Sun.COM Mon Aug 4 04:21:40 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Mon, 04 Aug 2008 12:21:40 +0100
Subject: Is Path object equals to DirectoryEntry object?
In-Reply-To: <4896D2DA.8080802@sun.com>
References: <4896D2DA.8080802@sun.com>
Message-ID: <4896E644.10801@sun.com>
Rajendra Gutupalli wrote:
> Hi Alan,
>
> I noticed path.equals(directory entry object) returning true when path
> and directory entry objects represents same file.
> Please see the following code where c:\\testfolder contains only one
> file ie. 'onefile'. Could you please let me know whether the observed
> behavior satisfies the spec
> where it says "If the given object is not a Path, or is a Path
> associated with a different provider, then this method immediately
> returns false.".
Yes, this is okay. You are locating the directory by Path and the
result directory entries are also Paths (to satisfy yourself you can
test that they are indeed instanceof Path).
-Alan.
From Rajendra.Gutupalli at Sun.COM Mon Aug 4 09:56:05 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Mon, 04 Aug 2008 22:26:05 +0530
Subject: failed to delete an empty folder while traversing
Files.walkFileTree()(win)
Message-ID: <489734A5.2040803@sun.com>
Hi Alan,
I don't know the exact behavior here but I am just wondering why the
exception is being thrown only in Windows.
Here I am creating a folder and passed this empty folder to
Files.walkFileTree(). In preVisitDirectory() when I try to delete this
empty folder I got exception saying the file is being
opened by another process. There is no other process opened this folder.
It is newly created empty folder. Is it okay to throw this exception?
java.nio.file.FileSystemException: folder: The process cannot access the
file because it is being used by another process.
at
sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at
sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsPath.delete(WindowsPath.java:771)
at
adhoc.TestWFT$CustomFileVisitor2.preVisitDirectory(TestWFT.java:44)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:167)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:58)
at java.nio.file.Files.walkFileTree(Files.java:392)
at java.nio.file.Files.walkFileTree(Files.java:416)
at adhoc.TestWFT.test(TestWFT.java:27)
at adhoc.TestWFT.main(TestWFT.java:19)
import java.io.IOException;
import java.nio.file.*;
import static java.nio.file.FileVisitResult.*;
import java.nio.file.attribute.*;
public class TestWFT {
public static void main(String... args) {
TestWFT.test();
}
private static void test() {
Path path = Paths.get("folder");
try {
path.createDirectory();
Files.walkFileTree(path, new CustomFileVisitor2());
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
path.delete(true);
} catch (IOException e) {
e.printStackTrace();
}
}
}
static class CustomFileVisitor2 implements FileVisitor {
public FileVisitResult preVisitDirectory(FileRef dir, Path
relPath) {
try {
dir.delete(true);
} catch (IOException e) {
e.printStackTrace();
}
return CONTINUE;
}
public FileVisitResult visitFile(FileRef file, Path relPath,
BasicFileAttributes attrs) {
return CONTINUE;
}
public FileVisitResult postVisitDirectory(FileRef dir, Path
relPath) {
return CONTINUE;
}
public FileVisitResult visitFileFailed(FileRef file, Path
relPath, IOException exc) {
return CONTINUE;
}
public FileVisitResult visitDirectoryFailed(FileRef dir, Path
relPath, IOException exc) {
return CONTINUE;
}
}
}
Thanks
Rajendra..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20080804/fac89380/attachment.html
From Alan.Bateman at Sun.COM Mon Aug 4 10:38:07 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Mon, 04 Aug 2008 18:38:07 +0100
Subject: failed to delete an empty folder while traversing
Files.walkFileTree()(win)
In-Reply-To: <489734A5.2040803@sun.com>
References: <489734A5.2040803@sun.com>
Message-ID: <48973E7F.4000409@sun.com>
Rajendra Gutupalli wrote:
> Hi Alan,
>
> I don't know the exact behavior here but I am just wondering why the
> exception is being thrown only in Windows.
> Here I am creating a folder and passed this empty folder to
> Files.walkFileTree(). In preVisitDirectory() when I try to delete this
> empty folder I got exception saying the file is being
> opened by another process. There is no other process opened this
> folder. It is newly created empty folder. Is it okay to throw this
> exception?
>
>
> java.nio.file.FileSystemException: folder: The process cannot access
> the file because it is being used by another process.
Windows doesn't allow directories that have an open search handle to be
deleted. I don't think we can do anything about it. In this case, a
search handle is open until all the entries in the directory have been
visited. Are you trying to do a recursive delete? If so, then the usual
way to do this is to delete the directory after you have deleted all its
entries - ie: move the the delete from the preVisitDirectory to the
postVisitDirectory method and is should work as expected.
-Alan.
From Rajendra.Gutupalli at Sun.COM Tue Aug 5 06:46:05 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Tue, 05 Aug 2008 19:16:05 +0530
Subject: Files.walkFileTree does not enumerate files which are created while
traversing (Win)
Message-ID: <4898599D.9050504@sun.com>
Hi Alan,
I have tried to see whether Files.walkFileTree() lists the files which
are created while traversing a directory. In preVisitDirectory() method
I have created a file to see whether visistFile() methods gets a hit for
the newly created file. In Solaris and Linux the visitFile() method is
called for the newly created file but in Windows it does not get called.
Please see the following result and code in Linux and Windows XP. In
Windows XP I got the DNEE since the created a file is not deleted in
visistFile() method and I am trying to delete the directory in
postVisitDirectory.
C:\build\classes>java adhoc.TreeTest04
pre dir TestDir
post dir TestDir
java.nio.file.DirectoryNotEmptyException: TestDir
at sun.nio.fs.WindowsPath.delete(WindowsPath.java:767)
at
adhoc.TreeTest04$MyFileVisitor.postVisitDirectory(TreeTest04.java:63)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:196)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:58)
at java.nio.file.Files.walkFileTree(Files.java:392)
at adhoc.TreeTest04.test01(TreeTest04.java:31)
at adhoc.TreeTest04.main(TreeTest04.java:23)
bash-3.00$ ./jdk1.7.0/bin/java TreeTest04
pre dir TestDir
visit file TestDir/testfile
post dir TestDir
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.EnumSet;
import java.util.Set;
import static java.nio.file.FileVisitResult.*;
import static java.nio.file.FileVisitOption.*;
public class TreeTest04 {
public static void main(String... args) {
TreeTest04.test01();
}
private static void test01() {
Path path = Paths.get("TestDir");
try {
path.createDirectory();
Set visitOpts = EnumSet.of(DETECT_LOOPS,
FOLLOW_LINKS);
Files.walkFileTree(path, visitOpts, -1, new MyFileVisitor());
} catch (IOException e) {
e.printStackTrace();
}
}
static class MyFileVisitor implements FileVisitor {
public FileVisitResult preVisitDirectory(FileRef dir, Path
relPath) {
System.out.println("pre dir " + dir);
Path file = ((Path) dir).resolve("testfile");
try {
file.createFile();
} catch (IOException e) {
e.printStackTrace();
}
return CONTINUE;
}
public FileVisitResult visitFile(FileRef file, Path relPath,
BasicFileAttributes attrs) {
System.out.println("visit file " + file);
try {
file.delete(true);
}catch(IOException e){
e.printStackTrace();
}
return CONTINUE;
}
public FileVisitResult postVisitDirectory(FileRef dir, Path
relPath) {
System.out.println("post dir " + dir);
try {
dir.delete(true);
} catch (IOException e) {
e.printStackTrace();
}
return CONTINUE;
}
public FileVisitResult visitFileFailed(FileRef file, Path
relPath, IOException exc) {
System.out.println("file failed " + file);
exc.printStackTrace();
return CONTINUE;
}
public FileVisitResult visitDirectoryFailed(FileRef dir, Path
relPath, IOException exc) {
System.out.println("pre dir " + dir);
return CONTINUE;
}
}
}
Thanks
Rajendra.
From Alan.Bateman at Sun.COM Tue Aug 5 08:28:47 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Tue, 05 Aug 2008 16:28:47 +0100
Subject: Files.walkFileTree does not enumerate files which are created
while traversing (Win)
In-Reply-To: <4898599D.9050504@sun.com>
References: <4898599D.9050504@sun.com>
Message-ID: <489871AF.5030800@sun.com>
Rajendra Gutupalli wrote:
> Hi Alan,
>
> I have tried to see whether Files.walkFileTree() lists the files which
> are created while traversing a directory. In preVisitDirectory()
> method I have created a file to see whether visistFile() methods gets
> a hit for the newly created file. In Solaris and Linux the visitFile()
> method is called for the newly created file but in Windows it does not
> get called.
The walkFileTree utility method is an internal iterator that makes use
of iterators obtained from directory streams. These iterators are
specified (in DirectoryStream) to be "weakly consistent" and may not
reflect updates to the directory after the directory is opened. So the
different behavior you observe is allowed (and I'm impressed that you
find these issues). Anyway, the reason for the difference is that the
underlying implementation is very different. On Windows then information
for the "first" file is returned when the directory is opened and the
search handle obtained. This creates a difference for the case that the
directory is initially empty; if you create the directory in a non-empty
directory then you'll see it will be returned by the iterator.
-Alan.
From Rajendra.Gutupalli at Sun.COM Wed Aug 6 01:26:41 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Wed, 06 Aug 2008 13:56:41 +0530
Subject: Files.walkFileTree() visits a file leading to a loop with LOOP_DETECT
option enabled
Message-ID: <48996041.9060403@Sun.Com>
Hi Alan,
I have a entry in directory structure that references ancestor of the
directory (this is a loop according to spec) but still it is being
visited by Files.walkFileTree().
I created a directory structure as follows. /java/DirA/dirClink is a
link file which points to /java/DirB/DirC and /java/DirB/DirC/dirBlink
points to /java/DirB.
Actually if there is link which points to ancestor that is not being
visited by Files.walkFileTree(). Here is the scenario where it visits.
Directory Structure:
/java
DirA
dirClink -> /java/DirB/DirC
DirB
DirC
dirBlink -> /java/DirB/ (This is the link which
should not be visited at all)
When I run code with all FileVisitOptions, I got the following print
bash-3.00$ ./jdk1.7.0/bin/java TreeTest03 /java/DirA
pre dir /java/DirA
pre dir /java/DirA/dirClink
pre dir /java/DirA/dirClink/dirBlink
post dir /java/DirA/dirClink/dirBlink
post dir /java/DirA/dirClink
post dir /java/DirA
So my query here is- Should pre and post VisitDirectory() be opened for
the loop file /java/DirA/dirClink/dirBlink?
>> when I run the code with /java/DirB input , then the pre and post
VisitDirectory() methods will not be called for the loop file
/java/DirB/dirBlink
bash-3.00$ ./jdk1.7.0/bin/java TreeTest03 /java/DirB
pre dir /java/DirB
pre dir /java/DirB/DirC
post dir /java/DirB/DirC
post dir /java/DirB
Thanks
Rajendra.
From Alan.Bateman at Sun.COM Wed Aug 6 11:24:06 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Wed, 06 Aug 2008 19:24:06 +0100
Subject: Support for hardlinks in Windows XP?
In-Reply-To: <487C5445.5060001@sun.com>
References: <487B294A.8020109@sun.com> <487B3CAA.5000608@sun.com>
<487C5445.5060001@sun.com>
Message-ID: <4899EC46.2030800@sun.com>
Rajendra Gutupalli wrote:
> Alan, I tried in Windows Vista 64 bit machine. Yes I observed
> Path#createSymbolicLink() returns silently.
The Microsoft folks phoned me back today on this and it turns out to be
a SDK documentation rather than kernel bug. The call is documented to
return a BOOL (= int) but it actually returns a BOOLEAN (= unsigned
char) so this explains why we see the problem on 64-bit. I'll get the
fix into the next build.
-Alan.
From Alan.Bateman at Sun.COM Thu Aug 7 01:42:07 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Thu, 07 Aug 2008 09:42:07 +0100
Subject: Files.walkFileTree() visits a file leading to a loop with
LOOP_DETECT option enabled
In-Reply-To: <48996041.9060403@Sun.Com>
References: <48996041.9060403@Sun.Com>
Message-ID: <489AB55F.4030500@sun.com>
Rajendra Gutupalli wrote:
> Hi Alan,
>
> I have a entry in directory structure that references ancestor of the
> directory (this is a loop according to spec) but still it is being
> visited by Files.walkFileTree().
> I created a directory structure as follows. /java/DirA/dirClink is a
> link file which points to /java/DirB/DirC and /java/DirB/DirC/dirBlink
> points to /java/DirB.
> Actually if there is link which points to ancestor that is not being
> visited by Files.walkFileTree(). Here is the scenario where it visits.
>
> Directory Structure:
> /java
> DirA
> dirClink -> /java/DirB/DirC
> DirB
> DirC
> dirBlink -> /java/DirB/ (This is the link which
> should not be visited at all)
>
> When I run code with all FileVisitOptions, I got the following print
>
> bash-3.00$ ./jdk1.7.0/bin/java TreeTest03 /java/DirA
> pre dir /java/DirA
> pre dir /java/DirA/dirClink
> pre dir /java/DirA/dirClink/dirBlink post dir
> /java/DirA/dirClink/dirBlink
> post dir /java/DirA/dirClink
> post dir /java/DirA
>
> So my query here is- Should pre and post VisitDirectory() be opened
> for the loop file /java/DirA/dirClink/dirBlink?
>
> >> when I run the code with /java/DirB input , then the pre and post
> VisitDirectory() methods will not be called for the loop file
> /java/DirB/dirBlink
>
> bash-3.00$ ./jdk1.7.0/bin/java TreeTest03 /java/DirB
> pre dir /java/DirB
> pre dir /java/DirB/DirC
> post dir /java/DirB/DirC
> post dir /java/DirB
The cycles in this directory structure do indeed highlight a problem.
The cycles are correctly detected but the "skipped" directories aren't
notified to the FileVisitor (this is a bug in the Files.walkFileTree's
spec). In a recursive copy for example, which follows sym links by
default, then the notification can be minimally used to report a warning
(like what "cp -r" would do for such cases). Here's what you should get
for this:
(pre) java
(pre) java/DirA
(pre) java/DirA/dirClink
(pre) java/DirA/dirClink/dirBlink
(skip) java/DirA/dirClink/dirBlink/DirC
(post) java/DirA/dirClink/dirBlink
(post) java/DirA/dirClink
(post) java/DirA
(pre) java/DirB
(pre) java/DirB/DirC
(skip) java/DirB/DirC/dirBlink
(post) java/DirB/DirC
(post) java/DirB
(post) java
The lines with "(skip)" are where a cycle is detected and aren't
(currently) notified to you.
-Alan.
From alan.bateman at sun.com Thu Aug 7 07:54:23 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Thu, 07 Aug 2008 14:54:23 +0000
Subject: hg: nio/nio/corba: 2 new changesets
Message-ID: <20080807145425.56CC0D563@hg.openjdk.java.net>
Changeset: e9dad83f035c
Author: ohair
Date: 2008-08-01 13:37 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/e9dad83f035c
6732815: CORBA_2_3 java sources not explicitly compiled
Reviewed-by: tbell
! make/org/omg/CORBA/Makefile
Changeset: 6e0cf0dc59e5
Author: ohair
Date: 2008-08-06 14:30 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/6e0cf0dc59e5
6734545: Corrections to missing explicit corba sources on javac compile lines
Reviewed-by: tbell
! make/com/sun/corba/minclude/com_sun_corba_se_impl_dynamicany.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_impl_encoding.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_impl_ior.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_impl_orbutil.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_impl_protocol.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_spi_legacy_interceptor.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_spi_monitoring.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_spi_presentation_rmi.jmk
! make/com/sun/corba/minclude/com_sun_corba_se_spi_transport.jmk
! make/com/sun/corba/minclude/org_omg_CosNaming.jmk
! make/com/sun/corba/minclude/org_omg_DynamicAny.jmk
! make/com/sun/corba/minclude/org_omg_PortableInterceptor.jmk
! make/com/sun/corba/se/sources/Makefile
! make/javax/xa/Makefile
! make/org/omg/CORBA/Makefile
From alan.bateman at sun.com Thu Aug 7 07:55:26 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Thu, 07 Aug 2008 14:55:26 +0000
Subject: hg: nio/nio/jdk: 19 new changesets
Message-ID: <20080807145914.71D48D573@hg.openjdk.java.net>
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
From alan.bateman at sun.com Thu Aug 7 07:59:40 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Thu, 07 Aug 2008 14:59:40 +0000
Subject: hg: nio/nio/langtools: 5 new changesets
Message-ID: <20080807145948.95F73D578@hg.openjdk.java.net>
Changeset: 3437676858e3
Author: jjg
Date: 2008-08-01 15:23 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/3437676858e3
6627362: javac generates code that uses array.clone, which is not available on JavaCard
6627364: javac needs Float and Double on the bootclasspath even when not directly used
6627366: javac needs Cloneable and Serializable on the classpath even when not directly used
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! test/tools/javac/5045412/Bar.java
! test/tools/javac/5045412/Foo.java
- test/tools/javac/5045412/out
+ test/tools/javac/6627362/T6627362.java
+ test/tools/javac/6627362/x/E.java
+ test/tools/javac/6627362/x/Object.java
+ test/tools/javac/synthesize/Boolean.java
+ test/tools/javac/synthesize/Byte.java
+ test/tools/javac/synthesize/Character.java
+ test/tools/javac/synthesize/Cloneable.java
+ test/tools/javac/synthesize/Double.java
+ test/tools/javac/synthesize/Float.java
+ test/tools/javac/synthesize/Integer.java
+ test/tools/javac/synthesize/Long.java
+ test/tools/javac/synthesize/Main.java
+ test/tools/javac/synthesize/Number.java
+ test/tools/javac/synthesize/Object.java
+ test/tools/javac/synthesize/Serializable.java
+ test/tools/javac/synthesize/Short.java
+ test/tools/javac/synthesize/Test.java
+ test/tools/javac/synthesize/Void.java
Changeset: fd1d361ae294
Author: jjg
Date: 2008-08-04 15:09 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/fd1d361ae294
4111861: static final field contents are not displayed
Reviewed-by: ksrini
! src/share/classes/com/sun/tools/javap/ClassWriter.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/Options.java
! src/share/classes/com/sun/tools/javap/resources/javap.properties
+ test/tools/javap/4111861/A.java
+ test/tools/javap/4111861/T4111861.java
Changeset: 05684554f040
Author: jjg
Date: 2008-08-04 17:54 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/05684554f040
4884240: additional option required for javap
Reviewed-by: ksrini
! src/share/classes/com/sun/tools/javap/ClassWriter.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! src/share/classes/com/sun/tools/javap/Options.java
! src/share/classes/com/sun/tools/javap/resources/javap.properties
+ test/tools/javap/T4884240.java
! test/tools/javap/T6622260.java
Changeset: b6d5f53b3b29
Author: mcimadamore
Date: 2008-08-05 12:54 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/b6d5f53b3b29
6730423: Diagnostic formatter should be an instance field of JCDiagnostic
Summary: JCDiagnostic.fragment should be deprecated and the diagnostic factory should be used instead
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
Changeset: 6be961ee2290
Author: jjg
Date: 2008-08-05 17:07 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/6be961ee2290
6733995: legal notice repair on langtools/src/share/classes/com/sun/tools/javap/JavapTask.java
Reviewed-by: ksrini
! src/share/classes/com/sun/tools/javap/JavapTask.java
From Rajendra.Gutupalli at Sun.COM Fri Aug 8 00:17:13 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Fri, 08 Aug 2008 12:47:13 +0530
Subject: Files.walkFileTree() visits a file leading to a loop with
LOOP_DETECT option enabled
In-Reply-To: <489AB55F.4030500@sun.com>
References: <48996041.9060403@Sun.Com> <489AB55F.4030500@sun.com>
Message-ID: <489BF2F9.4030008@Sun.Com>
Alan Bateman wrote:
>
> The lines with "(skip)" are where a cycle is detected and aren't
> (currently) notified to you.
Hi Alan, with the fix you have given I got the output for the following
directory structure.Now all the cycles are getting notified
/java
Start
DirP
DirQ
DirT
dirVlink - > Start/DirP/DirV
DirV
start_link -> /java/Start
dirTlink_forward -> Start/DirP/DirQ/DirT
DirJ
dirjfile
output: Files.walkFileTree(Paths.get("/java"),
EnuSet.allOf(FileVisitOption.class),-1,new MyFileVisitor());
(pre) /java/Start
(pre) /java/Start/DirP
(pre) /java/Start/DirP/DirQ
(pre) /java/Start/DirP/DirQ/DirT
(pre) /java/Start/DirP/DirQ/DirT/dirVlink
(visit file) /java/Start/DirP/DirQ/DirT/dirVlink/start_link
(post) /java/Start/DirP/DirQ/DirT/dirVlink
(post) /java/Start/DirP/DirQ/DirT
(post) /java/Start/DirP/DirQ
(pre) /java/Start/DirP/DirV
(visit file) /java/Start/DirP/DirV/start_link
(post) /java/Start/DirP/DirV
(pre) /java/Start/DirP/dirTlink_forward
(pre) /java/Start/DirP/dirTlink_forward/dirVlink
(visit file) /java/Start/DirP/dirTlink_forward/dirVlink/start_link
(post) /java/Start/DirP/dirTlink_forward/dirVlink
(post) /java/Start/DirP/dirTlink_forward
(post) /java/Start/DirP
(pre) /java/Start/DirJ
(visit file) /java/Start/DirJ/dirjfile
(post) /java/Start/DirJ
(post) /java/Start
ls -lR report
bash-3.00$ ls -lR /java/Start/
/java/Start/:
total 4
drwxrwxrwx 2 rg157576 staff 512 Aug 8 12:08 DirJ
drwxrwxrwx 4 rg157576 staff 512 Aug 8 12:05 DirP
/java/Start/DirJ:
total 0
-rw-rw-rw- 1 rg157576 staff 0 Aug 8 12:08 dirjfile
/java/Start/DirP:
total 6
drwxrwxrwx 3 rg157576 staff 512 Aug 8 11:57 DirQ
drwxrwxrwx 2 rg157576 staff 512 Aug 8 12:07 DirV
lrwxrwxrwx 1 rg157576 staff 27 Aug 8 12:05 dirTlink_forward
-> /java/Start/DirP/DirQ/DirT/
/java/Start/DirP/DirQ:
total 2
drwxrwxrwx 2 rg157576 staff 512 Aug 8 12:06 DirT
/java/Start/DirP/DirQ/DirT:
total 2
lrwxrwxrwx 1 rg157576 staff 22 Aug 8 12:06 dirVlink ->
/java/Start/DirP/DirV/
/java/Start/DirP/DirV:
total 2
lrwxrwxrwx 1 rg157576 staff 12 Aug 8 12:07 start_link ->
/java/Start/
Thanks
Rajendra.
From Rajendra.Gutupalli at Sun.COM Fri Aug 8 02:56:18 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Fri, 08 Aug 2008 15:26:18 +0530
Subject: walkFileTree() does not throw NPE for null FileVisitOption
Message-ID: <489C1842.9020602@sun.com>
Hi Alan,
I added null value to the set of FileVisitOption and passed it as an
argument to Files.walkFileTree(). Right now it works without throwing NPE.
Should the following code throw NPE or ignore null value?
Set visitOpts = new HashSet();
visitOpts.add(null);
Files.walkFileTree(path, visitOpts, -1, new MyFileVisitor());
Usually if we pass array/set of open/copy options which contain null
value then the respective method (moveTo/newSeekableChannel ..) throws NPE.
Thanks
Rajendra
From Rajendra.Gutupalli at Sun.COM Fri Aug 8 05:01:38 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Fri, 08 Aug 2008 17:31:38 +0530
Subject: meaning of PRUNE in FileVisitor.visitFile() ?
Message-ID: <489C35A2.3030204@sun.com>
Hi Alan,
The spec for PRUNE says "Continue without visiting the entries in this
directory. This result is only meaningful when returned from the
preVisitDirectory method; otherwise this result type is the same as
returning CONTINUE.". Does the PRUNE work in visitFile() method as
"Continue without visiting 'remaining' entries in the directory". Now it
treats PRUNE as CONTINUE in visitFile() method. Could you please tell me
how can we continue from visiting the remaining entries of the directory?
Thanks
Rajendra.
From Alan.Bateman at Sun.COM Fri Aug 8 06:36:42 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Fri, 08 Aug 2008 14:36:42 +0100
Subject: walkFileTree() does not throw NPE for null FileVisitOption
In-Reply-To: <489C1842.9020602@sun.com>
References: <489C1842.9020602@sun.com>
Message-ID: <489C4BEA.6030205@sun.com>
Rajendra Gutupalli wrote:
> Hi Alan,
>
> I added null value to the set of FileVisitOption and passed it as an
> argument to Files.walkFileTree(). Right now it works without throwing
> NPE.
> Should the following code throw NPE or ignore null value?
>
> Set visitOpts = new HashSet();
> visitOpts.add(null);
> Files.walkFileTree(path, visitOpts, -1, new MyFileVisitor());
>
> Usually if we pass array/set of open/copy options which contain null
> value then the respective method (moveTo/newSeekableChannel ..) throws
> NPE.
There's a section in the package description to specify that the default
behavior (ie: unless otherwise specified) is that NPE is thrown if a
method is invoked with a null parameter or with a collection that
contains null. I'll fix this for the next build - thanks!
-Alan.
From Alan.Bateman at Sun.COM Fri Aug 8 06:59:00 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Fri, 08 Aug 2008 14:59:00 +0100
Subject: meaning of PRUNE in FileVisitor.visitFile() ?
In-Reply-To: <489C35A2.3030204@sun.com>
References: <489C35A2.3030204@sun.com>
Message-ID: <489C5124.1020708@sun.com>
Rajendra Gutupalli wrote:
> Hi Alan,
>
> The spec for PRUNE says "Continue without visiting the entries in this
> directory. This result is only meaningful when returned from the
> preVisitDirectory method; otherwise this result type is the same as
> returning CONTINUE.". Does the PRUNE work in visitFile() method as
> "Continue without visiting 'remaining' entries in the directory". Now
> it treats PRUNE as CONTINUE in visitFile() method. Could you please
> tell me how can we continue from visiting the remaining entries of the
> directory?
Do you have any examples of where this would be used? It would be
straight-forward (actually trivial) to add a SKIP_SIBLINGS option if
needed.
-Alan.
From Rajendra.Gutupalli at Sun.COM Fri Aug 8 09:26:29 2008
From: Rajendra.Gutupalli at Sun.COM (Rajendra Gutupalli)
Date: Fri, 08 Aug 2008 21:56:29 +0530
Subject: meaning of PRUNE in FileVisitor.visitFile() ?
In-Reply-To: <489C5124.1020708@sun.com>
References: <489C35A2.3030204@sun.com> <489C5124.1020708@sun.com>
Message-ID: <489C73B5.8090504@sun.com>
Alan Bateman wrote:
> Rajendra Gutupalli wrote:
>> Hi Alan,
>>
>> The spec for PRUNE says "Continue without visiting the entries in
>> this directory. This result is only meaningful when returned from the
>> preVisitDirectory method; otherwise this result type is the same as
>> returning CONTINUE.". Does the PRUNE work in visitFile() method as
>> "Continue without visiting 'remaining' entries in the directory". Now
>> it treats PRUNE as CONTINUE in visitFile() method. Could you please
>> tell me how can we continue from visiting the remaining entries of
>> the directory?
> Do you have any examples of where this would be used? It would be
> straight-forward (actually trivial) to add a SKIP_SIBLINGS option if
> needed.
Alan, I was just thinking about the flexibility of usage. During
traversing of a directory structure one might want to skip the entries
in directory (after visiting some entries) and move on to other
directory . For example if I am looking for a specific kind of a file in
a each directory and if I found that file then I might not need to visit
the remaining files.
Thanks
Rajendra.
From alan.bateman at sun.com Sat Aug 9 03:41:15 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 09 Aug 2008 10:41:15 +0000
Subject: hg: nio/nio/jdk: 12 new changesets
Message-ID: <20080809104339.15AFFDBE5@hg.openjdk.java.net>
Changeset: 659b74b5373f
Author: martin
Date: 2008-08-07 06:36 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/659b74b5373f
6730507: java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
Reviewed-by: chegar
! src/share/classes/java/util/Timer.java
+ test/java/util/Timer/DelayOverflow.java
Changeset: afe18ad188a1
Author: emcmanus
Date: 2008-08-07 16:25 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/afe18ad188a1
6717257: MBeanServer doesn't describe RuntimeException for methods inherited from MBeanServerConnection
Reviewed-by: dfuchs
! src/share/classes/javax/management/MBeanServer.java
Changeset: 233f8854d8b4
Author: dfuchs
Date: 2008-08-08 14:24 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/233f8854d8b4
6733294: MBeans tab - UI issues with writable attributes
Reviewed-by: emcmanus
! make/netbeans/jconsole/build.properties
! make/netbeans/jconsole/build.xml
! src/share/classes/sun/tools/jconsole/inspector/TableSorter.java
! src/share/classes/sun/tools/jconsole/inspector/XMBeanAttributes.java
! src/share/classes/sun/tools/jconsole/inspector/XPlotter.java
! src/share/classes/sun/tools/jconsole/inspector/XSheet.java
! src/share/classes/sun/tools/jconsole/inspector/XTable.java
! src/share/classes/sun/tools/jconsole/inspector/XTextFieldEditor.java
Changeset: e9de9ae8c214
Author: emcmanus
Date: 2008-08-08 15:08 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/e9de9ae8c214
6334663: TabularDataSupport should be able to return values in the insertion order
Reviewed-by: dfuchs
! src/share/classes/com/sun/jmx/mbeanserver/DefaultMXBeanMappingFactory.java
! src/share/classes/javax/management/openmbean/TabularDataSupport.java
+ test/javax/management/openmbean/TabularDataOrderTest.java
Changeset: 4fac95ca002a
Author: emcmanus
Date: 2008-08-08 15:10 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/4fac95ca002a
Merge
Changeset: da25e63dfed8
Author: alanb
Date: 2008-08-08 16:16 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/da25e63dfed8
Merge
Changeset: bb33c76ab5d4
Author: alanb
Date: 2008-08-08 16:33 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/bb33c76ab5d4
Fixed null handling in:
Files.probeContentType
Files.withDirectory
Files.walkFileTree
Path#register (sol11/lnx2.6 only)
! src/share/classes/java/nio/file/FileTreeWalker.java
! src/share/classes/java/nio/file/Files.java
! src/share/classes/sun/nio/fs/AbstractFileTypeDetector.java
! src/share/classes/sun/nio/fs/PollingWatchService.java
! src/solaris/classes/sun/nio/fs/LinuxWatchService.java
! src/solaris/classes/sun/nio/fs/SolarisWatchService.java
+ test/java/nio/file/Files/Misc.java
Changeset: c6b564384006
Author: alanb
Date: 2008-08-08 16:34 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/c6b564384006
test/java/nio/file/Files/walk_file_type.sh fails if find -L not supported
! test/java/nio/file/Files/walk_file_tree.sh
Changeset: b79dd46e5804
Author: alanb
Date: 2008-08-08 16:35 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/b79dd46e5804
Broken link
! src/share/classes/java/nio/file/WatchService.java
Changeset: fb241fb5aeaa
Author: alanb
Date: 2008-08-09 11:33 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/fb241fb5aeaa
Improve changing registration with watch service on Windows
Add sanity check for FILE_TREE modifier
! make/docs/NON_CORE_PKGS.gmk
! src/windows/classes/sun/nio/fs/WindowsWatchService.java
+ test/java/nio/file/WatchService/FileTreeModifier.java
Changeset: 343d63bb2609
Author: emcmanus
Date: 2008-08-08 18:36 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/343d63bb2609
6610174: Improve CompositeDataSupport.toString when it includes arrays
Reviewed-by: dfuchs
! src/share/classes/javax/management/openmbean/CompositeDataSupport.java
+ test/javax/management/openmbean/CompositeDataStringTest.java
Changeset: daaf140d557d
Author: alanb
Date: 2008-08-09 11:38 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/daaf140d557d
Merge
From alan.bateman at sun.com Sat Aug 9 03:44:03 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 09 Aug 2008 10:44:03 +0000
Subject: hg: nio/nio/langtools: 5 new changesets
Message-ID: <20080809104411.EB021DBEA@hg.openjdk.java.net>
Changeset: d635feaf3747
Author: mcimadamore
Date: 2008-08-08 15:16 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/d635feaf3747
6695838: javac does not detect cyclic inheritance involving static inner classes after import clause
Summary: Javac fails to detect some errors due to the order in which a class' static imports are entered
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/staticImport/6695838/T6695838.java
+ test/tools/javac/staticImport/6695838/a/Foo.java
+ test/tools/javac/staticImport/6695838/a/FooInterface.java
Changeset: 30a415f8667f
Author: mcimadamore
Date: 2008-08-08 17:38 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/30a415f8667f
6718364: inference fails when a generic method is invoked with raw arguments
Summary: Bug in the implementation of Types.isSubtypeUnchecked
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/inference/6718364/T6718364.java
+ test/tools/javac/generics/inference/6718364/T6718364.out
Changeset: 6542933af8f4
Author: mcimadamore
Date: 2008-08-08 17:43 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/6542933af8f4
6676362: Spurious forward reference error with final var + instance variable initializer
Summary: Some javac forward reference errors aren't compliant with the JLS
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/AttrContext.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/ForwardReference/T6676362a.java
+ test/tools/javac/ForwardReference/T6676362b.java
! test/tools/javac/enum/forwardRef/T6425594.out
Changeset: fac6b1beaa5a
Author: mcimadamore
Date: 2008-08-08 17:48 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/fac6b1beaa5a
6734819: Javac performs flows analysis on already translated classes
Summary: Regression in JavaCompiler.desugar introduced in 6726015
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/6734819/T6734819a.java
+ test/tools/javac/6734819/T6734819a.out
+ test/tools/javac/6734819/T6734819b.java
+ test/tools/javac/6734819/T6734819b.out
+ test/tools/javac/6734819/T6734819c.java
+ test/tools/javac/6734819/T6734819c.out
Changeset: 938a80a47670
Author: mcimadamore
Date: 2008-08-08 17:52 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/938a80a47670
6732461: broken message file for annotation processing
Summary: Regression in sqe test introduced in 6720185
Reviewed-by: jjg
! src/share/classes/com/sun/tools/apt/util/Bark.java
From alan.bateman at sun.com Sat Aug 23 07:59:37 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 14:59:37 +0000
Subject: hg: nio/nio: 6 new changesets
Message-ID: <20080823145937.68597DA08@hg.openjdk.java.net>
Changeset: 5ceaca28a876
Author: xdono
Date: 2008-08-04 13:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/rev/5ceaca28a876
Added tag jdk7-b32 for changeset 64da805be725
! .hgtags
Changeset: 55b2666e52e1
Author: ohair
Date: 2008-08-06 14:57 -0700
URL: http://hg.openjdk.java.net/nio/nio/rev/55b2666e52e1
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
Reviewed-by: tbell
! Makefile
! make/Defs-internal.gmk
! make/jprt.config
! make/jprt.gmk
Changeset: 844619bd3580
Author: ohair
Date: 2008-08-06 16:06 -0700
URL: http://hg.openjdk.java.net/nio/nio/rev/844619bd3580
6724669: JDK7: Official change to Sun Studio 12 compilers on Solaris
Reviewed-by: tbell
! README-builds.html
! make/jprt.config
Changeset: 746ca6b12c56
Author: ohair
Date: 2008-08-06 16:39 -0700
URL: http://hg.openjdk.java.net/nio/nio/rev/746ca6b12c56
Merge
! README-builds.html
! make/jprt.config
Changeset: bb1ef4ee3d2c
Author: xdono
Date: 2008-08-12 15:16 -0700
URL: http://hg.openjdk.java.net/nio/nio/rev/bb1ef4ee3d2c
Merge
Changeset: 7aa4f433229a
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/rev/7aa4f433229a
Added tag jdk7-b33 for changeset bb1ef4ee3d2c
! .hgtags
From alan.bateman at sun.com Sat Aug 23 07:59:54 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 14:59:54 +0000
Subject: hg: nio/nio/corba: 7 new changesets
Message-ID: <20080823150001.6EB85DA0D@hg.openjdk.java.net>
Changeset: f07251088084
Author: xdono
Date: 2008-08-04 13:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/f07251088084
Added tag jdk7-b32 for changeset 80a0f46a6203
! .hgtags
Changeset: 41c585204e91
Author: tbell
Date: 2008-08-07 09:40 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/41c585204e91
Merge
Changeset: e0e03ab25da0
Author: tbell
Date: 2008-08-07 18:00 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/e0e03ab25da0
Merge
Changeset: 33486187d718
Author: ohair
Date: 2008-08-06 16:08 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/33486187d718
6724669: JDK7: Official change to Sun Studio 12 compilers on Solaris
Reviewed-by: tbell
! make/common/shared/Compiler-sun.gmk
! make/jprt.config
Changeset: 6a5b9d2f8b20
Author: xdono
Date: 2008-08-12 15:16 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/6a5b9d2f8b20
Merge
Changeset: 05bf6aacc874
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/05bf6aacc874
Added tag jdk7-b33 for changeset 6a5b9d2f8b20
! .hgtags
Changeset: 0a812b9824e5
Author: tbell
Date: 2008-08-14 22:14 -0700
URL: http://hg.openjdk.java.net/nio/nio/corba/rev/0a812b9824e5
Merge
From alan.bateman at sun.com Sat Aug 23 08:01:00 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 15:01:00 +0000
Subject: hg: nio/nio/hotspot: 5 new changesets
Message-ID: <20080823150111.AA1FEDA41@hg.openjdk.java.net>
Changeset: 1fdb98a17101
Author: coleenp
Date: 2008-07-19 17:38 -0400
URL: http://hg.openjdk.java.net/nio/nio/hotspot/rev/1fdb98a17101
6716785: implicit null checks not triggering with CompressedOops
Summary: allocate alignment-sized page(s) below java heap so that memory accesses at heap_base+1page give signal and cause an implicit null check
Reviewed-by: kvn, jmasa, phh, jcoomes
! src/os/linux/vm/os_linux.cpp
! src/os/solaris/vm/os_solaris.cpp
! src/os/windows/vm/os_windows.cpp
! src/os_cpu/linux_sparc/vm/assembler_linux_sparc.cpp
! src/os_cpu/linux_x86/vm/assembler_linux_x86_32.cpp
! src/os_cpu/linux_x86/vm/assembler_linux_x86_64.cpp
! src/os_cpu/solaris_sparc/vm/assembler_solaris_sparc.cpp
! src/os_cpu/solaris_x86/vm/assembler_solaris_x86_32.cpp
! src/os_cpu/solaris_x86/vm/assembler_solaris_x86_64.cpp
! src/os_cpu/windows_x86/vm/assembler_windows_x86_32.cpp
! src/os_cpu/windows_x86/vm/assembler_windows_x86_64.cpp
! src/share/vm/asm/assembler.cpp
! src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp
! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
! src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp
! src/share/vm/memory/genCollectedHeap.cpp
! src/share/vm/prims/jni.cpp
! src/share/vm/runtime/arguments.cpp
! src/share/vm/runtime/os.cpp
! src/share/vm/runtime/os.hpp
! src/share/vm/runtime/virtualspace.cpp
! src/share/vm/runtime/virtualspace.hpp
Changeset: 3df2fe7c4451
Author: trims
Date: 2008-07-25 11:29 -0700
URL: http://hg.openjdk.java.net/nio/nio/hotspot/rev/3df2fe7c4451
Merge
Changeset: b727c32788a9
Author: trims
Date: 2008-08-01 18:51 -0700
URL: http://hg.openjdk.java.net/nio/nio/hotspot/rev/b727c32788a9
6732819: Turn off compressed oops by default for now
Summary: Workaround for CompOops bug
Reviewed-by: coleenp
! src/share/vm/runtime/arguments.cpp
Changeset: 585535ec8a14
Author: xdono
Date: 2008-08-04 13:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/hotspot/rev/585535ec8a14
Added tag jdk7-b32 for changeset b727c32788a9
! .hgtags
Changeset: 5b3b8a69f10f
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/hotspot/rev/5b3b8a69f10f
Added tag jdk7-b33 for changeset 585535ec8a14
! .hgtags
From alan.bateman at sun.com Sat Aug 23 08:02:38 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 15:02:38 +0000
Subject: hg: nio/nio/jaxp: 2 new changesets
Message-ID: <20080823150242.1BF84DA46@hg.openjdk.java.net>
Changeset: 95375835527f
Author: xdono
Date: 2008-08-04 13:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/jaxp/rev/95375835527f
Added tag jdk7-b32 for changeset 400a5ee432cc
! .hgtags
Changeset: 01facdf8cabd
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/jaxp/rev/01facdf8cabd
Added tag jdk7-b33 for changeset 95375835527f
! .hgtags
From alan.bateman at sun.com Sat Aug 23 08:02:59 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 15:02:59 +0000
Subject: hg: nio/nio/jaxws: 2 new changesets
Message-ID: <20080823150303.35843DA4B@hg.openjdk.java.net>
Changeset: 6dcbcfb9551a
Author: xdono
Date: 2008-08-04 13:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/jaxws/rev/6dcbcfb9551a
Added tag jdk7-b32 for changeset e6daca2eced9
! .hgtags
Changeset: 7a9f629cd957
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/jaxws/rev/7a9f629cd957
Added tag jdk7-b33 for changeset 6dcbcfb9551a
! .hgtags
From alan.bateman at sun.com Sat Aug 23 08:03:36 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 15:03:36 +0000
Subject: hg: nio/nio/jdk: 45 new changesets
Message-ID: <20080823151246.BA44BDA50@hg.openjdk.java.net>
Changeset: 89d30b258517
Author: ohair
Date: 2008-07-16 09:51 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/89d30b258517
6548261: Use of SE in make/common/Defs-windows.gmk
Reviewed-by: darcy
! make/common/Defs-windows.gmk
! make/common/Defs.gmk
! make/common/shared/Defs.gmk
Changeset: 7754f0f4cf97
Author: xdono
Date: 2008-07-25 08:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/7754f0f4cf97
Merge
Changeset: c51121419e30
Author: ohair
Date: 2008-07-27 18:42 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/c51121419e30
6727683: Cleanup use of COMPILER_WARNINGS_FATAL in makefiles
Reviewed-by: tbell
! make/com/sun/java/pack/Makefile
! make/com/sun/security/auth/module/Makefile
! make/common/Defs-linux.gmk
! make/common/Defs-solaris.gmk
! make/common/Defs-windows.gmk
! make/common/shared/Compiler-gcc.gmk
! make/common/shared/Defs-java.gmk
! make/common/shared/Platform.gmk
! make/java/fdlibm/Makefile
! make/java/hpi/windows/Makefile
! make/java/java/Makefile
! make/java/java_crw_demo/Makefile
! make/java/java_hprof_demo/Makefile
! make/java/jli/Makefile
! make/java/net/Makefile
! make/java/nio/Makefile
! make/java/npt/Makefile
! make/java/verify/Makefile
! make/java/zip/Makefile
! make/jpda/back/Makefile
! make/jpda/transport/shmem/Makefile
! make/jpda/transport/socket/Makefile
! make/sun/cmm/kcms/Makefile
! make/sun/font/Makefile
! make/sun/font/t2k/Makefile
! make/sun/jdbc/Makefile
! make/sun/jpeg/Makefile
Changeset: 289bc9ca7556
Author: tbell
Date: 2008-08-01 15:21 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/289bc9ca7556
Merge
! make/java/nio/Makefile
Changeset: 12a0d0a1bb65
Author: xdono
Date: 2008-08-04 13:45 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/12a0d0a1bb65
Added tag jdk7-b32 for changeset c51121419e30
! .hgtags
Changeset: 8f1a1b2f77a3
Author: igor
Date: 2008-05-28 20:06 +0400
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/8f1a1b2f77a3
6587560: OpenJDK problem handling bitmaps returned when LCD text is requested
Reviewed-by: bae, prr
! src/share/native/sun/font/freetypeScaler.c
Changeset: 3c4fc5111ff2
Author: lana
Date: 2008-06-05 14:18 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3c4fc5111ff2
Merge
Changeset: f0ede391c615
Author: prr
Date: 2008-06-12 13:17 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/f0ede391c615
6378099: RFE: Use libfontconfig to create/synthesise a fontconfig.properties
Reviewed-by: tdv, igor
! make/sun/headless/mapfile-vers
! make/sun/xawt/mapfile-vers
! src/share/classes/sun/awt/FontConfiguration.java
! src/share/classes/sun/font/FontManager.java
! src/share/classes/sun/java2d/SunGraphicsEnvironment.java
! src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
+ src/solaris/classes/sun/font/FcFontConfiguration.java
! src/solaris/native/sun/awt/fontconfig.h
! src/solaris/native/sun/awt/fontpath.c
! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java
Changeset: 9fae0ea75985
Author: srl
Date: 2008-06-17 18:38 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/9fae0ea75985
6711377: test/java/awt/font/TextLayout/VisibleAdvance.java missing GPL
Reviewed-by: igor, prr
! test/java/awt/font/TextLayout/VisibleAdvance.java
Changeset: 5755fe417a12
Author: jgodinez
Date: 2008-06-23 13:00 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/5755fe417a12
6708509: print dialog is not displayed when default paper is custom
Reviewed-by: tdv, prr
! src/windows/native/sun/windows/awt_PrintJob.cpp
+ test/java/awt/print/PrinterJob/PrintAWTImage.java
+ test/java/awt/print/PrinterJob/duke.gif
Changeset: c1e0755434eb
Author: igor
Date: 2008-07-15 16:04 +0400
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/c1e0755434eb
6720240: IOB exception when getting font metrics of hershey font
Reviewed-by: bae, prr
! src/share/classes/sun/font/NullFontScaler.java
Changeset: 3efc003bf097
Author: tdv
Date: 2008-07-18 10:48 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3efc003bf097
6725214: D3D: forward-port the new pipeline from 6u10
Summary: Forward port of the new Direct3D 9 rendering pipeline from 6u10. Also includes fixes for 6690659 6689025 6658398 6596234.
Reviewed-by: campbell, prr
! make/common/shared/Platform.gmk
! make/common/shared/Sanity.gmk
! make/sun/awt/FILES_c_windows.gmk
! make/sun/awt/FILES_export_unix.gmk
! make/sun/awt/FILES_export_windows.gmk
! make/sun/awt/Makefile
! make/sun/awt/make.depend
! make/sun/awt/mapfile-mawt-vers
! make/sun/awt/mapfile-vers
! make/sun/awt/mapfile-vers-linux
! make/sun/font/FILES_c.gmk
! make/sun/font/Makefile
! make/sun/headless/mapfile-vers
! make/sun/jawt/make.depend
! make/sun/xawt/mapfile-vers
! src/share/classes/java/awt/Component.java
! src/share/classes/java/awt/GraphicsDevice.java
! src/share/classes/java/awt/Robot.java
! src/share/classes/java/awt/image/DataBuffer.java
! src/share/classes/java/awt/peer/ComponentPeer.java
! src/share/classes/javax/swing/BufferStrategyPaintManager.java
! src/share/classes/sun/awt/NullComponentPeer.java
! src/share/classes/sun/awt/SubRegionShowable.java
! src/share/classes/sun/awt/image/SunVolatileImage.java
! src/share/classes/sun/awt/image/SunWritableRaster.java
+ src/share/classes/sun/awt/image/VSyncedBSManager.java
! src/share/classes/sun/awt/image/VolatileSurfaceManager.java
! src/share/classes/sun/font/StrikeCache.java
+ src/share/classes/sun/java2d/DestSurfaceProvider.java
! src/share/classes/sun/java2d/SunGraphics2D.java
! src/share/classes/sun/java2d/SunGraphicsEnvironment.java
+ src/share/classes/sun/java2d/Surface.java
! src/share/classes/sun/java2d/SurfaceData.java
! src/share/classes/sun/java2d/SurfaceDataProxy.java
! src/share/classes/sun/java2d/loops/BlitBg.java
! src/share/classes/sun/java2d/loops/GeneralRenderer.java
! src/share/classes/sun/java2d/opengl/OGLBufImgOps.java
! src/share/classes/sun/java2d/opengl/OGLContext.java
! src/share/classes/sun/java2d/opengl/OGLGraphicsConfig.java
! src/share/classes/sun/java2d/opengl/OGLPaints.java
! src/share/classes/sun/java2d/opengl/OGLRenderer.java
! src/share/classes/sun/java2d/opengl/OGLSurfaceData.java
! src/share/classes/sun/java2d/pipe/BufferedContext.java
! src/share/classes/sun/java2d/pipe/BufferedOpCodes.java
! src/share/classes/sun/java2d/pipe/BufferedRenderPipe.java
! src/share/classes/sun/java2d/pipe/DrawImage.java
+ src/share/classes/sun/java2d/pipe/ParallelogramPipe.java
+ src/share/classes/sun/java2d/pipe/PixelToParallelogramConverter.java
+ src/share/classes/sun/java2d/pipe/hw/AccelDeviceEventListener.java
+ src/share/classes/sun/java2d/pipe/hw/AccelDeviceEventNotifier.java
+ src/share/classes/sun/java2d/pipe/hw/AccelGraphicsConfig.java
+ src/share/classes/sun/java2d/pipe/hw/AccelSurface.java
+ src/share/classes/sun/java2d/pipe/hw/AccelTypedVolatileImage.java
+ src/share/classes/sun/java2d/pipe/hw/BufferedContextProvider.java
+ src/share/classes/sun/java2d/pipe/hw/ContextCapabilities.java
+ src/share/classes/sun/java2d/pipe/hw/ExtendedBufferCapabilities.java
! src/share/native/sun/font/AccelGlyphCache.c
! src/share/native/sun/font/AccelGlyphCache.h
! src/share/native/sun/font/sunFont.c
+ src/share/native/sun/java2d/ShaderList.c
+ src/share/native/sun/java2d/ShaderList.h
! src/share/native/sun/java2d/Trace.h
! src/share/native/sun/java2d/loops/BlitBg.c
! src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.c
! src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.h
! src/share/native/sun/java2d/opengl/OGLContext.c
! src/share/native/sun/java2d/opengl/OGLContext.h
! src/share/native/sun/java2d/opengl/OGLFuncs.h
! src/share/native/sun/java2d/opengl/OGLRenderQueue.c
! src/share/native/sun/java2d/opengl/OGLRenderQueue.h
! src/share/native/sun/java2d/opengl/OGLRenderer.c
! src/share/native/sun/java2d/opengl/OGLRenderer.h
! src/share/native/sun/java2d/opengl/OGLSurfaceData.c
! src/share/native/sun/java2d/opengl/OGLSurfaceData.h
! src/share/native/sun/java2d/pipe/BufferedMaskBlit.c
! src/solaris/classes/sun/awt/X11/XComponentPeer.java
! src/solaris/classes/sun/awt/X11/XEmbedChildProxyPeer.java
! src/solaris/classes/sun/awt/X11GraphicsConfig.java
! src/solaris/classes/sun/awt/X11GraphicsDevice.java
! src/solaris/classes/sun/awt/motif/MComponentPeer.java
+ src/solaris/classes/sun/java2d/BackBufferCapsProvider.java
! src/solaris/classes/sun/java2d/opengl/GLXGraphicsConfig.java
! src/solaris/classes/sun/java2d/opengl/GLXSurfaceData.java
! src/solaris/classes/sun/java2d/opengl/GLXVolatileSurfaceManager.java
! src/solaris/classes/sun/java2d/x11/X11PMBlitBgLoops.java
! src/solaris/native/sun/java2d/opengl/GLXGraphicsConfig.c
! src/solaris/native/sun/java2d/opengl/GLXSurfaceData.c
! src/windows/classes/sun/awt/Win32GraphicsConfig.java
! src/windows/classes/sun/awt/Win32GraphicsDevice.java
! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java
! src/windows/classes/sun/awt/windows/WComponentPeer.java
! src/windows/classes/sun/awt/windows/WEmbeddedFramePeer.java
! src/windows/classes/sun/awt/windows/WToolkit.java
+ src/windows/classes/sun/java2d/ScreenUpdateManager.java
! src/windows/classes/sun/java2d/WindowsSurfaceManagerFactory.java
- src/windows/classes/sun/java2d/d3d/D3DBackBufferSurfaceData.java
! src/windows/classes/sun/java2d/d3d/D3DBlitLoops.java
+ src/windows/classes/sun/java2d/d3d/D3DBufImgOps.java
! src/windows/classes/sun/java2d/d3d/D3DContext.java
! src/windows/classes/sun/java2d/d3d/D3DDrawImage.java
+ src/windows/classes/sun/java2d/d3d/D3DGraphicsConfig.java
+ src/windows/classes/sun/java2d/d3d/D3DGraphicsDevice.java
+ src/windows/classes/sun/java2d/d3d/D3DMaskBlit.java
! src/windows/classes/sun/java2d/d3d/D3DMaskFill.java
+ src/windows/classes/sun/java2d/d3d/D3DPaints.java
+ src/windows/classes/sun/java2d/d3d/D3DRenderQueue.java
! src/windows/classes/sun/java2d/d3d/D3DRenderer.java
+ src/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java
! src/windows/classes/sun/java2d/d3d/D3DSurfaceData.java
+ src/windows/classes/sun/java2d/d3d/D3DSurfaceDataProxy.java
! src/windows/classes/sun/java2d/d3d/D3DTextRenderer.java
+ src/windows/classes/sun/java2d/d3d/D3DVolatileSurfaceManager.java
! src/windows/classes/sun/java2d/opengl/WGLGraphicsConfig.java
! src/windows/classes/sun/java2d/opengl/WGLSurfaceData.java
! src/windows/classes/sun/java2d/opengl/WGLVolatileSurfaceManager.java
- src/windows/classes/sun/java2d/windows/DDBlitLoops.java
- src/windows/classes/sun/java2d/windows/DDRenderer.java
- src/windows/classes/sun/java2d/windows/DDScaleLoops.java
! src/windows/classes/sun/java2d/windows/GDIBlitLoops.java
+ src/windows/classes/sun/java2d/windows/GDIWindowSurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32OffScreenSurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceDataProxy.java
- src/windows/classes/sun/java2d/windows/WinBackBuffer.java
- src/windows/classes/sun/java2d/windows/WinBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/WinVolatileSurfaceManager.java
! src/windows/classes/sun/java2d/windows/WindowsFlags.java
+ src/windows/native/sun/java2d/d3d/D3DBadHardware.h
! src/windows/native/sun/java2d/d3d/D3DBlitLoops.cpp
+ src/windows/native/sun/java2d/d3d/D3DBlitLoops.h
+ src/windows/native/sun/java2d/d3d/D3DBufImgOps.cpp
+ src/windows/native/sun/java2d/d3d/D3DBufImgOps.h
! src/windows/native/sun/java2d/d3d/D3DContext.cpp
! src/windows/native/sun/java2d/d3d/D3DContext.h
+ src/windows/native/sun/java2d/d3d/D3DGlyphCache.cpp
+ src/windows/native/sun/java2d/d3d/D3DGlyphCache.h
+ src/windows/native/sun/java2d/d3d/D3DGraphicsDevice.cpp
+ src/windows/native/sun/java2d/d3d/D3DGraphicsDevice.h
+ src/windows/native/sun/java2d/d3d/D3DMaskBlit.cpp
+ src/windows/native/sun/java2d/d3d/D3DMaskBlit.h
+ src/windows/native/sun/java2d/d3d/D3DMaskCache.cpp
+ src/windows/native/sun/java2d/d3d/D3DMaskCache.h
! src/windows/native/sun/java2d/d3d/D3DMaskFill.cpp
+ src/windows/native/sun/java2d/d3d/D3DMaskFill.h
+ src/windows/native/sun/java2d/d3d/D3DPaints.cpp
+ src/windows/native/sun/java2d/d3d/D3DPaints.h
+ src/windows/native/sun/java2d/d3d/D3DPipeline.cpp
+ src/windows/native/sun/java2d/d3d/D3DPipeline.h
+ src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp
+ src/windows/native/sun/java2d/d3d/D3DPipelineManager.h
+ src/windows/native/sun/java2d/d3d/D3DRenderQueue.cpp
+ src/windows/native/sun/java2d/d3d/D3DRenderQueue.h
! src/windows/native/sun/java2d/d3d/D3DRenderer.cpp
+ src/windows/native/sun/java2d/d3d/D3DRenderer.h
+ src/windows/native/sun/java2d/d3d/D3DResourceManager.cpp
+ src/windows/native/sun/java2d/d3d/D3DResourceManager.h
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.cpp
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.h
+ src/windows/native/sun/java2d/d3d/D3DShaderGen.c
+ src/windows/native/sun/java2d/d3d/D3DShaders.h
! src/windows/native/sun/java2d/d3d/D3DSurfaceData.cpp
! src/windows/native/sun/java2d/d3d/D3DSurfaceData.h
- src/windows/native/sun/java2d/d3d/D3DTestRaster.h
! src/windows/native/sun/java2d/d3d/D3DTextRenderer.cpp
+ src/windows/native/sun/java2d/d3d/D3DTextRenderer.h
- src/windows/native/sun/java2d/d3d/D3DTextRenderer_md.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.h
+ src/windows/native/sun/java2d/d3d/D3DVertexCacher.cpp
+ src/windows/native/sun/java2d/d3d/D3DVertexCacher.h
! src/windows/native/sun/java2d/opengl/WGLGraphicsConfig.c
! src/windows/native/sun/java2d/opengl/WGLSurfaceData.c
! src/windows/native/sun/java2d/opengl/WGLSurfaceData.h
- src/windows/native/sun/java2d/windows/DDBlitLoops.cpp
- src/windows/native/sun/java2d/windows/DDRenderer.cpp
! src/windows/native/sun/java2d/windows/GDIBlitLoops.cpp
! src/windows/native/sun/java2d/windows/GDIRenderer.cpp
+ src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp
+ src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h
- src/windows/native/sun/java2d/windows/RegistryKey.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.h
- src/windows/native/sun/java2d/windows/Win32OffScreenSurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.h
- src/windows/native/sun/java2d/windows/WinBackBufferSurfaceData.cpp
! src/windows/native/sun/java2d/windows/WindowsFlags.cpp
! src/windows/native/sun/java2d/windows/WindowsFlags.h
- src/windows/native/sun/java2d/windows/ddrawObject.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.h
- src/windows/native/sun/java2d/windows/ddrawUtils.cpp
- src/windows/native/sun/java2d/windows/ddrawUtils.h
- src/windows/native/sun/java2d/windows/dxCapabilities.cpp
- src/windows/native/sun/java2d/windows/dxCapabilities.h
- src/windows/native/sun/java2d/windows/dxInit.cpp
- src/windows/native/sun/java2d/windows/dxInit.h
! src/windows/native/sun/windows/Devices.cpp
! src/windows/native/sun/windows/awt.h
! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Component.h
! src/windows/native/sun/windows/awt_DrawingSurface.cpp
! src/windows/native/sun/windows/awt_DrawingSurface.h
! src/windows/native/sun/windows/awt_Toolkit.cpp
! src/windows/native/sun/windows/awt_Win32GraphicsDevice.cpp
! src/windows/native/sun/windows/awt_Win32GraphicsDevice.h
! src/windows/native/sun/windows/awt_Win32GraphicsEnv.cpp
! src/windows/native/sun/windows/awt_Window.cpp
! src/windows/native/sun/windows/awt_Window.h
! src/windows/native/sun/windows/awtmsg.h
+ test/java/awt/FullScreen/BufferStrategyExceptionTest/BufferStrategyExceptionTest.java
+ test/java/awt/FullScreen/MultimonFullscreenTest/MultimonFullscreenTest.java
+ test/java/awt/FullScreen/NoResizeEventOnDMChangeTest/NoResizeEventOnDMChangeTest.java
+ test/java/awt/FullScreen/SetFSWindow/FSFrame.java
+ test/java/awt/Multiscreen/DeviceIdentificationTest/DeviceIdentificationTest.java
+ test/java/awt/image/MemoryLeakTest/MemoryLeakTest.java
+ test/sun/java2d/DirectX/AccelPaintsTest/AccelPaintsTest.java
+ test/sun/java2d/DirectX/AcceleratedScaleTest/AcceleratedScaleTest.java
+ test/sun/java2d/DirectX/IAEforEmptyFrameTest/IAEforEmptyFrameTest.java
+ test/sun/java2d/DirectX/InfiniteValidationLoopTest/InfiniteValidationLoopTest.java
+ test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java
+ test/sun/java2d/DirectX/OverriddenInsetsTest/OverriddenInsetsTest.java
+ test/sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java
+ test/sun/java2d/DirectX/StrikeDisposalCrashTest/StrikeDisposalCrashTest.java
+ test/sun/java2d/DirectX/SwingOnScreenScrollingTest/SwingOnScreenScrollingTest.java
+ test/sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java
+ test/sun/java2d/GdiRendering/InsetClipping.java
+ test/sun/java2d/OpenGL/DrawBufImgOp.java
+ test/sun/java2d/SunGraphics2D/DrawImageBilinear.java
+ test/sun/java2d/SunGraphics2D/PolyVertTest.java
+ test/sun/java2d/SunGraphics2D/SimplePrimQuality.java
+ test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/SourceClippingBlitTest.java
+ test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.java
+ test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh
+ test/sun/java2d/pipe/MutableColorTest/MutableColorTest.java
+ test/sun/java2d/pipe/hw/RSLAPITest/RSLAPITest.java
+ test/sun/java2d/pipe/hw/VSyncedBufferStrategyTest/VSyncedBufferStrategyTest.java
Changeset: 2d7068a03750
Author: tdv
Date: 2008-07-22 11:24 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/2d7068a03750
6728492: typo in copyrights in some files touched by the d3d pipeline port
Reviewed-by: prr
! make/common/shared/Platform.gmk
! make/common/shared/Sanity.gmk
! make/sun/awt/FILES_c_windows.gmk
! make/sun/awt/FILES_export_unix.gmk
! make/sun/awt/FILES_export_windows.gmk
! make/sun/awt/Makefile
! make/sun/awt/mapfile-mawt-vers
! make/sun/awt/mapfile-vers
! make/sun/awt/mapfile-vers-linux
! make/sun/font/FILES_c.gmk
! make/sun/font/Makefile
! make/sun/headless/mapfile-vers
! make/sun/xawt/mapfile-vers
! src/share/classes/java/awt/GraphicsDevice.java
! src/share/classes/java/awt/Robot.java
! src/share/classes/java/awt/image/DataBuffer.java
! src/share/classes/java/awt/peer/ComponentPeer.java
! src/share/classes/javax/swing/BufferStrategyPaintManager.java
! src/share/classes/sun/awt/NullComponentPeer.java
! src/share/classes/sun/awt/image/SunVolatileImage.java
! src/share/classes/sun/awt/image/SunWritableRaster.java
! src/share/classes/sun/awt/image/VolatileSurfaceManager.java
! src/share/classes/sun/font/StrikeCache.java
! src/share/classes/sun/java2d/SunGraphics2D.java
! src/share/classes/sun/java2d/SunGraphicsEnvironment.java
! src/share/classes/sun/java2d/SurfaceData.java
! src/share/classes/sun/java2d/loops/BlitBg.java
! src/share/classes/sun/java2d/loops/GeneralRenderer.java
! src/share/classes/sun/java2d/opengl/OGLContext.java
! src/share/classes/sun/java2d/opengl/OGLGraphicsConfig.java
! src/share/classes/sun/java2d/opengl/OGLRenderer.java
! src/share/classes/sun/java2d/opengl/OGLSurfaceData.java
! src/share/classes/sun/java2d/pipe/BufferedOpCodes.java
! src/share/classes/sun/java2d/pipe/BufferedRenderPipe.java
! src/share/classes/sun/java2d/pipe/DrawImage.java
! src/share/native/sun/font/AccelGlyphCache.c
! src/share/native/sun/font/AccelGlyphCache.h
! src/share/native/sun/java2d/Trace.h
! src/share/native/sun/java2d/loops/BlitBg.c
! src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.c
! src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.h
! src/share/native/sun/java2d/opengl/OGLContext.c
! src/share/native/sun/java2d/opengl/OGLContext.h
! src/share/native/sun/java2d/opengl/OGLFuncs.h
! src/share/native/sun/java2d/opengl/OGLRenderQueue.c
! src/share/native/sun/java2d/opengl/OGLRenderQueue.h
! src/share/native/sun/java2d/opengl/OGLRenderer.c
! src/share/native/sun/java2d/opengl/OGLRenderer.h
! src/share/native/sun/java2d/opengl/OGLSurfaceData.c
! src/share/native/sun/java2d/opengl/OGLSurfaceData.h
! src/solaris/classes/sun/awt/X11GraphicsConfig.java
! src/solaris/classes/sun/awt/X11GraphicsDevice.java
! src/solaris/classes/sun/awt/motif/MComponentPeer.java
! src/solaris/classes/sun/java2d/opengl/GLXGraphicsConfig.java
! src/solaris/classes/sun/java2d/opengl/GLXSurfaceData.java
! src/solaris/classes/sun/java2d/opengl/GLXVolatileSurfaceManager.java
! src/solaris/classes/sun/java2d/x11/X11PMBlitBgLoops.java
! src/solaris/native/sun/java2d/opengl/GLXGraphicsConfig.c
! src/solaris/native/sun/java2d/opengl/GLXSurfaceData.c
! src/windows/classes/sun/awt/Win32GraphicsConfig.java
! src/windows/classes/sun/awt/Win32GraphicsDevice.java
! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java
! src/windows/classes/sun/awt/windows/WComponentPeer.java
! src/windows/classes/sun/awt/windows/WEmbeddedFramePeer.java
! src/windows/classes/sun/awt/windows/WToolkit.java
! src/windows/classes/sun/java2d/opengl/WGLGraphicsConfig.java
! src/windows/classes/sun/java2d/opengl/WGLSurfaceData.java
! src/windows/classes/sun/java2d/opengl/WGLVolatileSurfaceManager.java
! src/windows/classes/sun/java2d/windows/GDIBlitLoops.java
! src/windows/classes/sun/java2d/windows/GDIWindowSurfaceData.java
! src/windows/classes/sun/java2d/windows/WindowsFlags.java
! src/windows/native/sun/java2d/opengl/WGLGraphicsConfig.c
! src/windows/native/sun/java2d/opengl/WGLSurfaceData.c
! src/windows/native/sun/java2d/opengl/WGLSurfaceData.h
! src/windows/native/sun/java2d/windows/GDIBlitLoops.cpp
! src/windows/native/sun/java2d/windows/GDIRenderer.cpp
! src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp
! src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h
! src/windows/native/sun/java2d/windows/WindowsFlags.cpp
! src/windows/native/sun/java2d/windows/WindowsFlags.h
! src/windows/native/sun/windows/Devices.cpp
! src/windows/native/sun/windows/awt_Component.h
! src/windows/native/sun/windows/awt_DrawingSurface.cpp
! src/windows/native/sun/windows/awt_DrawingSurface.h
! src/windows/native/sun/windows/awt_Win32GraphicsDevice.cpp
! src/windows/native/sun/windows/awt_Win32GraphicsDevice.h
! src/windows/native/sun/windows/awt_Win32GraphicsEnv.cpp
! src/windows/native/sun/windows/awtmsg.h
Changeset: 5a9e7ac25d30
Author: lana
Date: 2008-07-24 21:12 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/5a9e7ac25d30
Merge
! make/common/shared/Platform.gmk
! make/common/shared/Sanity.gmk
! make/sun/font/FILES_c.gmk
! make/sun/font/Makefile
! src/share/classes/java/awt/Component.java
! src/share/classes/java/awt/image/DataBuffer.java
! src/share/classes/sun/awt/FontConfiguration.java
! src/share/classes/sun/awt/image/SunVolatileImage.java
! src/share/classes/sun/font/FontManager.java
! src/share/classes/sun/java2d/SunGraphics2D.java
! src/solaris/classes/sun/awt/X11GraphicsConfig.java
! src/solaris/classes/sun/awt/X11GraphicsDevice.java
! src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java
! src/windows/classes/sun/awt/windows/WEmbeddedFramePeer.java
- src/windows/classes/sun/java2d/d3d/D3DBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/DDBlitLoops.java
- src/windows/classes/sun/java2d/windows/DDRenderer.java
- src/windows/classes/sun/java2d/windows/DDScaleLoops.java
- src/windows/classes/sun/java2d/windows/Win32OffScreenSurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceDataProxy.java
- src/windows/classes/sun/java2d/windows/WinBackBuffer.java
- src/windows/classes/sun/java2d/windows/WinBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/WinVolatileSurfaceManager.java
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.cpp
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.h
- src/windows/native/sun/java2d/d3d/D3DTestRaster.h
- src/windows/native/sun/java2d/d3d/D3DTextRenderer_md.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.h
- src/windows/native/sun/java2d/windows/DDBlitLoops.cpp
- src/windows/native/sun/java2d/windows/DDRenderer.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.h
- src/windows/native/sun/java2d/windows/Win32OffScreenSurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.h
- src/windows/native/sun/java2d/windows/WinBackBufferSurfaceData.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.h
- src/windows/native/sun/java2d/windows/ddrawUtils.cpp
- src/windows/native/sun/java2d/windows/ddrawUtils.h
- src/windows/native/sun/java2d/windows/dxCapabilities.cpp
- src/windows/native/sun/java2d/windows/dxCapabilities.h
- src/windows/native/sun/java2d/windows/dxInit.cpp
- src/windows/native/sun/java2d/windows/dxInit.h
! src/windows/native/sun/windows/awt_Component.cpp
! src/windows/native/sun/windows/awt_Component.h
Changeset: 2776a8638537
Author: lana
Date: 2008-08-05 17:44 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/2776a8638537
Merge
! make/common/shared/Platform.gmk
! make/sun/font/Makefile
Changeset: ab3508401ce4
Author: jtusla
Date: 2008-08-01 01:46 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/ab3508401ce4
6509039: Swedish localization has incorrect am/pm markers in FormatData_sv
Summary: Added respective section
Reviewed-by: peytoia, jenda
! src/share/classes/sun/text/resources/FormatData_sv.java
! test/sun/text/resources/LocaleData
! test/sun/text/resources/LocaleDataTest.java
Changeset: 52f21df467b4
Author: jtusla
Date: 2008-08-01 02:58 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/52f21df467b4
6608572: Currency change for Malta and Cyprus
Summary: Change the respective currencies
Reviewed-by: naoto, jenda
! src/share/classes/java/util/CurrencyData.properties
! test/java/util/Currency/ValidateISO4217.java
! test/java/util/Currency/tablea1.txt
Changeset: 1d3a19f9a015
Author: jtusla
Date: 2008-08-07 04:52 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/1d3a19f9a015
Merge
Changeset: 7e10774d2a29
Author: tbell
Date: 2008-08-07 09:42 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/7e10774d2a29
Merge
- src/windows/classes/sun/java2d/d3d/D3DBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/DDBlitLoops.java
- src/windows/classes/sun/java2d/windows/DDRenderer.java
- src/windows/classes/sun/java2d/windows/DDScaleLoops.java
- src/windows/classes/sun/java2d/windows/Win32OffScreenSurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceDataProxy.java
- src/windows/classes/sun/java2d/windows/WinBackBuffer.java
- src/windows/classes/sun/java2d/windows/WinBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/WinVolatileSurfaceManager.java
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.cpp
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.h
- src/windows/native/sun/java2d/d3d/D3DTestRaster.h
- src/windows/native/sun/java2d/d3d/D3DTextRenderer_md.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.h
- src/windows/native/sun/java2d/windows/DDBlitLoops.cpp
- src/windows/native/sun/java2d/windows/DDRenderer.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.h
- src/windows/native/sun/java2d/windows/Win32OffScreenSurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.h
- src/windows/native/sun/java2d/windows/WinBackBufferSurfaceData.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.h
- src/windows/native/sun/java2d/windows/ddrawUtils.cpp
- src/windows/native/sun/java2d/windows/ddrawUtils.h
- src/windows/native/sun/java2d/windows/dxCapabilities.cpp
- src/windows/native/sun/java2d/windows/dxCapabilities.h
- src/windows/native/sun/java2d/windows/dxInit.cpp
- src/windows/native/sun/java2d/windows/dxInit.h
Changeset: 515175a26f49
Author: tbell
Date: 2008-08-07 18:02 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/515175a26f49
Merge
Changeset: c32e27a3c619
Author: tbell
Date: 2008-08-10 18:35 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/c32e27a3c619
Merge
Changeset: cf403a69449a
Author: jjh
Date: 2008-08-15 18:06 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/cf403a69449a
6737900: TEST: Some JDI regression tests timeout on slow machines
Summary: Don't execute useless code, and split test into multiple @runs.
Reviewed-by: tbell
! test/com/sun/jdi/ClassesByName2Test.java
! test/com/sun/jdi/ConnectedVMs.java
! test/com/sun/jdi/sde/MangleStepTest.java
Changeset: e093efae8c5f
Author: ohair
Date: 2008-08-17 17:02 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/e093efae8c5f
6496269: Many warnings generated from com/sun/java/util/jar/pack/*.cpp when compiled on Linux
Summary: Removal of compiler warnings and fixing of assert logic.
Reviewed-by: jrose, ksrini, bristor
! src/share/native/com/sun/java/util/jar/pack/bands.cpp
! src/share/native/com/sun/java/util/jar/pack/bytes.cpp
! src/share/native/com/sun/java/util/jar/pack/bytes.h
! src/share/native/com/sun/java/util/jar/pack/coding.cpp
! src/share/native/com/sun/java/util/jar/pack/coding.h
! src/share/native/com/sun/java/util/jar/pack/defines.h
! src/share/native/com/sun/java/util/jar/pack/jni.cpp
! src/share/native/com/sun/java/util/jar/pack/main.cpp
! src/share/native/com/sun/java/util/jar/pack/unpack.cpp
! src/share/native/com/sun/java/util/jar/pack/unpack.h
! src/share/native/com/sun/java/util/jar/pack/utils.cpp
! src/share/native/com/sun/java/util/jar/pack/utils.h
! src/share/native/com/sun/java/util/jar/pack/zip.cpp
! src/share/native/com/sun/java/util/jar/pack/zip.h
Changeset: 17527939e5b1
Author: swamyv
Date: 2008-08-18 15:28 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/17527939e5b1
6705893: javax.script tests should not require a js engine on OpenJDK
Summary: Fixed the tests to pass with open JDK.
Reviewed-by: darcy
! test/javax/script/E4XErrorTest.java
+ test/javax/script/Helper.java
! test/javax/script/JavaScriptScopeTest.java
! test/javax/script/NullUndefinedVarTest.java
! test/javax/script/PluggableContextTest.java
! test/javax/script/ProviderTest.java
! test/javax/script/RhinoExceptionTest.java
! test/javax/script/Test1.java
! test/javax/script/Test2.java
! test/javax/script/Test3.java
! test/javax/script/Test4.java
! test/javax/script/Test5.java
! test/javax/script/Test6.java
! test/javax/script/Test7.java
! test/javax/script/Test8.java
! test/javax/script/VersionTest.java
+ test/sun/tools/jrunscript/CheckEngine.java
! test/sun/tools/jrunscript/common.sh
! test/sun/tools/jrunscript/jrunscript-DTest.sh
! test/sun/tools/jrunscript/jrunscript-argsTest.sh
! test/sun/tools/jrunscript/jrunscript-cpTest.sh
! test/sun/tools/jrunscript/jrunscript-eTest.sh
! test/sun/tools/jrunscript/jrunscript-fTest.sh
! test/sun/tools/jrunscript/jrunscriptTest.sh
Changeset: 1efd14b66af5
Author: alanb
Date: 2008-08-19 14:25 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/1efd14b66af5
Merge
! .hgtags
! make/java/nio/Makefile
- src/windows/classes/sun/java2d/d3d/D3DBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/DDBlitLoops.java
- src/windows/classes/sun/java2d/windows/DDRenderer.java
- src/windows/classes/sun/java2d/windows/DDScaleLoops.java
- src/windows/classes/sun/java2d/windows/Win32OffScreenSurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceDataProxy.java
- src/windows/classes/sun/java2d/windows/WinBackBuffer.java
- src/windows/classes/sun/java2d/windows/WinBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/WinVolatileSurfaceManager.java
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.cpp
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.h
- src/windows/native/sun/java2d/d3d/D3DTestRaster.h
- src/windows/native/sun/java2d/d3d/D3DTextRenderer_md.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.h
- src/windows/native/sun/java2d/windows/DDBlitLoops.cpp
- src/windows/native/sun/java2d/windows/DDRenderer.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.h
- src/windows/native/sun/java2d/windows/Win32OffScreenSurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.h
- src/windows/native/sun/java2d/windows/WinBackBufferSurfaceData.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.h
- src/windows/native/sun/java2d/windows/ddrawUtils.cpp
- src/windows/native/sun/java2d/windows/ddrawUtils.h
- src/windows/native/sun/java2d/windows/dxCapabilities.cpp
- src/windows/native/sun/java2d/windows/dxCapabilities.h
- src/windows/native/sun/java2d/windows/dxInit.cpp
- src/windows/native/sun/java2d/windows/dxInit.h
Changeset: b6f746b0ecc4
Author: swamyv
Date: 2008-08-19 12:46 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/b6f746b0ecc4
6736461: ThreadMXBean Locks.java fails intermittently.
Summary: Fixed the test to wait for the right state before calling check thread information.
Reviewed-by: jjh
! test/java/lang/management/ThreadMXBean/Locks.java
Changeset: e35680499077
Author: ohair
Date: 2008-08-06 15:02 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/e35680499077
6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
Summary: Needed BOOT_JAR_JFLAGS. Fixed PREVIOUS_RELEASE_IMAGE.
Reviewed-by: tbell
! make/com/sun/crypto/provider/Makefile
! make/com/sun/inputmethods/indicim/Makefile
! make/com/sun/inputmethods/thaiim/Makefile
! make/common/BuildToolJar.gmk
! make/common/Demo.gmk
! make/common/Release.gmk
! make/common/internal/BinaryPlugs.gmk
! make/common/internal/ImportComponents.gmk
! make/common/shared/Defs-java.gmk
! make/java/management/Makefile
! make/javax/crypto/Makefile
! make/javax/swing/beaninfo/SwingBeans.gmk
! make/sun/jconsole/Makefile
! make/sun/net/spi/nameservice/dns/Makefile
! make/sun/nio/Makefile
! make/sun/security/mscapi/Makefile
! make/sun/security/pkcs11/Makefile
! make/sun/text/Makefile
Changeset: b374f6174534
Author: ohair
Date: 2008-07-30 19:40 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/b374f6174534
6729772: 64-bit build with SS12 compiler: SIGSEGV (0xb) at pc=0x0000000000000048, pid=14826, tid=2
Reviewed-by: tbell
! make/common/Defs-linux.gmk
! make/common/Defs-solaris.gmk
! make/common/Defs-windows.gmk
! make/common/Defs.gmk
! make/common/Library.gmk
! make/common/shared/Defs.gmk
! make/java/fdlibm/Makefile
! make/java/java_hprof_demo/Makefile
! make/sun/awt/Makefile
! make/sun/font/Makefile
! make/sun/font/t2k/Makefile
! make/sun/image/generic/Makefile
! make/sun/image/vis/Makefile
! make/sun/jpeg/Makefile
Changeset: a140a5aa5f2c
Author: ohair
Date: 2008-08-06 16:21 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/a140a5aa5f2c
6724669: JDK7: Official change to Sun Studio 12 compilers on Solaris
Reviewed-by: tbell
- make/README-builds.html
- make/README.html
! make/common/shared/Compiler-sun.gmk
! make/jprt.config
Changeset: a418b563ed63
Author: ohair
Date: 2008-08-06 16:43 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/a418b563ed63
Merge
- make/README-builds.html
- make/README.html
! make/common/Defs-linux.gmk
! make/common/Defs-solaris.gmk
! make/common/Defs-windows.gmk
! make/common/Defs.gmk
! make/common/shared/Defs.gmk
! make/java/fdlibm/Makefile
! make/java/java_hprof_demo/Makefile
! make/sun/font/Makefile
! make/sun/font/t2k/Makefile
! make/sun/jpeg/Makefile
Changeset: a5e641698d38
Author: ohair
Date: 2008-08-08 08:50 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/a5e641698d38
6734977: Fix build failure regarding the now deleted file jdk/README.html
Reviewed-by: xdono, tbell
- make/ASSEMBLY_EXCEPTION
- make/LICENSE
- make/README
- make/THIRD_PARTY_README
! make/common/Release.gmk
Changeset: 32a4e56d5f68
Author: ohair
Date: 2008-08-08 08:52 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/32a4e56d5f68
Merge
- make/ASSEMBLY_EXCEPTION
- make/LICENSE
- make/README
- make/THIRD_PARTY_README
! make/common/Release.gmk
Changeset: fa4c0a6cdd25
Author: xdono
Date: 2008-08-12 15:17 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/fa4c0a6cdd25
Merge
- make/java/nio/spp.sh
! make/sun/awt/Makefile
! make/sun/font/Makefile
- src/windows/classes/sun/java2d/d3d/D3DBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/DDBlitLoops.java
- src/windows/classes/sun/java2d/windows/DDRenderer.java
- src/windows/classes/sun/java2d/windows/DDScaleLoops.java
- src/windows/classes/sun/java2d/windows/Win32OffScreenSurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceData.java
- src/windows/classes/sun/java2d/windows/Win32SurfaceDataProxy.java
- src/windows/classes/sun/java2d/windows/WinBackBuffer.java
- src/windows/classes/sun/java2d/windows/WinBackBufferSurfaceData.java
- src/windows/classes/sun/java2d/windows/WinVolatileSurfaceManager.java
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.cpp
- src/windows/native/sun/java2d/d3d/D3DRuntimeTest.h
- src/windows/native/sun/java2d/d3d/D3DTestRaster.h
- src/windows/native/sun/java2d/d3d/D3DTextRenderer_md.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.cpp
- src/windows/native/sun/java2d/d3d/D3DUtils.h
- src/windows/native/sun/java2d/windows/DDBlitLoops.cpp
- src/windows/native/sun/java2d/windows/DDRenderer.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.cpp
- src/windows/native/sun/java2d/windows/RegistryKey.h
- src/windows/native/sun/java2d/windows/Win32OffScreenSurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.cpp
- src/windows/native/sun/java2d/windows/Win32SurfaceData.h
- src/windows/native/sun/java2d/windows/WinBackBufferSurfaceData.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.cpp
- src/windows/native/sun/java2d/windows/ddrawObject.h
- src/windows/native/sun/java2d/windows/ddrawUtils.cpp
- src/windows/native/sun/java2d/windows/ddrawUtils.h
- src/windows/native/sun/java2d/windows/dxCapabilities.cpp
- src/windows/native/sun/java2d/windows/dxCapabilities.h
- src/windows/native/sun/java2d/windows/dxInit.cpp
- src/windows/native/sun/java2d/windows/dxInit.h
Changeset: 4c24def75deb
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/4c24def75deb
Added tag jdk7-b33 for changeset fa4c0a6cdd25
! .hgtags
Changeset: e7d93d1d2bf0
Author: tbell
Date: 2008-08-14 22:16 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/e7d93d1d2bf0
Merge
- make/ASSEMBLY_EXCEPTION
- make/LICENSE
- make/README
- make/README-builds.html
- make/README.html
- make/THIRD_PARTY_README
Changeset: 092985e71d9e
Author: tbell
Date: 2008-08-18 09:20 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/092985e71d9e
Merge
Changeset: 1b114828900b
Author: tbell
Date: 2008-08-19 16:05 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/1b114828900b
Merge
Changeset: dc4067f914a2
Author: martin
Date: 2008-08-20 13:45 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/dc4067f914a2
6739302: Check that deserialization preserves EnumSet integrity
Reviewed-by: dl, chegar
Contributed-by: jjb at google.com
! src/share/classes/java/util/EnumSet.java
+ test/java/util/EnumSet/BogusEnumSet.java
Changeset: 52fbd007f47b
Author: swamyv
Date: 2008-08-22 10:37 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/52fbd007f47b
6653883: jmap with no option should print mmap instead of heap information.
Summary: Changed the default option of jmap to print mmap.
Reviewed-by: jjh
! src/share/classes/sun/tools/jmap/JMap.java
Changeset: 3a4370604bab
Author: ohair
Date: 2008-08-22 12:24 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3a4370604bab
6732421: Removed old javavm and Classic VM files from the jdk7 sources
Reviewed-by: alanb
! make/common/Defs.gmk
! make/java/verify/Makefile
! make/netbeans/awt2d/README
! make/tools/GenerateCharacter/check_class.c.template
! src/share/back/debugDispatch.c
! src/share/back/error_messages.c
! src/share/back/inStream.c
! src/share/back/outStream.h
! src/share/instrument/InstrumentationImplNativeMethods.c
! src/share/instrument/JPLISAgent.c
! src/share/javavm/export/jvm.h
- src/share/javavm/include/opcodes.h
- src/share/javavm/include/opcodes.length
- src/share/javavm/include/opcodes.list
- src/share/javavm/include/opcodes.weight
- src/share/javavm/include/opcodes.wide
- src/share/javavm/include/sys_api.h
- src/share/javavm/include/typedefs.h
! src/share/native/common/check_code.c
! src/share/native/common/check_format.c
! src/solaris/back/util_md.h
! src/solaris/instrument/FileSystemSupport_md.h
! src/solaris/javavm/export/jvm_md.h
- src/solaris/javavm/include/typedefs_md.h
! src/solaris/native/common/gdefs_md.h
! src/solaris/native/common/jlong_md.h
! src/windows/back/util_md.h
! src/windows/hpi/src/socket_md.c
! src/windows/hpi/src/threads_md.c
! src/windows/instrument/FileSystemSupport_md.h
! src/windows/javavm/export/jvm_md.h
- src/windows/javavm/include/typedefs_md.h
! src/windows/native/java/net/net_util_md.c
Changeset: 3dcc69147ff9
Author: sherman
Date: 2008-08-22 14:37 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3dcc69147ff9
4486841: UTF-8 decoder should adhere to corrigendum to Unicode 3.0.1
6636317: Optimize UTF-8 coder for ASCII input
Summary: re-write the UTF-8 charset to obey the standard and improve the performance
Reviewed-by: alanb
! src/share/classes/sun/nio/cs/UTF_8.java
+ test/sun/nio/cs/TestUTF8.java
Changeset: a33cf5828b82
Author: sherman
Date: 2008-08-22 22:54 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/a33cf5828b82
6740702: Comment tag update
Summary: tag update
Reviewed-by: mr
! src/share/classes/sun/nio/cs/UTF_8.java
Changeset: ac49bbdcc627
Author: alanb
Date: 2008-08-23 12:49 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/ac49bbdcc627
Merge
! .hgtags
- make/ASSEMBLY_EXCEPTION
- make/LICENSE
- make/README
- make/README-builds.html
- make/README.html
- make/THIRD_PARTY_README
- src/share/javavm/include/opcodes.h
- src/share/javavm/include/opcodes.length
- src/share/javavm/include/opcodes.list
- src/share/javavm/include/opcodes.weight
- src/share/javavm/include/opcodes.wide
- src/share/javavm/include/sys_api.h
- src/share/javavm/include/typedefs.h
- src/solaris/javavm/include/typedefs_md.h
- src/windows/javavm/include/typedefs_md.h
! src/windows/native/java/net/net_util_md.c
Changeset: 3ad90c246ac7
Author: alanb
Date: 2008-08-23 15:38 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/3ad90c246ac7
Candidate API updates for b94:
- Make it easy to access provider specific attributes
- Make it easy to check which attributes are supported
- Make it easy to create attributes for use with createFile/createDirectory
- Added PosixFilePermissions to make it easier to work with file permissions
- Added type parameter to DirectoryStream (allows DirectoryEntry to be removed)
- Added type parameter to FileVisitor (allows relPath parameter to be removed
- Rename NameMatcher to PathMatcher to allow for improved matching in the future
- Path updates: removed canAccess, added isHidden
- Added SKIP_SIBLINGS option for walkFileTree, renamed PRUNE to SKIP_SUBTREE
Implementation updates/bugs:
- On Windows couldn't specify initial ACL when creating file
- Added Chmod demo
- Centralize MIME dependencies (eliminate dependency on javax.activiation in future)
- Fixed glob corner cases
! make/java/nio/FILES_java.gmk
! make/java/nio/Makefile
! make/mksample/nio/file/Makefile
! src/share/classes/java/nio/Bits.java
! src/share/classes/java/nio/file/AbstractFileVisitor.java
! src/share/classes/java/nio/file/DirectoryAction.java
- src/share/classes/java/nio/file/DirectoryEntry.java
! src/share/classes/java/nio/file/DirectoryStream.java
! src/share/classes/java/nio/file/DirectoryStreamFilters.java
! src/share/classes/java/nio/file/FileRef.java
! src/share/classes/java/nio/file/FileStore.java
! src/share/classes/java/nio/file/FileSystem.java
! src/share/classes/java/nio/file/FileTreeWalker.java
! src/share/classes/java/nio/file/FileVisitResult.java
! src/share/classes/java/nio/file/FileVisitor.java
! src/share/classes/java/nio/file/Files.java
- src/share/classes/java/nio/file/NameMatcher.java
! src/share/classes/java/nio/file/Path.java
+ src/share/classes/java/nio/file/PathMatcher.java
! src/share/classes/java/nio/file/SecureDirectoryStream.java
! src/share/classes/java/nio/file/StandardOpenOption.java
! src/share/classes/java/nio/file/WatchKey.java
! src/share/classes/java/nio/file/Watchable.java
! src/share/classes/java/nio/file/attribute/AclEntry.java
! src/share/classes/java/nio/file/attribute/AclEntryFlag.java
! src/share/classes/java/nio/file/attribute/AclEntryPermission.java
! src/share/classes/java/nio/file/attribute/AclFileAttributeView.java
! src/share/classes/java/nio/file/attribute/Attribute.java
! src/share/classes/java/nio/file/attribute/AttributeView.java
! src/share/classes/java/nio/file/attribute/Attributes.java
! src/share/classes/java/nio/file/attribute/BasicFileAttributeView.java
! src/share/classes/java/nio/file/attribute/BasicFileAttributes.java
! src/share/classes/java/nio/file/attribute/DosFileAttributeView.java
! src/share/classes/java/nio/file/attribute/FileAttributeView.java
! src/share/classes/java/nio/file/attribute/FileOwnerAttributeView.java
! src/share/classes/java/nio/file/attribute/FileStoreAttributeView.java
! src/share/classes/java/nio/file/attribute/FileStoreSpaceAttributeView.java
! src/share/classes/java/nio/file/attribute/NamedAttributeView.java
! src/share/classes/java/nio/file/attribute/PosixFileAttributeView.java
! src/share/classes/java/nio/file/attribute/PosixFilePermission.java
+ src/share/classes/java/nio/file/attribute/PosixFilePermissions.java
! src/share/classes/java/nio/file/attribute/package-info.java
! src/share/classes/java/nio/file/spi/AbstractPath.java
+ src/share/classes/sun/nio/fs/AbstractAclFileAttributeView.java
+ src/share/classes/sun/nio/fs/AbstractBasicFileAttributeView.java
+ src/share/classes/sun/nio/fs/AbstractFileStoreSpaceAttributeView.java
! src/share/classes/sun/nio/fs/AbstractFileTypeDetector.java
! src/share/classes/sun/nio/fs/AbstractNamedAttributeView.java
! src/share/classes/sun/nio/fs/AbstractWatchService.java
+ src/share/classes/sun/nio/fs/FileOwnerAttributeViewImpl.java
! src/share/classes/sun/nio/fs/Globs.java
+ src/share/classes/sun/nio/fs/MimeType.java
! src/share/classes/sun/nio/fs/PollingWatchService.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/JarFileAttributeView.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileAttributeView.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileBasicAttributeView.java
- src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileEntry.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFilePath.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileStore.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileStream.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFileSystem.java
+ src/share/sample/nio/file/Chmod.java
! src/share/sample/nio/file/Copy.java
! src/share/sample/nio/file/WatchDir.java
! src/share/sample/nio/file/Xdd.java
! src/solaris/classes/sun/nio/fs/LinuxDosFileAttributeView.java
! src/solaris/classes/sun/nio/fs/LinuxFileStore.java
! src/solaris/classes/sun/nio/fs/LinuxFileSystem.java
! src/solaris/classes/sun/nio/fs/SolarisAclFileAttributeView.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/UnixDirectoryStream.java
- src/solaris/classes/sun/nio/fs/UnixFileAttributeView.java
+ src/solaris/classes/sun/nio/fs/UnixFileAttributeViews.java
! src/solaris/classes/sun/nio/fs/UnixFileAttributes.java
! src/solaris/classes/sun/nio/fs/UnixFileModeAttribute.java
! src/solaris/classes/sun/nio/fs/UnixFileStore.java
! src/solaris/classes/sun/nio/fs/UnixFileSystem.java
! src/solaris/classes/sun/nio/fs/UnixPath.java
! src/solaris/classes/sun/nio/fs/UnixSecureDirectoryStream.java
! src/solaris/classes/sun/nio/fs/UnixUserPrincipal.java
! src/windows/classes/sun/nio/fs/WindowsAclFileAttributeView.java
! src/windows/classes/sun/nio/fs/WindowsChannelFactory.java
! src/windows/classes/sun/nio/fs/WindowsDirectoryStream.java
- src/windows/classes/sun/nio/fs/WindowsFileAttributeView.java
+ src/windows/classes/sun/nio/fs/WindowsFileAttributeViews.java
! src/windows/classes/sun/nio/fs/WindowsFileCopy.java
! src/windows/classes/sun/nio/fs/WindowsFileStore.java
! src/windows/classes/sun/nio/fs/WindowsFileSystem.java
! src/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java
! src/windows/classes/sun/nio/fs/WindowsNamedAttributeView.java
! src/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java
! src/windows/classes/sun/nio/fs/WindowsPath.java
+ src/windows/classes/sun/nio/fs/WindowsSecurityDescriptor.java
! src/windows/classes/sun/nio/fs/WindowsUserPrincipal.java
! src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c
! test/demo/nio/ZipFileSystem/Sanity.java
! test/java/nio/file/DirectoryStream/Basic.java
! test/java/nio/file/DirectoryStream/Filters.java
! test/java/nio/file/DirectoryStream/SecureDS.java
! test/java/nio/file/FileStore/Basic.java
! test/java/nio/file/FileSystem/Basic.java
! test/java/nio/file/Files/CreateFileTree.java
! test/java/nio/file/Files/Misc.java
! test/java/nio/file/Files/PrintFileTree.java
+ test/java/nio/file/Files/SkipSiblings.java
! test/java/nio/file/Files/walk_file_tree.sh
! test/java/nio/file/Path/CopyAndMove.java
! test/java/nio/file/Path/Misc.java
! test/java/nio/file/Path/PathOps.java
+ test/java/nio/file/PathMatcher/Basic.java
! test/java/nio/file/TestUtil.java
! test/java/nio/file/attribute/AclFileAttributeView/Basic.java
+ test/java/nio/file/attribute/Attributes/Basic.java
! test/java/nio/file/attribute/DosFileAttributeView/Basic.java
! test/java/nio/file/attribute/NamedAttributeView/Basic.java
! test/java/nio/file/attribute/PosixFileAttributeView/Basic.java
! test/java/nio/file/spi/TestProvider.java
Changeset: a1b1ad4811d5
Author: alanb
Date: 2008-08-23 15:44 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/a1b1ad4811d5
Cleanups before pushing 4640544 to jdk7
! src/share/classes/sun/nio/ch/DatagramChannelImpl.java
! src/share/classes/sun/nio/ch/ServerSocketChannelImpl.java
! src/share/classes/sun/nio/ch/SocketChannelImpl.java
! src/solaris/native/sun/nio/ch/Net.c
! src/windows/native/sun/nio/ch/Net.c
! test/java/nio/channels/TestUtil.java
From alan.bateman at sun.com Sat Aug 23 08:17:45 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Sat, 23 Aug 2008 15:17:45 +0000
Subject: hg: nio/nio/langtools: 7 new changesets
Message-ID: <20080823151757.40157DA55@hg.openjdk.java.net>
Changeset: 4af43632966c
Author: xdono
Date: 2008-08-04 13:45 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/4af43632966c
Added tag jdk7-b32 for changeset 13aee98cc0d8
! .hgtags
Changeset: 0a5f04fb7282
Author: tbell
Date: 2008-08-07 09:45 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/0a5f04fb7282
Merge
Changeset: 7ec8d871eb8c
Author: tbell
Date: 2008-08-07 18:03 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/7ec8d871eb8c
Merge
- test/tools/javac/5045412/out
Changeset: eefde0421566
Author: tbell
Date: 2008-08-10 18:36 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/eefde0421566
Merge
Changeset: 1c4a97a661b9
Author: xdono
Date: 2008-08-14 09:26 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/1c4a97a661b9
Added tag jdk7-b33 for changeset 0a5f04fb7282
! .hgtags
Changeset: 4026dece07e8
Author: tbell
Date: 2008-08-14 22:17 -0700
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/4026dece07e8
Merge
Changeset: 37551dc0f591
Author: mcimadamore
Date: 2008-08-22 11:46 +0100
URL: http://hg.openjdk.java.net/nio/nio/langtools/rev/37551dc0f591
6733837: Recent work on javac diagnostic affected javac output
Summary: Problems with diagnostic path and tab character in the source code
Reviewed-by: darcy, jjg
! src/share/classes/com/sun/tools/javac/api/DiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/DiagnosticSource.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/share/classes/com/sun/tools/javac/util/Log.java
! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
+ test/tools/javac/api/6733837/T6733837.java
From Alan.Bateman at Sun.COM Tue Aug 26 06:17:03 2008
From: Alan.Bateman at Sun.COM (Alan Bateman)
Date: Tue, 26 Aug 2008 14:17:03 +0100
Subject: b94?
In-Reply-To: <4886E58E.30903@sun.com>
References: <4886E58E.30903@sun.com>
Message-ID: <48B4024F.30605@sun.com>
I plan to ask Xiomara to push a new build for us to the download area
this evening. If anyone has any bugs/issues needed for this build then
let me know today.
-Alan.
From alan.bateman at sun.com Tue Aug 26 12:58:34 2008
From: alan.bateman at sun.com (alan.bateman at sun.com)
Date: Tue, 26 Aug 2008 19:58:34 +0000
Subject: hg: nio/nio/jdk: 12 new changesets
Message-ID: <20080826200107.098E4DC12@hg.openjdk.java.net>
Changeset: a4ff2fe5b5d9
Author: weijun
Date: 2008-08-06 08:11 +0800
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/a4ff2fe5b5d9
6731685: CertificateFactory.generateCertificates throws IOException on PKCS7 cert chain
Reviewed-by: mullan
! src/share/classes/sun/security/util/DerIndefLenConverter.java
+ test/sun/security/util/DerValue/Indefinite.java
Changeset: 97d08b2b4539
Author: chegar
Date: 2008-08-06 07:14 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/97d08b2b4539
6734171: java.net.NetworkInterface reports XCheck:jni warnings
Summary: Removed leading "L" or trailing ";" from FindClass classname param
Reviewed-by: alanb
! src/windows/native/java/net/NetworkInterface.c
Changeset: 874f4db252e3
Author: wetmore
Date: 2008-08-20 00:41 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/874f4db252e3
Merge
Changeset: afcf04c535da
Author: michaelm
Date: 2008-08-21 10:04 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/afcf04c535da
6258215: Num of backlog in ServerSocket(int, int) should be mentioned more explicitly
Summary: updated javadoc
Reviewed-by: chegar
! src/share/classes/java/net/ServerSocket.java
! src/share/classes/javax/net/ssl/SSLServerSocket.java
Changeset: f4289d75cd29
Author: jccollet
Date: 2008-08-25 14:38 +0200
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/f4289d75cd29
6717876: Make java.net.NetworkInterface.getIndex() public
Summary: Make getIndex() and getByIndex() public. Required a name change in native code
Reviewed-by: alanb, chegar, michaelm
! make/java/net/mapfile-vers
! src/share/classes/java/net/NetworkInterface.java
! src/solaris/native/java/net/NetworkInterface.c
! src/solaris/native/java/net/PlainDatagramSocketImpl.c
! src/windows/native/java/net/NetworkInterface.c
! src/windows/native/java/net/NetworkInterface_winXP.c
! src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c
! src/windows/native/java/net/net_util_md.h
+ test/java/net/NetworkInterface/IndexTest.java
Changeset: 872241636752
Author: wetmore
Date: 2008-08-25 08:11 -0700
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/872241636752
Merge
Changeset: 60c2df70a57c
Author: alanb
Date: 2008-08-26 11:21 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/60c2df70a57c
Merge
! src/share/classes/java/net/NetworkInterface.java
Changeset: 2a5377a6492e
Author: alanb
Date: 2008-08-26 09:23 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/2a5377a6492e
6728542: (se) epoll based SelectorProvider should be portable to platforms other than x86 and x64
Reviewed-by: sherman
! make/java/nio/mapfile-linux
! src/solaris/classes/sun/nio/ch/EPollArrayWrapper.java
! src/solaris/native/sun/nio/ch/EPollArrayWrapper.c
Changeset: ea45b0c72096
Author: alanb
Date: 2008-08-26 10:21 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/ea45b0c72096
6682020: (bf) Support monitoring of direct and mapped buffer usage
Reviewed-by: mchung, iris
! make/java/java/FILES_java.gmk
! make/java/nio/FILES_java.gmk
! src/share/classes/java/lang/management/PlatformComponent.java
! src/share/classes/java/nio/Bits.java
+ src/share/classes/java/nio/BufferPoolMXBean.java
! src/share/classes/java/nio/Direct-X-Buffer.java
+ src/share/classes/sun/misc/JavaNioAccess.java
! src/share/classes/sun/misc/SharedSecrets.java
! src/share/classes/sun/nio/ch/FileChannelImpl.java
+ test/java/nio/BufferPoolMXBean/Basic.java
Changeset: 6ce1bfdc9fa3
Author: alanb
Date: 2008-08-26 12:48 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/6ce1bfdc9fa3
Merge
! make/java/nio/FILES_java.gmk
! make/java/nio/mapfile-linux
! src/share/classes/java/nio/Bits.java
! src/share/classes/sun/misc/SharedSecrets.java
! src/share/classes/sun/nio/ch/FileChannelImpl.java
Changeset: e603366f04ed
Author: alanb
Date: 2008-08-26 14:06 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/e603366f04ed
Removed shared secret needed to access NetworkInterface index
Small clean-ups to file system API
- Rename DirectoryAction to FileAction
- Rename collapse to normalize
- isHidden exception inconsistent
- Fix broken links
! make/java/nio/FILES_java.gmk
! src/share/classes/java/net/NetworkInterface.java
- src/share/classes/java/nio/file/DirectoryAction.java
! src/share/classes/java/nio/file/DirectoryStream.java
! src/share/classes/java/nio/file/DirectoryStreamFilters.java
+ src/share/classes/java/nio/file/FileAction.java
! 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/SecureDirectoryStream.java
- src/share/classes/sun/misc/JavaNetNetworkInterfaceAccess.java
! src/share/classes/sun/misc/SharedSecrets.java
! src/share/classes/sun/nio/ch/DatagramChannelImpl.java
! src/share/classes/sun/nio/ch/Net.java
! src/share/demo/nio/ZipFileSystem/com/sun/nio/zipfs/ZipFilePath.java
! src/solaris/classes/sun/nio/fs/UnixPath.java
! src/windows/classes/sun/nio/fs/WindowsPath.java
! test/demo/nio/ZipFileSystem/Sanity.java
! test/java/nio/file/DirectoryStream/Basic.java
! test/java/nio/file/Files/Misc.java
! test/java/nio/file/Files/SkipSiblings.java
+ test/java/nio/file/Files/TerminateWalk.java
! test/java/nio/file/Files/walk_file_tree.sh
! test/java/nio/file/Path/PathOps.java
Changeset: 5130e7ddfa65
Author: alanb
Date: 2008-08-26 20:28 +0100
URL: http://hg.openjdk.java.net/nio/nio/jdk/rev/5130e7ddfa65
Added tag nio2-b94 for changeset e603366f04ed
! .hgtags