Re: Miscellaneous improvements to "jar".

2009-06-28 Thread Xueming Shen
Looks fine. (1) "import java.nio.file.Paths" is not used by anyone. (2)nio2 APIs are good, but now I can't not just copy/paste the jar Main to 6.x:-) sherman Martin Buchholz wrote: On Fri, Jun 26, 2009 at 10:33, Xueming Shen > wrote: The latest version

hg: jdk7/tl/jdk: 2 new changesets

2009-06-28 Thread kelly . ohair
Changeset: dd20c662d463 Author:ohair Date: 2009-06-26 21:52 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/dd20c662d463 6855180: Fix classfile version check in java_crw_demo Reviewed-by: jjg ! src/share/demo/jvmti/java_crw_demo/java_crw_demo.c ! src/share/javavm/export/class

hg: jdk7/tl/jdk: 2 new changesets

2009-06-28 Thread alan . bateman
Changeset: 5208d0c90d73 Author:alanb Date: 2009-06-27 21:46 +0100 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5208d0c90d73 6838333: New I/O: Update file system API to jsr203/nio2-b101 6844313: New I/O: File timestamps should be represented by a FileTime rather than a long+TimeU

Re: Miscellaneous improvements to "jar".

2009-06-28 Thread Alan Bateman
Martin Buchholz wrote: : - using Path.moveTo is more likely to be atomic, so that a concurrent process is less likely to find the jar being updated missing. (Alan: is there a better way to do the common task of replacing a file with its transformed output?) The moveTo method does have the AT

Re: Miscellaneous improvements to "jar".

2009-06-28 Thread Ulf Zibis
Yes, thanks for the copious discussion. -Ulf Am 27.06.2009 23:27, Martin Buchholz schrieb: Let's take the latest code style as a compromise we can all live with. Martin On Sat, Jun 27, 2009 at 10:20, Ulf Zibis > wrote: Additional 2 cents, I more would like: