From david.buck at oracle.com Fri Sep 2 11:32:41 2011 From: david.buck at oracle.com (david.buck at oracle.com) Date: Fri, 02 Sep 2011 11:32:41 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 7074386: fallback to fontconfig..bfc/properties if fontconfig... Message-ID: <20110902113309.83F35472EF@hg.openjdk.java.net> Changeset: fbfd97a14af1 Author: dbuck Date: 2011-09-02 04:28 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/fbfd97a14af1 7074386: fallback to fontconfig..bfc/properties if fontconfig... Summary: fallback to fontconfig..bfc/properties if fontconfig... is not found Reviewed-by: prr, robm ! src/share/classes/sun/awt/FontConfiguration.java From philip.race at oracle.com Tue Sep 6 20:47:15 2011 From: philip.race at oracle.com (philip.race at oracle.com) Date: Tue, 06 Sep 2011 20:47:15 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 7050826: Hebrew characters are not rendered on OEL 5.6 Message-ID: <20110906204739.C5752473FF@hg.openjdk.java.net> Changeset: b8b6587b9574 Author: prr Date: 2011-09-06 13:40 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/b8b6587b9574 7050826: Hebrew characters are not rendered on OEL 5.6 Reviewed-by: bae, jgodinez ! src/solaris/native/sun/awt/fontpath.c From jeannette.hung at oracle.com Wed Sep 7 04:44:20 2011 From: jeannette.hung at oracle.com (Jeannette Hung) Date: Tue, 6 Sep 2011 21:44:20 -0700 Subject: [OpenJDK 2D-Dev] code review request: 7087428: move client tests out of jdk_misc In-Reply-To: <4E66D686.2050008@oracle.com> References: <4E663868.8040606@oracle.com> <4E66D686.2050008@oracle.com> Message-ID: Including 2d-dev, since javax/imageio, javax/print, sun/pisces, is 2d code. On Sep 6, 2011, at 7:27 PM, Weijun Wang wrote: > Updated: > > root: http://cr.openjdk.java.net/~weijun/7087428/control/webrev.00/ > jdk: http://cr.openjdk.java.net/~weijun/7087428/webrev.01/ > > I also update Makefile to put jdk_sound to its correct alphabetical position. > > Thanks > Max > > > On 09/07/2011 02:30 AM, Kelly O'Hair wrote: >> Looks fine. >> >> But the files make/jprt.properties in both the root repository and the jdk repository >> will minor changes to add jdk_sound as a new test for JPRT. >> You can place it in the jprt.make.rule.all.test.targets list. >> >> -kto >> >> On Sep 6, 2011, at 8:12 AM, Weijun Wang wrote: >> >>> Hi Kelly >>> >>> Webrev at http://cr.openjdk.java.net/~weijun/7087428/webrev.00/ >>> >>> Basically I'd like jdk_misc batch to contain only "headless" tests and move all the others into their own batch. >>> >>> Changes: >>> >>> 1. Move javax/imageio, javax/print, sun/pisces to jdk_awt >>> 2. Move com/sun/java/swing to jdk_swing >>> 3. Move com/sun/org/apache/xml/internal/security to jdk_security3 >>> 4. Create a separate batch jdk_sound for javax/sound >>> 5. Divide demo to different parts and move demo/jfc to jdk_swing. If the demo dir is moved to some other directory later, more updates will be needed. >>> >>> Please note that I change com/sun/java to com/sun/java/swing, and com/sun/org to com/sun/org/apache/xml/internal/security, since those are the only sub-dir there. There might be other sub-dirs later. >>> >>> Thanks >>> Max >>> >>> -------- Original Message -------- >>> 7087428: move client tests out of jdk_misc >>> >>> === *Description* ============================================================ >>> The jdk_misc batch in test/Makefile contains tests for swing, sound etc, They should be moved to their own batches. >>> >> From Alan.Bateman at oracle.com Wed Sep 7 11:07:18 2011 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Wed, 07 Sep 2011 12:07:18 +0100 Subject: [OpenJDK 2D-Dev] code review request: 7087428: move client tests out of jdk_misc In-Reply-To: <4E66D686.2050008@oracle.com> References: <4E663868.8040606@oracle.com> <4E66D686.2050008@oracle.com> Message-ID: <4E675066.5040005@oracle.com> Weijun Wang wrote: > Updated: > > root: http://cr.openjdk.java.net/~weijun/7087428/control/webrev.00/ > jdk: http://cr.openjdk.java.net/~weijun/7087428/webrev.01/ > > I also update Makefile to put jdk_sound to its correct alphabetical > position. The changes look okay to me. The jdk_misc batch is still an odd mix of tests but clearly fine grain splitting will lead to too many tiny batches. I don't know what to say about the jdk_swing and jdk_awt batches. It does seem a bit strange to have some 2d tests in the jdk_swing batch and others in the jdk_awt batch. I haven't seen any change-sets from folks in those areas adding or removing tests from the problem list so it's possible that they aren't using the make file to run the tests. -Alan. From kelly.ohair at oracle.com Wed Sep 7 15:43:44 2011 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 7 Sep 2011 08:43:44 -0700 Subject: [OpenJDK 2D-Dev] code review request: 7087428: move client tests out of jdk_misc In-Reply-To: <4E675066.5040005@oracle.com> References: <4E663868.8040606@oracle.com> <4E66D686.2050008@oracle.com> <4E675066.5040005@oracle.com> Message-ID: <4546D8D0-0135-476A-A340-878547762C3C@oracle.com> On Sep 7, 2011, at 4:07 AM, Alan Bateman wrote: > Weijun Wang wrote: >> Updated: >> >> root: http://cr.openjdk.java.net/~weijun/7087428/control/webrev.00/ >> jdk: http://cr.openjdk.java.net/~weijun/7087428/webrev.01/ >> >> I also update Makefile to put jdk_sound to its correct alphabetical position. > The changes look okay to me. The jdk_misc batch is still an odd mix of tests but clearly fine grain splitting will lead to too many tiny batches. > > I don't know what to say about the jdk_swing and jdk_awt batches. It does seem a bit strange to have some 2d tests in the jdk_swing batch and others in the jdk_awt batch. I haven't seen any change-sets from folks in those areas adding or removing tests from the problem list so it's possible that they aren't using the make file to run the tests. Not sure they run these tests much from the Makefile. Originally I had to corral them off because they belonged to a set of tests that only worked with a DISPLAY setup on Solaris/Linux, and they seemed to poison the DISPLAY with strange settings. That's when I created a unique VNC display on the JPRT driver machine for each user job in JPRT, starting the DISPLAY fresh each time and killing it off when the job was done, so the poisoning was contained and didn't impact other user jobs. Last time I ran them, they seemed to run ok. (and jdk_misc has some tests that need a DISPLAY too I think). We should probably warn Amy (QE) about these tests. :^( -kto From lana.steuck at oracle.com Sun Sep 11 04:04:10 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sun, 11 Sep 2011 04:04:10 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/corba: 4 new changesets Message-ID: <20110911040417.D9FDD47548@hg.openjdk.java.net> Changeset: ed8d94519a87 Author: cl Date: 2011-08-18 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/corba/rev/ed8d94519a87 Added tag jdk8-b01 for changeset 949fb60ca830 ! .hgtags Changeset: cd0da00694fb Author: schien Date: 2011-08-25 17:17 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/corba/rev/cd0da00694fb Added tag jdk8-b02 for changeset ed8d94519a87 ! .hgtags Changeset: 60a68d688e24 Author: schien Date: 2011-09-01 13:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/corba/rev/60a68d688e24 Added tag jdk8-b03 for changeset cd0da00694fb ! .hgtags Changeset: cc1b599b986a Author: schien Date: 2011-09-08 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/corba/rev/cc1b599b986a Added tag jdk8-b04 for changeset 60a68d688e24 ! .hgtags From lana.steuck at oracle.com Sun Sep 11 04:04:18 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sun, 11 Sep 2011 04:04:18 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jaxp: 4 new changesets Message-ID: <20110911040418.C7A9847549@hg.openjdk.java.net> Changeset: ca4d6ad55a66 Author: cl Date: 2011-08-18 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxp/rev/ca4d6ad55a66 Added tag jdk8-b01 for changeset 4f0fcb812767 ! .hgtags Changeset: 7a74371ce0c6 Author: schien Date: 2011-08-25 17:18 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxp/rev/7a74371ce0c6 Added tag jdk8-b02 for changeset ca4d6ad55a66 ! .hgtags Changeset: acbcadef0b21 Author: schien Date: 2011-09-01 13:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxp/rev/acbcadef0b21 Added tag jdk8-b03 for changeset 7a74371ce0c6 ! .hgtags Changeset: ff0a3d78e7a2 Author: schien Date: 2011-09-08 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxp/rev/ff0a3d78e7a2 Added tag jdk8-b04 for changeset acbcadef0b21 ! .hgtags From lana.steuck at oracle.com Sun Sep 11 04:04:22 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sun, 11 Sep 2011 04:04:22 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jaxws: 4 new changesets Message-ID: <20110911040422.6F1614754A@hg.openjdk.java.net> Changeset: 1034127ed402 Author: cl Date: 2011-08-18 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxws/rev/1034127ed402 Added tag jdk8-b01 for changeset 64df57a1edec ! .hgtags Changeset: 7dcb0307508f Author: schien Date: 2011-08-25 17:18 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxws/rev/7dcb0307508f Added tag jdk8-b02 for changeset 1034127ed402 ! .hgtags Changeset: 3f6f08163331 Author: schien Date: 2011-09-01 13:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxws/rev/3f6f08163331 Added tag jdk8-b03 for changeset 7dcb0307508f ! .hgtags Changeset: 7d5d91fddbce Author: schien Date: 2011-09-08 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxws/rev/7d5d91fddbce Added tag jdk8-b04 for changeset 3f6f08163331 ! .hgtags From lana.steuck at oracle.com Sun Sep 11 04:04:29 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sun, 11 Sep 2011 04:04:29 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/langtools: 4 new changesets Message-ID: <20110911040441.358814754B@hg.openjdk.java.net> Changeset: b3c059de2a61 Author: cl Date: 2011-08-18 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/b3c059de2a61 Added tag jdk8-b01 for changeset e9f118c2bd3c ! .hgtags Changeset: f497fac86cf9 Author: schien Date: 2011-08-25 17:18 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/f497fac86cf9 Added tag jdk8-b02 for changeset b3c059de2a61 ! .hgtags Changeset: 5df63fd8fa64 Author: schien Date: 2011-09-01 13:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/5df63fd8fa64 Added tag jdk8-b03 for changeset f497fac86cf9 ! .hgtags Changeset: 5304c2a17d4b Author: schien Date: 2011-09-08 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/5304c2a17d4b Added tag jdk8-b04 for changeset 5df63fd8fa64 ! .hgtags From lana.steuck at oracle.com Sun Sep 11 04:04:42 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sun, 11 Sep 2011 04:04:42 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/hotspot: 68 new changesets Message-ID: <20110911040650.AE4DE4754C@hg.openjdk.java.net> Changeset: 31e253c1da42 Author: cl Date: 2011-08-18 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/31e253c1da42 Added tag jdk8-b01 for changeset 0cc8a70952c3 ! .hgtags Changeset: a3592789b47c Author: schien Date: 2011-08-25 17:17 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a3592789b47c Added tag jdk8-b02 for changeset 31e253c1da42 ! .hgtags Changeset: 20cac004a4f9 Author: dsamersoff Date: 2011-06-09 01:06 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/20cac004a4f9 Merge Changeset: 1744e37e032b Author: dsamersoff Date: 2011-06-18 13:32 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/1744e37e032b Merge Changeset: d425748f2203 Author: dcubed Date: 2011-06-23 20:31 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/d425748f2203 7043987: 3/3 JVMTI FollowReferences is slow Summary: VM_HeapWalkOperation::doit() should only reset mark bits when necessary. Reviewed-by: dsamersoff, ysr, dholmes, dcubed Contributed-by: ashok.srinivasa.murthy at oracle.com ! src/share/vm/prims/jvmtiTagMap.cpp Changeset: 88dce6a60ac8 Author: dcubed Date: 2011-06-29 20:28 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/88dce6a60ac8 6951623: 3/3 possible performance problems in FollowReferences() and GetObjectsWithTags() Summary: Call collect_stack_roots() before collect_simple_roots() as an optimization. Reviewed-by: ysr, dsamersoff, dcubed Contributed-by: ashok.srinivasa.murthy at oracle.com ! src/share/vm/prims/jvmtiTagMap.cpp Changeset: 109d1d265924 Author: dholmes Date: 2011-07-02 04:17 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/109d1d265924 7052988: JPRT embedded builds don't set MINIMIZE_RAM_USAGE Reviewed-by: kamg, dsamersoff ! make/jprt.gmk Changeset: 5447b2c582ad Author: coleenp Date: 2011-07-07 22:34 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/5447b2c582ad Merge Changeset: bcc6475bc68f Author: coleenp Date: 2011-07-16 22:21 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/bcc6475bc68f Merge Changeset: 0b80db433fcb Author: dholmes Date: 2011-07-22 00:29 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/0b80db433fcb 7046490: Preallocated OOME objects should obey Throwable stack trace protocol Summary: Update the OOME stacktrace to contain Throwable.UNASSIGNED_STACK when the backtrace is filled in Reviewed-by: mchung, phh ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp Changeset: 8107273fd204 Author: coleenp Date: 2011-07-23 10:42 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/8107273fd204 Merge Changeset: ca1f1753c866 Author: andrew Date: 2011-07-28 14:10 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/ca1f1753c866 7072341: enable hotspot builds on Linux 3.0 Summary: Add "3" to list of allowable versions Reviewed-by: kamg, chrisphi ! make/linux/Makefile Changeset: 14a2fd14c0db Author: johnc Date: 2011-08-01 10:04 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/14a2fd14c0db 7068240: G1: Long "parallel other time" and "ext root scanning" when running specific benchmark Summary: In root processing, move the scanning of the reference processor's discovered lists to before RSet updating and scanning. When scanning the reference processor's discovered lists, use a buffering closure so that the time spent copying any reference object is correctly attributed. Also removed a couple of unused and irrelevant timers. Reviewed-by: ysr, jmasa ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Changeset: 6aa4feb8a366 Author: johnc Date: 2011-08-02 12:13 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/6aa4feb8a366 7069863: G1: SIGSEGV running SPECjbb2011 and -UseBiasedLocking Summary: Align the reserved size of the heap and perm to the heap region size to get a preferred heap base that is aligned to the region size, and call the correct heap reservation constructor. Also add a check in the heap reservation code that the reserved space starts at the requested address (if any). Reviewed-by: kvn, ysr ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/runtime/virtualspace.cpp Changeset: a20e6e447d3d Author: iveresov Date: 2011-08-05 16:44 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a20e6e447d3d 7060842: UseNUMA crash with UseHugreTLBFS running SPECjvm2008 Summary: Use mmap() instead of madvise(MADV_DONTNEED) to uncommit pages Reviewed-by: ysr ! src/os/linux/vm/os_linux.cpp Changeset: 7c2653aefc46 Author: iveresov Date: 2011-08-05 16:50 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/7c2653aefc46 7060836: RHEL 5.5 and 5.6 should support UseNUMA Summary: Add a wrapper for sched_getcpu() for systems where libc lacks it Reviewed-by: ysr Contributed-by: Andrew John Hughes ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/os_linux.hpp Changeset: 41e6ee74f879 Author: kevinw Date: 2011-08-02 14:37 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/41e6ee74f879 7072527: CMS: JMM GC counters overcount in some cases Summary: Avoid overcounting when CMS has concurrent mode failure. Reviewed-by: ysr Contributed-by: rednaxelafx at gmail.com ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp + test/gc/7072527/TestFullGCCount.java Changeset: e9db47a083cc Author: kevinw Date: 2011-08-11 14:58 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/e9db47a083cc Merge Changeset: 87e40b34bc2b Author: johnc Date: 2011-08-11 11:36 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/87e40b34bc2b 7074579: G1: JVM crash with JDK7 running ATG CRMDemo Fusion App Summary: Handlize MemoryUsage klass oop in createGCInfo routine Reviewed-by: tonyp, fparain, ysr, jcoomes ! src/share/vm/services/gcNotifier.cpp Changeset: f44782f04dd4 Author: tonyp Date: 2011-08-12 11:31 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/f44782f04dd4 7039627: G1: avoid BOT updates for survivor allocations and dirty survivor regions incrementally Summary: Refactor the allocation code during GC to use the G1AllocRegion abstraction. Use separate subclasses of G1AllocRegion for survivor and old regions. Avoid BOT updates and dirty survivor cards incrementally for the former. Reviewed-by: brutisso, johnc, ysr ! src/share/vm/gc_implementation/g1/g1AllocRegion.cpp ! src/share/vm/gc_implementation/g1/g1AllocRegion.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Changeset: 76b1a9420e3d Author: ysr Date: 2011-08-16 08:02 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/76b1a9420e3d Merge Changeset: 46cb9a7b8b01 Author: dsamersoff Date: 2011-08-10 15:04 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/46cb9a7b8b01 7073913: The fix for 7017193 causes segfaults Summary: Buffer overflow in os::get_line_chars Reviewed-by: coleenp, dholmes, dcubed Contributed-by: aph at redhat.com ! src/share/vm/runtime/os.cpp Changeset: b1cbb0907b36 Author: zgu Date: 2011-04-15 09:34 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/b1cbb0907b36 7016797: Hotspot: securely/restrictive load dlls and new API for loading system dlls Summary: Created Windows Dll wrapped to handle jdk6 and jdk7 platform requirements, also provided more restictive Dll search orders for Windows system Dlls. Reviewed-by: acorn, dcubed, ohair, alanb ! make/windows/makefiles/compile.make ! src/os/windows/vm/decoder_windows.cpp ! src/os/windows/vm/jvm_windows.h ! src/os/windows/vm/os_windows.cpp ! src/os/windows/vm/os_windows.hpp Changeset: 279ef1916773 Author: zgu Date: 2011-07-12 21:13 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/279ef1916773 7065535: Mistyped function name that disabled UseLargePages on Windows Summary: Missing suffix "A" of Windows API LookupPrivilegeValue failed finding function pointer, caused VM to disable UseLargePages option Reviewed-by: coleenp, phh ! src/os/windows/vm/os_windows.cpp Changeset: a68e11dceb83 Author: zgu Date: 2011-08-16 09:18 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a68e11dceb83 Merge Changeset: 00ed4ccfe642 Author: collins Date: 2011-08-17 07:05 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/00ed4ccfe642 Merge Changeset: 43f9d800f276 Author: iveresov Date: 2011-07-20 18:04 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/43f9d800f276 7066339: Tiered: policy should make consistent decisions about osr levels Summary: Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel. Reviewed-by: kvn, never ! src/share/vm/classfile/classLoader.cpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/runtime/advancedThresholdPolicy.cpp ! src/share/vm/runtime/advancedThresholdPolicy.hpp ! src/share/vm/runtime/compilationPolicy.hpp ! src/share/vm/runtime/javaCalls.cpp ! src/share/vm/runtime/simpleThresholdPolicy.cpp ! src/share/vm/runtime/simpleThresholdPolicy.hpp Changeset: 6a991dcb52bb Author: never Date: 2011-07-21 08:38 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/6a991dcb52bb 7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries Reviewed-by: kvn, twisti, jrose ! agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecode.java - agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeFastAAccess0.java - agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeFastIAccess0.java ! agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeLoadConstant.java ! agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeStream.java ! agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWideable.java ! agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java ! agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java ! agent/src/share/classes/sun/jvm/hotspot/oops/ConstMethod.java ! agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPool.java ! agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCache.java ! agent/src/share/classes/sun/jvm/hotspot/oops/GenerateOopMap.java ! agent/src/share/classes/sun/jvm/hotspot/oops/Method.java ! agent/src/share/classes/sun/jvm/hotspot/oops/TypeArray.java ! agent/src/share/classes/sun/jvm/hotspot/utilities/ConstantTag.java ! src/share/vm/oops/generateOopMap.cpp Changeset: 3d42f82cd811 Author: kvn Date: 2011-07-21 11:25 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/3d42f82cd811 7063628: Use cbcond on T4 Summary: Add new short branch instruction to Hotspot sparc assembler. Reviewed-by: never, twisti, jrose ! src/cpu/sparc/vm/assembler_sparc.cpp ! src/cpu/sparc/vm/assembler_sparc.hpp ! src/cpu/sparc/vm/assembler_sparc.inline.hpp ! src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp ! src/cpu/sparc/vm/c1_Runtime1_sparc.cpp ! src/cpu/sparc/vm/cppInterpreter_sparc.cpp ! src/cpu/sparc/vm/interp_masm_sparc.cpp ! src/cpu/sparc/vm/interpreter_sparc.cpp ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/sparc/vm/sharedRuntime_sparc.cpp ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/stubGenerator_sparc.cpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/sparc/vm/vm_version_sparc.cpp ! src/cpu/sparc/vm/vm_version_sparc.hpp ! src/cpu/sparc/vm/vtableStubs_sparc.cpp ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp ! src/share/vm/adlc/formssel.cpp ! src/share/vm/adlc/output_c.cpp ! src/share/vm/adlc/output_h.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/machnode.cpp ! src/share/vm/opto/machnode.hpp ! src/share/vm/opto/output.cpp ! src/share/vm/runtime/globals.hpp Changeset: 4e761e7e6e12 Author: kvn Date: 2011-07-26 19:35 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/4e761e7e6e12 7070134: Hotspot crashes with sigsegv from PorterStemmer Summary: Do not move data nodes which are attached to a predicate test to a dominating test. Reviewed-by: never ! src/share/vm/opto/ifnode.cpp ! src/share/vm/opto/loopPredicate.cpp ! src/share/vm/opto/loopnode.hpp ! src/share/vm/opto/loopopts.cpp + test/compiler/7070134/Stemmer.java + test/compiler/7070134/Test7070134.sh + test/compiler/7070134/words Changeset: 0f34fdee809e Author: never Date: 2011-07-27 15:06 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/0f34fdee809e 7071427: AdapterFingerPrint can hold 8 entries per int Reviewed-by: kvn ! src/share/vm/runtime/java.cpp ! src/share/vm/runtime/sharedRuntime.cpp Changeset: c7b60b601eb4 Author: kvn Date: 2011-07-27 17:28 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/c7b60b601eb4 7069452: Cleanup NodeFlags Summary: Remove flags which duplicate information in Node::NodeClasses. Reviewed-by: never ! src/cpu/sparc/vm/sparc.ad ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/adlc/adlparse.cpp ! src/share/vm/adlc/archDesc.cpp ! src/share/vm/adlc/formssel.cpp ! src/share/vm/adlc/formssel.hpp ! src/share/vm/adlc/output_h.cpp ! src/share/vm/opto/block.cpp ! src/share/vm/opto/callnode.hpp ! src/share/vm/opto/cfgnode.hpp ! src/share/vm/opto/coalesce.cpp ! src/share/vm/opto/gcm.cpp ! src/share/vm/opto/idealGraphPrinter.cpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/machnode.hpp ! src/share/vm/opto/mulnode.cpp ! src/share/vm/opto/mulnode.hpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/output.cpp ! src/share/vm/opto/reg_split.cpp ! src/share/vm/opto/superword.cpp ! src/share/vm/opto/superword.hpp ! src/share/vm/opto/vectornode.cpp ! src/share/vm/opto/vectornode.hpp Changeset: d17bd0b18663 Author: twisti Date: 2011-07-28 02:14 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/d17bd0b18663 7066143: JSR 292: Zero support after regressions from 7009923 and 7009309 Reviewed-by: jrose, twisti Contributed-by: Xerxes Ranby ! src/cpu/zero/vm/stack_zero.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: ce3e1d4dc416 Author: never Date: 2011-07-28 13:03 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/ce3e1d4dc416 7060619: C1 should respect inline and dontinline directives from CompilerOracle Reviewed-by: kvn, iveresov ! src/share/vm/c1/c1_GraphBuilder.cpp Changeset: c96c3eb1efae Author: kvn Date: 2011-07-29 09:16 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/c96c3eb1efae 7068051: SIGSEGV in PhaseIdealLoop::build_loop_late_post Summary: Removed predicate cloning from loop peeling optimization and from split fall-in paths. Reviewed-by: never ! src/share/vm/opto/cfgnode.cpp ! src/share/vm/opto/ifnode.cpp ! src/share/vm/opto/loopPredicate.cpp ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopUnswitch.cpp ! src/share/vm/opto/loopnode.cpp ! src/share/vm/opto/loopnode.hpp ! src/share/vm/opto/phaseX.hpp Changeset: 4aa5974a06dd Author: kvn Date: 2011-08-06 08:28 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/4aa5974a06dd 7075559: JPRT windows_x64 build failure Summary: use SA_CLASSDIR variable instead of dirsctory saclasses. Reviewed-by: kamg, dcubed ! make/linux/makefiles/defs.make ! make/solaris/makefiles/defs.make ! make/solaris/makefiles/saproc.make ! make/windows/makefiles/defs.make ! make/windows/makefiles/sa.make Changeset: a3142bdb6707 Author: twisti Date: 2011-08-08 05:49 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a3142bdb6707 7071823: Zero: zero/shark doesn't build after b147-fcs Reviewed-by: gbenson, twisti Contributed-by: Chris Phillips ! src/cpu/zero/vm/frame_zero.cpp + src/cpu/zero/vm/methodHandles_zero.hpp ! src/cpu/zero/vm/sharedRuntime_zero.cpp ! src/share/vm/shark/sharkContext.hpp Changeset: a19c671188cb Author: never Date: 2011-08-08 13:19 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a19c671188cb 7075623: 6990212 broke raiseException in 64 bit Reviewed-by: kvn, twisti ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp Changeset: f1c12354c3f7 Author: roland Date: 2011-08-02 18:36 +0200 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/f1c12354c3f7 7074017: Introduce MemBarAcquireLock/MemBarReleaseLock nodes for monitor enter/exit code paths Summary: replace MemBarAcquire/MemBarRelease nodes on the monitor enter/exit code paths with new MemBarAcquireLock/MemBarReleaseLock nodes Reviewed-by: kvn, twisti ! src/cpu/sparc/vm/sparc.ad ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/adlc/formssel.cpp ! src/share/vm/opto/classes.hpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/matcher.cpp ! src/share/vm/opto/matcher.hpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/memnode.hpp Changeset: 6987871cfb9b Author: kvn Date: 2011-08-10 14:06 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/6987871cfb9b 7077439: Possible reference through NULL in loopPredicate.cpp:726 Summary: Use cl->is_valid_counted_loop() check. Reviewed-by: never ! src/share/vm/opto/loopPredicate.cpp ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.cpp ! src/share/vm/opto/superword.cpp Changeset: 95134e034042 Author: kvn Date: 2011-08-11 12:08 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/95134e034042 7063629: use cbcond in C2 generated code on T4 Summary: Use new short branch instruction in C2 generated code. Reviewed-by: never ! src/cpu/sparc/vm/assembler_sparc.hpp ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/vm_version_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/os_cpu/linux_x86/vm/linux_x86_32.ad ! src/os_cpu/linux_x86/vm/linux_x86_64.ad ! src/os_cpu/solaris_x86/vm/solaris_x86_32.ad ! src/os_cpu/solaris_x86/vm/solaris_x86_64.ad ! src/share/vm/adlc/formssel.cpp ! src/share/vm/adlc/output_h.cpp ! src/share/vm/opto/block.cpp ! src/share/vm/opto/block.hpp ! src/share/vm/opto/compile.hpp ! src/share/vm/opto/machnode.hpp ! src/share/vm/opto/matcher.hpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/output.cpp Changeset: fdb992d83a87 Author: twisti Date: 2011-08-16 04:14 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/fdb992d83a87 7071653: JSR 292: call site change notification should be pushed not pulled Reviewed-by: kvn, never, bdelsart ! src/cpu/sparc/vm/interp_masm_sparc.cpp ! src/cpu/sparc/vm/interp_masm_sparc.hpp ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/x86/vm/interp_masm_x86_32.cpp ! src/cpu/x86/vm/interp_masm_x86_32.hpp ! src/cpu/x86/vm/interp_masm_x86_64.cpp ! src/cpu/x86/vm/interp_masm_x86_64.hpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/share/vm/ci/ciCallSite.cpp ! src/share/vm/ci/ciCallSite.hpp ! src/share/vm/ci/ciField.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/code/dependencies.cpp ! src/share/vm/code/dependencies.hpp ! src/share/vm/code/nmethod.cpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/templateTable.hpp ! src/share/vm/memory/universe.cpp ! src/share/vm/memory/universe.hpp ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/callGenerator.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse3.cpp Changeset: 11211f7cb5a0 Author: kvn Date: 2011-08-16 11:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/11211f7cb5a0 7079317: Incorrect branch's destination block in PrintoOptoAssembly output Summary: save/restore label and block in scratch_emit_size() Reviewed-by: never ! src/share/vm/adlc/archDesc.cpp ! src/share/vm/adlc/formssel.cpp ! src/share/vm/adlc/output_c.cpp ! src/share/vm/adlc/output_h.cpp ! src/share/vm/opto/block.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/idealGraphPrinter.cpp ! src/share/vm/opto/machnode.cpp ! src/share/vm/opto/machnode.hpp ! src/share/vm/opto/node.hpp ! src/share/vm/opto/output.cpp Changeset: 1af104d6cf99 Author: kvn Date: 2011-08-16 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/1af104d6cf99 7079329: Adjust allocation prefetching for T4 Summary: on T4 2 BIS instructions should be issued to prefetch 64 bytes Reviewed-by: iveresov, phh, twisti ! src/cpu/sparc/vm/assembler_sparc.hpp ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/vm_version_sparc.cpp ! src/cpu/sparc/vm/vm_version_sparc.hpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp ! src/cpu/x86/vm/x86_32.ad ! src/cpu/x86/vm/x86_64.ad ! src/share/vm/adlc/formssel.cpp ! src/share/vm/memory/threadLocalAllocBuffer.hpp ! src/share/vm/opto/classes.hpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/matcher.cpp ! src/share/vm/opto/memnode.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/vm_version.cpp ! src/share/vm/runtime/vm_version.hpp Changeset: 381bf869f784 Author: twisti Date: 2011-08-17 05:14 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/381bf869f784 7079626: x64 emits unnecessary REX prefix Reviewed-by: kvn, iveresov, never ! src/cpu/x86/vm/assembler_x86.cpp Changeset: bd87c0dcaba5 Author: twisti Date: 2011-08-17 11:52 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/bd87c0dcaba5 7079769: JSR 292: incorrect size() for CallStaticJavaHandle on sparc Reviewed-by: never, kvn ! src/cpu/sparc/vm/sparc.ad Changeset: 739a9abbbd4b Author: kvn Date: 2011-08-18 11:49 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/739a9abbbd4b 7080431: VM asserts if specified size(x) in .ad is larger than emitted size Summary: Move code from finalize_offsets_and_shorten() to fill_buffer() to restore previous behavior. Reviewed-by: never ! src/share/vm/opto/compile.hpp ! src/share/vm/opto/output.cpp Changeset: de147f62e695 Author: kvn Date: 2011-08-19 08:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/de147f62e695 Merge - agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeFastAAccess0.java - agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeFastIAccess0.java Changeset: 24cee90e9453 Author: jcoomes Date: 2011-08-17 10:32 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/24cee90e9453 6791672: enable 1G and larger pages on solaris Reviewed-by: ysr, iveresov, johnc ! src/os/solaris/vm/os_solaris.cpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp Changeset: 3be7439273c5 Author: katleman Date: 2011-05-25 13:31 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/3be7439273c5 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles Reviewed-by: ohair, trims ! agent/src/share/classes/sun/jvm/hotspot/runtime/ServiceThread.java ! make/linux/README ! make/windows/projectfiles/kernel/Makefile ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp ! src/os_cpu/solaris_sparc/vm/solaris_sparc.s ! src/share/tools/hsdis/README ! src/share/vm/gc_implementation/g1/heapRegionSet.inline.hpp ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp ! src/share/vm/utilities/yieldingWorkgroup.cpp Changeset: 8b135e6129d6 Author: jeff Date: 2011-05-27 15:01 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/8b135e6129d6 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: 52e4ba46751f Author: kamg Date: 2011-04-12 16:42 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/52e4ba46751f 7020373: JSR rewriting can overflow memory address size variables Summary: Abort if incoming classfile's parameters would cause overflows Reviewed-by: coleenp, dcubed, never ! src/share/vm/oops/generateOopMap.cpp + test/runtime/7020373/Test7020373.sh Changeset: bca686989d4b Author: asaha Date: 2011-06-15 14:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/bca686989d4b 7055247: Ignore test of # 7020373 Reviewed-by: dcubed ! test/runtime/7020373/Test7020373.sh Changeset: 337ffef74c37 Author: jeff Date: 2011-06-22 10:10 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/337ffef74c37 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: 9f12ede5571a Author: jcoomes Date: 2011-08-19 14:08 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/9f12ede5571a Merge ! src/cpu/x86/vm/vm_version_x86.cpp ! src/cpu/x86/vm/vm_version_x86.hpp ! src/share/vm/oops/generateOopMap.cpp ! src/share/vm/runtime/os.cpp Changeset: 7c29742c41b4 Author: jcoomes Date: 2011-08-19 14:22 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/7c29742c41b4 7081251: bump the hs22 build number to 02 Reviewed-by: johnc ! make/hotspot_version Changeset: ff53346271fe Author: brutisso Date: 2011-08-19 09:30 +0200 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/ff53346271fe 6814390: G1: remove the concept of non-generational G1 Summary: Removed the possibility to turn off generational mode for G1. Reviewed-by: johnc, ysr, tonyp ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/concurrentMarkThread.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp Changeset: ae73da50be4b Author: tonyp Date: 2011-08-22 10:16 -0400 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/ae73da50be4b 7081064: G1: remove develop params G1FixedSurvivorSpaceSize, G1FixedTenuringThreshold, and G1FixedEdenSize Summary: Remove three develop parameters we don't use. Reviewed-by: brutisso, jwilhelm ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp Changeset: 7f776886a215 Author: ysr Date: 2011-08-22 12:30 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/7f776886a215 6810861: G1: support -XX:+{PrintClassHistogram,HeapDump}{Before,After}FullGC Summary: Call {pre,post}_full_gc_dump() before and after a STW full gc of G1CollectedHeap. Also adjusted the prefix message, including the addition of missing whitespace. Reviewed-by: brutisso, tonyp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_interface/collectedHeap.cpp Changeset: be05e987ba07 Author: ysr Date: 2011-08-22 23:57 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/be05e987ba07 Merge Changeset: 2f27ed2a98fa Author: brutisso Date: 2011-08-23 11:06 +0200 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/2f27ed2a98fa 7082220: Visual Studio projects broken after change 7016797: Hotspot: securely/restrictive load dlls and new Summary: Add the psapi.lib library to Visual Studio projects Reviewed-by: jwilhelm, poonam, kamg ! src/share/tools/ProjectCreator/WinGammaPlatformVC10.java Changeset: ff9ab6327924 Author: kvn Date: 2011-08-20 14:03 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/ff9ab6327924 7076831: TEST_BUG: compiler/5091921/Test7005594.java fails on LOW MEM SYSTEMS Summary: Run test only on systems with 2Gbyte or more memory. Don't zap heap to reduce execution time. Reviewed-by: iveresov ! test/compiler/5091921/Test7005594.sh Changeset: a594deb1d6dc Author: kvn Date: 2011-08-22 11:00 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a594deb1d6dc 7081926: assert(VM_Version::supports_sse2()) failed: must support Summary: fix assert, prefetchnta is supported since SSE not SSE2. Reviewed-by: never ! src/cpu/x86/vm/assembler_x86.cpp Changeset: a70c2acb8f52 Author: kvn Date: 2011-08-25 18:56 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/a70c2acb8f52 Merge Changeset: 1520340a7f35 Author: kvn Date: 2011-08-26 16:11 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/1520340a7f35 7083916: Bump the hs22 build number to 03 Reviewed-by: jcoomes Contributed-by: alejandro.murillo at oracle.com ! make/hotspot_version Changeset: 3a2fb61165df Author: jcoomes Date: 2011-08-31 13:57 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/3a2fb61165df Merge - agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeFastAAccess0.java - agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeFastIAccess0.java Changeset: 0fa3ace511fe Author: schien Date: 2011-09-01 13:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/0fa3ace511fe Added tag jdk8-b03 for changeset 3a2fb61165df ! .hgtags Changeset: dce7d24674f4 Author: schien Date: 2011-09-08 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/dce7d24674f4 Added tag jdk8-b04 for changeset 0fa3ace511fe ! .hgtags From lana.steuck at oracle.com Tue Sep 13 22:19:34 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Tue, 13 Sep 2011 22:19:34 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d: 6 new changesets Message-ID: <20110913221934.6359F47651@hg.openjdk.java.net> Changeset: 3bec5415a227 Author: cl Date: 2011-08-18 18:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/rev/3bec5415a227 Added tag jdk8-b01 for changeset f42e3d9394b4 ! .hgtags Changeset: e01201e727da Author: neugens Date: 2011-07-26 21:54 +0200 URL: http://hg.openjdk.java.net/jdk8/2d/rev/e01201e727da 7071275: Fix jdk7 references in README files, remove Forest Extension mentions Summary: Change documentation to remove reference to forest and reflect update to jdk8. Reviewed-by: ohair ! README ! README-builds.html Changeset: 69f592185747 Author: schien Date: 2011-08-24 13:50 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/rev/69f592185747 Merge Changeset: 587bb549dff8 Author: schien Date: 2011-08-25 17:17 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/rev/587bb549dff8 Added tag jdk8-b02 for changeset 69f592185747 ! .hgtags Changeset: 0b66a233bfb9 Author: schien Date: 2011-09-01 13:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/rev/0b66a233bfb9 Added tag jdk8-b03 for changeset 587bb549dff8 ! .hgtags Changeset: b910aac18c77 Author: schien Date: 2011-09-08 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/rev/b910aac18c77 Added tag jdk8-b04 for changeset 0b66a233bfb9 ! .hgtags From franciszek.benio at gmail.com Wed Sep 14 23:05:48 2011 From: franciszek.benio at gmail.com (Franciszek Benio) Date: Thu, 15 Sep 2011 01:05:48 +0200 Subject: [OpenJDK 2D-Dev] Graphics library based on ProcessPath.c Message-ID: Dear 2d-devs, I am creating a simple graphics library in C based on ProcessPath.c, for drawing and filling a path (with Bezier curves) and saving the resulting image to a BMP file. As far as I understand, all the processing of the path is done in ProcessPath.c, but I cannot find the code that actually 'paints' the bitmap. I would like the library to achieve the result of the following code: BufferedImage bi = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); Graphics2D g2d = bi.createGraphics(); g2d.fill(inputPath); ImageIO.write(bi, "bmp", outputFile); Thank you in advance for your help, Franciszek Benio From andrew.brygin at oracle.com Mon Sep 19 16:48:36 2011 From: andrew.brygin at oracle.com (andrew.brygin at oracle.com) Date: Mon, 19 Sep 2011 16:48:36 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 7088287: libpng need to be updated. Message-ID: <20110919164905.39B31477DB@hg.openjdk.java.net> Changeset: b92341e9ae56 Author: bae Date: 2011-09-19 05:56 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/b92341e9ae56 7088287: libpng need to be updated. Reviewed-by: jgodinez, prr ! src/share/native/sun/awt/libpng/CHANGES ! src/share/native/sun/awt/libpng/LICENSE ! src/share/native/sun/awt/libpng/README ! src/share/native/sun/awt/libpng/png.c ! src/share/native/sun/awt/libpng/png.h ! src/share/native/sun/awt/libpng/pngconf.h + src/share/native/sun/awt/libpng/pngdebug.h ! src/share/native/sun/awt/libpng/pngerror.c - src/share/native/sun/awt/libpng/pnggccrd.c ! src/share/native/sun/awt/libpng/pngget.c + src/share/native/sun/awt/libpng/pnginfo.h + src/share/native/sun/awt/libpng/pnglibconf.h ! src/share/native/sun/awt/libpng/pngmem.c ! src/share/native/sun/awt/libpng/pngpread.c + src/share/native/sun/awt/libpng/pngpriv.h ! src/share/native/sun/awt/libpng/pngread.c ! src/share/native/sun/awt/libpng/pngrio.c ! src/share/native/sun/awt/libpng/pngrtran.c ! src/share/native/sun/awt/libpng/pngrutil.c ! src/share/native/sun/awt/libpng/pngset.c + src/share/native/sun/awt/libpng/pngstruct.h ! src/share/native/sun/awt/libpng/pngtest.c ! src/share/native/sun/awt/libpng/pngtrans.c - src/share/native/sun/awt/libpng/pngvcrd.c ! src/share/native/sun/awt/libpng/pngwio.c ! src/share/native/sun/awt/libpng/pngwrite.c ! src/share/native/sun/awt/libpng/pngwtran.c ! src/share/native/sun/awt/libpng/pngwutil.c ! src/share/native/sun/awt/splashscreen/splashscreen_png.c From lana.steuck at oracle.com Sat Sep 24 06:17:51 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:17:51 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d: Added tag jdk8-b05 for changeset b910aac18c77 Message-ID: <20110924061751.8124147947@hg.openjdk.java.net> Changeset: 28cf2aec4dd7 Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/rev/28cf2aec4dd7 Added tag jdk8-b05 for changeset b910aac18c77 ! .hgtags From lana.steuck at oracle.com Sat Sep 24 06:18:03 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:18:03 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jaxws: Added tag jdk8-b05 for changeset 7d5d91fddbce Message-ID: <20110924061803.9A8C447948@hg.openjdk.java.net> Changeset: acffff22a946 Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxws/rev/acffff22a946 Added tag jdk8-b05 for changeset 7d5d91fddbce ! .hgtags From lana.steuck at oracle.com Sat Sep 24 06:18:01 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:18:01 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/corba: Added tag jdk8-b05 for changeset cc1b599b986a Message-ID: <20110924061805.7CFE047949@hg.openjdk.java.net> Changeset: 45c43dde7ba7 Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/corba/rev/45c43dde7ba7 Added tag jdk8-b05 for changeset cc1b599b986a ! .hgtags From lana.steuck at oracle.com Sat Sep 24 06:18:07 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:18:07 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jaxp: Added tag jdk8-b05 for changeset ff0a3d78e7a2 Message-ID: <20110924061807.BC0864794A@hg.openjdk.java.net> Changeset: d7b8192e7277 Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jaxp/rev/d7b8192e7277 Added tag jdk8-b05 for changeset ff0a3d78e7a2 ! .hgtags From lana.steuck at oracle.com Sat Sep 24 06:18:00 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:18:00 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/hotspot: Added tag jdk8-b05 for changeset dce7d24674f4 Message-ID: <20110924061813.082C44794B@hg.openjdk.java.net> Changeset: 0db80d8e77fc Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/hotspot/rev/0db80d8e77fc Added tag jdk8-b05 for changeset dce7d24674f4 ! .hgtags From lana.steuck at oracle.com Sat Sep 24 06:18:18 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:18:18 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/langtools: 13 new changesets Message-ID: <20110924061847.206B14794C@hg.openjdk.java.net> Changeset: 4e754e4b0a52 Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/4e754e4b0a52 Added tag jdk8-b05 for changeset 5304c2a17d4b ! .hgtags Changeset: b86277584776 Author: mcimadamore Date: 2011-08-31 16:11 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/b86277584776 7085024: internal error; cannot instantiate Foo Summary: Types.isConvertible does not handle erroneous types correctly Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/7085024/T7085024.java + test/tools/javac/7085024/T7085024.out Changeset: d0257833498e Author: mcimadamore Date: 2011-08-31 16:15 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/d0257833498e 7079713: javac hangs when compiling a class that references a cyclically inherited class Summary: Types.membersClosure needs to handle pathological cases of cyclic inheritance Reviewed-by: jjg, jjh ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/7079713/TestCircularClassfile.java Changeset: f85d980faaf8 Author: jjg Date: 2011-08-31 15:39 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/f85d980faaf8 7074416: Regression: JSR199: javac doesn't unwrap clientcodewrapper objects Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java ! src/share/classes/javax/tools/JavaCompiler.java ! test/tools/javac/TryWithResources/UnusedResourcesTest.java ! test/tools/javac/diags/Example.java ! test/tools/javac/processing/errors/TestSuppression.java Changeset: 04f983e3e825 Author: ksrini Date: 2011-09-01 09:14 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/04f983e3e825 7073631: (javac) javac parser improvements for error position reporting Summary: JavacParser improvements for NetBeans, improved by LangTools. Reviewed-by: mcimadamore, jjg Contributed-by: jan.lahoda at oracle.com ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/parser/Scanner.java ! src/share/classes/com/sun/tools/javac/util/AbstractLog.java ! test/tools/javac/TryWithResources/BadTwr.out ! test/tools/javac/TryWithResources/DuplicateResourceDecl.out ! test/tools/javac/TryWithResources/ResourceInterface.out ! test/tools/javac/TryWithResources/TwrFlow.out ! test/tools/javac/TryWithResources/TwrLint.out ! test/tools/javac/TryWithResources/TwrOnNonResource.out ! test/tools/javac/diags/examples/EmptyCharLiteral.java + test/tools/javac/parser/netbeans/JavacParserTest.java Changeset: a45d78d26450 Author: jjh Date: 2011-09-01 14:35 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/a45d78d26450 7086071: tools/javac/7079713/TestCircularClassfile.java fails on windows Summary: delete file before renaming another file to it Reviewed-by: jjg ! test/tools/javac/7079713/TestCircularClassfile.java Changeset: 02b8381781ab Author: ksrini Date: 2011-09-02 07:54 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/02b8381781ab 7024096: Stack trace has invalid line numbers Reviewed-by: jjg, darcy Contributed-by: bruce.chapman.nz at gmail.com ! src/share/classes/com/sun/tools/javac/jvm/Gen.java + test/tools/javac/jvm/T7024096.java Changeset: ec27e5befa53 Author: mcimadamore Date: 2011-09-02 17:35 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/ec27e5befa53 7086261: javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper Summary: Missing override for toString() in ClientCodeUnwrapper.DiagnosticSourceUnwrapper Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java + test/tools/javac/api/7086261/T7086261.java Changeset: 1ee9f9a91e9c Author: jjg Date: 2011-09-09 17:19 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/1ee9f9a91e9c 7073508: Regression: NullPointerException at com.sun.tools.javac.code.Lint$AugmentVisitor.augment Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/annotations/T7043371.java + test/tools/javac/annotations/T7073477.java Changeset: 9aca3534ddf4 Author: lana Date: 2011-09-10 21:31 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/9aca3534ddf4 Merge Changeset: edd7d9bd32dd Author: jjg Date: 2011-09-12 11:39 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/edd7d9bd32dd 7068451: Regression: javac compiles fixed sources against previous, not current, version of generated sources Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java ! src/share/classes/com/sun/tools/javac/nio/PathFileObject.java ! src/share/classes/com/sun/tools/javac/util/BaseFileManager.java + test/tools/javac/file/T7068451.java Changeset: f1431cace56e Author: jjg Date: 2011-09-12 11:40 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/f1431cace56e Merge Changeset: d2422276f9da Author: lana Date: 2011-09-19 19:41 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/langtools/rev/d2422276f9da Merge From lana.steuck at oracle.com Sat Sep 24 06:20:05 2011 From: lana.steuck at oracle.com (lana.steuck at oracle.com) Date: Sat, 24 Sep 2011 06:20:05 +0000 Subject: [OpenJDK 2D-Dev] hg: jdk8/2d/jdk: 39 new changesets Message-ID: <20110924062645.6431D4794D@hg.openjdk.java.net> Changeset: 266f095ce636 Author: mbykov Date: 2011-09-09 15:21 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/266f095ce636 7087932: Wrong legal notice introduced in the JDK8 changeset c43af666d130 Reviewed-by: ohair, darcy ! src/share/classes/java/lang/VirtualMachineError.java Changeset: 0b32369b83d8 Author: schien Date: 2011-09-14 15:55 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/0b32369b83d8 Merge Changeset: 907bcdbc2593 Author: schien Date: 2011-09-15 18:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/907bcdbc2593 Added tag jdk8-b05 for changeset 0b32369b83d8 ! .hgtags Changeset: 22c60997bf3c Author: rupashka Date: 2011-08-30 13:07 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/22c60997bf3c 7080281: AbtsractButton.checkVerticalKey()/checkHorizontalKey() methods do not specify returned value Reviewed-by: alexp ! src/share/classes/javax/swing/AbstractButton.java Changeset: 970ff8d5bbe7 Author: denis Date: 2011-09-01 17:29 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/970ff8d5bbe7 7081012: REGRESSION:Component.transferFocusBackward invokes clearGlobalFocusOwner() Reviewed-by: ant ! src/share/classes/java/awt/Component.java Changeset: 25564f7b29c4 Author: denis Date: 2011-09-05 18:54 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/25564f7b29c4 7071248: IME composition window does not disappear when file dialog is closed : Japanese WinXP Reviewed-by: naoto, art ! src/windows/native/sun/windows/awt_FileDialog.cpp Changeset: 98bb40dbc144 Author: vikram Date: 2011-09-07 03:17 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/98bb40dbc144 7012783: JFileChooser fails to resolve DFS links on Windows Vista SP2 Summary: Changes to code to handle DFS links Reviewed-by: rupashka ! src/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java Changeset: 7fbc8d86c477 Author: rupashka Date: 2011-09-09 17:44 +0400 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/7fbc8d86c477 7024118: possible hardcoded mnemonic for JFileChooser metal and motif l&f Reviewed-by: alexp Contributed-by: Charles Lee ! src/share/classes/com/sun/java/swing/plaf/motif/MotifFileChooserUI.java ! src/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_de.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_es.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_fr.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_it.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ja.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_ko.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_pt_BR.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_sv.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_CN.properties ! src/share/classes/com/sun/java/swing/plaf/motif/resources/motif_zh_TW.properties ! src/share/classes/com/sun/java/swing/plaf/windows/WindowsFileChooserUI.java ! src/share/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_de.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_es.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_fr.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_it.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ja.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_ko.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_pt_BR.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_sv.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_CN.properties ! src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_zh_TW.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_de.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_es.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_fr.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_it.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_ja.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_pt_BR.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_sv.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_zh_TW.properties ! src/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java ! src/share/classes/javax/swing/plaf/metal/MetalLookAndFeel.java Changeset: 8c7cecbc3567 Author: lana Date: 2011-09-09 17:23 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/8c7cecbc3567 Merge - make/com/oracle/net/Makefile - src/share/classes/sun/io/ByteToCharASCII.java - src/share/classes/sun/io/ByteToCharBig5.java - src/share/classes/sun/io/ByteToCharBig5_HKSCS.java - src/share/classes/sun/io/ByteToCharBig5_Solaris.java - src/share/classes/sun/io/ByteToCharConverter.java - src/share/classes/sun/io/ByteToCharCp037.java - src/share/classes/sun/io/ByteToCharCp1006.java - src/share/classes/sun/io/ByteToCharCp1025.java - src/share/classes/sun/io/ByteToCharCp1026.java - src/share/classes/sun/io/ByteToCharCp1046.java - src/share/classes/sun/io/ByteToCharCp1047.java - src/share/classes/sun/io/ByteToCharCp1097.java - src/share/classes/sun/io/ByteToCharCp1098.java - src/share/classes/sun/io/ByteToCharCp1112.java - src/share/classes/sun/io/ByteToCharCp1122.java - src/share/classes/sun/io/ByteToCharCp1123.java - src/share/classes/sun/io/ByteToCharCp1124.java - src/share/classes/sun/io/ByteToCharCp1140.java - src/share/classes/sun/io/ByteToCharCp1141.java - src/share/classes/sun/io/ByteToCharCp1142.java - src/share/classes/sun/io/ByteToCharCp1143.java - src/share/classes/sun/io/ByteToCharCp1144.java - src/share/classes/sun/io/ByteToCharCp1145.java - src/share/classes/sun/io/ByteToCharCp1146.java - src/share/classes/sun/io/ByteToCharCp1147.java - src/share/classes/sun/io/ByteToCharCp1148.java - src/share/classes/sun/io/ByteToCharCp1149.java - src/share/classes/sun/io/ByteToCharCp1250.java - src/share/classes/sun/io/ByteToCharCp1251.java - src/share/classes/sun/io/ByteToCharCp1252.java - src/share/classes/sun/io/ByteToCharCp1253.java - src/share/classes/sun/io/ByteToCharCp1254.java - src/share/classes/sun/io/ByteToCharCp1255.java - src/share/classes/sun/io/ByteToCharCp1256.java - src/share/classes/sun/io/ByteToCharCp1257.java - src/share/classes/sun/io/ByteToCharCp1258.java - src/share/classes/sun/io/ByteToCharCp1381.java - src/share/classes/sun/io/ByteToCharCp1383.java - src/share/classes/sun/io/ByteToCharCp273.java - src/share/classes/sun/io/ByteToCharCp277.java - src/share/classes/sun/io/ByteToCharCp278.java - src/share/classes/sun/io/ByteToCharCp280.java - src/share/classes/sun/io/ByteToCharCp284.java - src/share/classes/sun/io/ByteToCharCp285.java - src/share/classes/sun/io/ByteToCharCp297.java - src/share/classes/sun/io/ByteToCharCp33722.java - src/share/classes/sun/io/ByteToCharCp420.java - src/share/classes/sun/io/ByteToCharCp424.java - src/share/classes/sun/io/ByteToCharCp437.java - src/share/classes/sun/io/ByteToCharCp500.java - src/share/classes/sun/io/ByteToCharCp737.java - src/share/classes/sun/io/ByteToCharCp775.java - src/share/classes/sun/io/ByteToCharCp833.java - src/share/classes/sun/io/ByteToCharCp834.java - src/share/classes/sun/io/ByteToCharCp838.java - src/share/classes/sun/io/ByteToCharCp850.java - src/share/classes/sun/io/ByteToCharCp852.java - src/share/classes/sun/io/ByteToCharCp855.java - src/share/classes/sun/io/ByteToCharCp856.java - src/share/classes/sun/io/ByteToCharCp857.java - src/share/classes/sun/io/ByteToCharCp858.java - src/share/classes/sun/io/ByteToCharCp860.java - src/share/classes/sun/io/ByteToCharCp861.java - src/share/classes/sun/io/ByteToCharCp862.java - src/share/classes/sun/io/ByteToCharCp863.java - src/share/classes/sun/io/ByteToCharCp864.java - src/share/classes/sun/io/ByteToCharCp865.java - src/share/classes/sun/io/ByteToCharCp866.java - src/share/classes/sun/io/ByteToCharCp868.java - src/share/classes/sun/io/ByteToCharCp869.java - src/share/classes/sun/io/ByteToCharCp870.java - src/share/classes/sun/io/ByteToCharCp871.java - src/share/classes/sun/io/ByteToCharCp874.java - src/share/classes/sun/io/ByteToCharCp875.java - src/share/classes/sun/io/ByteToCharCp918.java - src/share/classes/sun/io/ByteToCharCp921.java - src/share/classes/sun/io/ByteToCharCp922.java - src/share/classes/sun/io/ByteToCharCp930.java - src/share/classes/sun/io/ByteToCharCp933.java - src/share/classes/sun/io/ByteToCharCp935.java - src/share/classes/sun/io/ByteToCharCp937.java - src/share/classes/sun/io/ByteToCharCp939.java - src/share/classes/sun/io/ByteToCharCp942.java - src/share/classes/sun/io/ByteToCharCp942C.java - src/share/classes/sun/io/ByteToCharCp943.java - src/share/classes/sun/io/ByteToCharCp943C.java - src/share/classes/sun/io/ByteToCharCp948.java - src/share/classes/sun/io/ByteToCharCp949.java - src/share/classes/sun/io/ByteToCharCp949C.java - src/share/classes/sun/io/ByteToCharCp950.java - src/share/classes/sun/io/ByteToCharCp964.java - src/share/classes/sun/io/ByteToCharCp970.java - src/share/classes/sun/io/ByteToCharDBCS_ASCII.java - src/share/classes/sun/io/ByteToCharDBCS_EBCDIC.java - src/share/classes/sun/io/ByteToCharDoubleByte.java - src/share/classes/sun/io/ByteToCharEUC.java - src/share/classes/sun/io/ByteToCharEUC2.java - src/share/classes/sun/io/ByteToCharEUC_CN.java - src/share/classes/sun/io/ByteToCharEUC_JP.java - src/share/classes/sun/io/ByteToCharEUC_JP_LINUX.java - src/share/classes/sun/io/ByteToCharEUC_JP_Solaris.java - src/share/classes/sun/io/ByteToCharEUC_KR.java - src/share/classes/sun/io/ByteToCharEUC_TW.java - src/share/classes/sun/io/ByteToCharGB18030.java - src/share/classes/sun/io/ByteToCharGB18030DB.java - src/share/classes/sun/io/ByteToCharGBK.java - src/share/classes/sun/io/ByteToCharISCII91.java - src/share/classes/sun/io/ByteToCharISO2022.java - src/share/classes/sun/io/ByteToCharISO2022CN.java - src/share/classes/sun/io/ByteToCharISO2022JP.java - src/share/classes/sun/io/ByteToCharISO2022KR.java - src/share/classes/sun/io/ByteToCharISO8859_1.java - src/share/classes/sun/io/ByteToCharISO8859_13.java - src/share/classes/sun/io/ByteToCharISO8859_15.java - src/share/classes/sun/io/ByteToCharISO8859_2.java - src/share/classes/sun/io/ByteToCharISO8859_3.java - src/share/classes/sun/io/ByteToCharISO8859_4.java - src/share/classes/sun/io/ByteToCharISO8859_5.java - src/share/classes/sun/io/ByteToCharISO8859_6.java - src/share/classes/sun/io/ByteToCharISO8859_7.java - src/share/classes/sun/io/ByteToCharISO8859_8.java - src/share/classes/sun/io/ByteToCharISO8859_9.java - src/share/classes/sun/io/ByteToCharJIS0201.java - src/share/classes/sun/io/ByteToCharJIS0208.java - src/share/classes/sun/io/ByteToCharJIS0208_Solaris.java - src/share/classes/sun/io/ByteToCharJIS0212.java - src/share/classes/sun/io/ByteToCharJIS0212_Solaris.java - src/share/classes/sun/io/ByteToCharJISAutoDetect.java - src/share/classes/sun/io/ByteToCharJohab.java - src/share/classes/sun/io/ByteToCharKOI8_R.java - src/share/classes/sun/io/ByteToCharMS874.java - src/share/classes/sun/io/ByteToCharMS932.java - src/share/classes/sun/io/ByteToCharMS936.java - src/share/classes/sun/io/ByteToCharMS949.java - src/share/classes/sun/io/ByteToCharMS950.java - src/share/classes/sun/io/ByteToCharMS950_HKSCS.java - src/share/classes/sun/io/ByteToCharMacArabic.java - src/share/classes/sun/io/ByteToCharMacCentralEurope.java - src/share/classes/sun/io/ByteToCharMacCroatian.java - src/share/classes/sun/io/ByteToCharMacCyrillic.java - src/share/classes/sun/io/ByteToCharMacDingbat.java - src/share/classes/sun/io/ByteToCharMacGreek.java - src/share/classes/sun/io/ByteToCharMacHebrew.java - src/share/classes/sun/io/ByteToCharMacIceland.java - src/share/classes/sun/io/ByteToCharMacRoman.java - src/share/classes/sun/io/ByteToCharMacRomania.java - src/share/classes/sun/io/ByteToCharMacSymbol.java - src/share/classes/sun/io/ByteToCharMacThai.java - src/share/classes/sun/io/ByteToCharMacTurkish.java - src/share/classes/sun/io/ByteToCharMacUkraine.java - src/share/classes/sun/io/ByteToCharPCK.java - src/share/classes/sun/io/ByteToCharSJIS.java - src/share/classes/sun/io/ByteToCharSingleByte.java - src/share/classes/sun/io/ByteToCharTIS620.java - src/share/classes/sun/io/ByteToCharUTF16.java - src/share/classes/sun/io/ByteToCharUTF8.java - src/share/classes/sun/io/ByteToCharUnicode.java - src/share/classes/sun/io/ByteToCharUnicodeBig.java - src/share/classes/sun/io/ByteToCharUnicodeBigUnmarked.java - src/share/classes/sun/io/ByteToCharUnicodeLittle.java - src/share/classes/sun/io/ByteToCharUnicodeLittleUnmarked.java - src/share/classes/sun/io/CharToByteASCII.java - src/share/classes/sun/io/CharToByteBig5.java - src/share/classes/sun/io/CharToByteBig5_HKSCS.java - src/share/classes/sun/io/CharToByteBig5_Solaris.java - src/share/classes/sun/io/CharToByteConverter.java - src/share/classes/sun/io/CharToByteCp037.java - src/share/classes/sun/io/CharToByteCp1006.java - src/share/classes/sun/io/CharToByteCp1025.java - src/share/classes/sun/io/CharToByteCp1026.java - src/share/classes/sun/io/CharToByteCp1046.java - src/share/classes/sun/io/CharToByteCp1047.java - src/share/classes/sun/io/CharToByteCp1097.java - src/share/classes/sun/io/CharToByteCp1098.java - src/share/classes/sun/io/CharToByteCp1112.java - src/share/classes/sun/io/CharToByteCp1122.java - src/share/classes/sun/io/CharToByteCp1123.java - src/share/classes/sun/io/CharToByteCp1124.java - src/share/classes/sun/io/CharToByteCp1140.java - src/share/classes/sun/io/CharToByteCp1141.java - src/share/classes/sun/io/CharToByteCp1142.java - src/share/classes/sun/io/CharToByteCp1143.java - src/share/classes/sun/io/CharToByteCp1144.java - src/share/classes/sun/io/CharToByteCp1145.java - src/share/classes/sun/io/CharToByteCp1146.java - src/share/classes/sun/io/CharToByteCp1147.java - src/share/classes/sun/io/CharToByteCp1148.java - src/share/classes/sun/io/CharToByteCp1149.java - src/share/classes/sun/io/CharToByteCp1250.java - src/share/classes/sun/io/CharToByteCp1251.java - src/share/classes/sun/io/CharToByteCp1252.java - src/share/classes/sun/io/CharToByteCp1253.java - src/share/classes/sun/io/CharToByteCp1254.java - src/share/classes/sun/io/CharToByteCp1255.java - src/share/classes/sun/io/CharToByteCp1256.java - src/share/classes/sun/io/CharToByteCp1257.java - src/share/classes/sun/io/CharToByteCp1258.java - src/share/classes/sun/io/CharToByteCp1381.java - src/share/classes/sun/io/CharToByteCp1383.java - src/share/classes/sun/io/CharToByteCp273.java - src/share/classes/sun/io/CharToByteCp277.java - src/share/classes/sun/io/CharToByteCp278.java - src/share/classes/sun/io/CharToByteCp280.java - src/share/classes/sun/io/CharToByteCp284.java - src/share/classes/sun/io/CharToByteCp285.java - src/share/classes/sun/io/CharToByteCp297.java - src/share/classes/sun/io/CharToByteCp33722.java - src/share/classes/sun/io/CharToByteCp420.java - src/share/classes/sun/io/CharToByteCp424.java - src/share/classes/sun/io/CharToByteCp437.java - src/share/classes/sun/io/CharToByteCp500.java - src/share/classes/sun/io/CharToByteCp737.java - src/share/classes/sun/io/CharToByteCp775.java - src/share/classes/sun/io/CharToByteCp833.java - src/share/classes/sun/io/CharToByteCp834.java - src/share/classes/sun/io/CharToByteCp838.java - src/share/classes/sun/io/CharToByteCp850.java - src/share/classes/sun/io/CharToByteCp852.java - src/share/classes/sun/io/CharToByteCp855.java - src/share/classes/sun/io/CharToByteCp856.java - src/share/classes/sun/io/CharToByteCp857.java - src/share/classes/sun/io/CharToByteCp858.java - src/share/classes/sun/io/CharToByteCp860.java - src/share/classes/sun/io/CharToByteCp861.java - src/share/classes/sun/io/CharToByteCp862.java - src/share/classes/sun/io/CharToByteCp863.java - src/share/classes/sun/io/CharToByteCp864.java - src/share/classes/sun/io/CharToByteCp865.java - src/share/classes/sun/io/CharToByteCp866.java - src/share/classes/sun/io/CharToByteCp868.java - src/share/classes/sun/io/CharToByteCp869.java - src/share/classes/sun/io/CharToByteCp870.java - src/share/classes/sun/io/CharToByteCp871.java - src/share/classes/sun/io/CharToByteCp874.java - src/share/classes/sun/io/CharToByteCp875.java - src/share/classes/sun/io/CharToByteCp918.java - src/share/classes/sun/io/CharToByteCp921.java - src/share/classes/sun/io/CharToByteCp922.java - src/share/classes/sun/io/CharToByteCp930.java - src/share/classes/sun/io/CharToByteCp933.java - src/share/classes/sun/io/CharToByteCp935.java - src/share/classes/sun/io/CharToByteCp937.java - src/share/classes/sun/io/CharToByteCp939.java - src/share/classes/sun/io/CharToByteCp942.java - src/share/classes/sun/io/CharToByteCp942C.java - src/share/classes/sun/io/CharToByteCp943.java - src/share/classes/sun/io/CharToByteCp943C.java - src/share/classes/sun/io/CharToByteCp948.java - src/share/classes/sun/io/CharToByteCp949.java - src/share/classes/sun/io/CharToByteCp949C.java - src/share/classes/sun/io/CharToByteCp950.java - src/share/classes/sun/io/CharToByteCp964.java - src/share/classes/sun/io/CharToByteCp970.java - src/share/classes/sun/io/CharToByteDBCS_ASCII.java - src/share/classes/sun/io/CharToByteDBCS_EBCDIC.java - src/share/classes/sun/io/CharToByteDoubleByte.java - src/share/classes/sun/io/CharToByteEUC.java - src/share/classes/sun/io/CharToByteEUC_CN.java - src/share/classes/sun/io/CharToByteEUC_JP.java - src/share/classes/sun/io/CharToByteEUC_JP_LINUX.java - src/share/classes/sun/io/CharToByteEUC_JP_Solaris.java - src/share/classes/sun/io/CharToByteEUC_KR.java - src/share/classes/sun/io/CharToByteEUC_TW.java - src/share/classes/sun/io/CharToByteGB18030.java - src/share/classes/sun/io/CharToByteGBK.java - src/share/classes/sun/io/CharToByteISCII91.java - src/share/classes/sun/io/CharToByteISO2022.java - src/share/classes/sun/io/CharToByteISO2022CN_CNS.java - src/share/classes/sun/io/CharToByteISO2022CN_GB.java - src/share/classes/sun/io/CharToByteISO2022JP.java - src/share/classes/sun/io/CharToByteISO2022KR.java - src/share/classes/sun/io/CharToByteISO8859_1.java - src/share/classes/sun/io/CharToByteISO8859_13.java - src/share/classes/sun/io/CharToByteISO8859_15.java - src/share/classes/sun/io/CharToByteISO8859_2.java - src/share/classes/sun/io/CharToByteISO8859_3.java - src/share/classes/sun/io/CharToByteISO8859_4.java - src/share/classes/sun/io/CharToByteISO8859_5.java - src/share/classes/sun/io/CharToByteISO8859_6.java - src/share/classes/sun/io/CharToByteISO8859_7.java - src/share/classes/sun/io/CharToByteISO8859_8.java - src/share/classes/sun/io/CharToByteISO8859_9.java - src/share/classes/sun/io/CharToByteJIS0201.java - src/share/classes/sun/io/CharToByteJIS0208.java - src/share/classes/sun/io/CharToByteJIS0208_Solaris.java - src/share/classes/sun/io/CharToByteJIS0212.java - src/share/classes/sun/io/CharToByteJIS0212_Solaris.java - src/share/classes/sun/io/CharToByteJohab.java - src/share/classes/sun/io/CharToByteKOI8_R.java - src/share/classes/sun/io/CharToByteMS874.java - src/share/classes/sun/io/CharToByteMS932.java - src/share/classes/sun/io/CharToByteMS936.java - src/share/classes/sun/io/CharToByteMS949.java - src/share/classes/sun/io/CharToByteMS950.java - src/share/classes/sun/io/CharToByteMS950_HKSCS.java - src/share/classes/sun/io/CharToByteMacArabic.java - src/share/classes/sun/io/CharToByteMacCentralEurope.java - src/share/classes/sun/io/CharToByteMacCroatian.java - src/share/classes/sun/io/CharToByteMacCyrillic.java - src/share/classes/sun/io/CharToByteMacDingbat.java - src/share/classes/sun/io/CharToByteMacGreek.java - src/share/classes/sun/io/CharToByteMacHebrew.java - src/share/classes/sun/io/CharToByteMacIceland.java - src/share/classes/sun/io/CharToByteMacRoman.java - src/share/classes/sun/io/CharToByteMacRomania.java - src/share/classes/sun/io/CharToByteMacSymbol.java - src/share/classes/sun/io/CharToByteMacThai.java - src/share/classes/sun/io/CharToByteMacTurkish.java - src/share/classes/sun/io/CharToByteMacUkraine.java - src/share/classes/sun/io/CharToBytePCK.java - src/share/classes/sun/io/CharToByteSJIS.java - src/share/classes/sun/io/CharToByteSingleByte.java - src/share/classes/sun/io/CharToByteTIS620.java - src/share/classes/sun/io/CharToByteUTF16.java - src/share/classes/sun/io/CharToByteUTF8.java - src/share/classes/sun/io/CharToByteUnicode.java - src/share/classes/sun/io/CharToByteUnicodeBig.java - src/share/classes/sun/io/CharToByteUnicodeBigUnmarked.java - src/share/classes/sun/io/CharToByteUnicodeLittle.java - src/share/classes/sun/io/CharToByteUnicodeLittleUnmarked.java - src/share/classes/sun/io/CharacterEncoding.java - src/share/classes/sun/io/ConversionBufferFullException.java - src/share/classes/sun/io/Converters.java - src/share/classes/sun/io/MalformedInputException.java - src/share/classes/sun/io/UnknownCharacterException.java - test/sun/nio/cs/TestISCII91.java Changeset: 0595eb21e9b5 Author: lana Date: 2011-09-12 15:49 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/0595eb21e9b5 Merge Changeset: 6d6d75421e8a Author: weijun Date: 2011-08-30 10:46 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/6d6d75421e8a 7083576: add javax/xml/crypto into jdk_security2 Reviewed-by: mullan ! test/Makefile ! test/javax/xml/crypto/dsig/SecurityManager/XMLDSigWithSecMgr.java Changeset: fe205518c3a7 Author: michaelm Date: 2011-08-30 14:40 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/fe205518c3a7 7084560: Crash in net.dll Reviewed-by: chegar Contributed-by: luchsh at linux.vnet.ibm.com ! src/windows/native/java/net/NetworkInterface.c ! src/windows/native/java/net/NetworkInterface_winXP.c Changeset: ef4f24534a96 Author: michaelm Date: 2011-08-30 14:41 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/ef4f24534a96 Merge Changeset: 8a51f0e24380 Author: sherman Date: 2011-08-30 11:53 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/8a51f0e24380 7084245: Update usages of InternalError to use exception chaining Summary: to use new InternalError constructor with cause chainning Reviewed-by: alanb, ksrini, xuelei, neugens Contributed-by: sebastian.sickelmann at gmx.de ! src/share/classes/com/sun/imageio/plugins/jpeg/JFIFMarkerSegment.java ! src/share/classes/com/sun/jmx/snmp/SnmpCounter64.java ! src/share/classes/com/sun/jmx/snmp/SnmpInt.java ! src/share/classes/com/sun/jmx/snmp/SnmpNull.java ! src/share/classes/com/sun/jmx/snmp/SnmpString.java ! src/share/classes/com/sun/jmx/snmp/daemon/SnmpRequestHandler.java ! src/share/classes/com/sun/servicetag/BrowserSupport.java ! src/share/classes/com/sun/servicetag/RegistrationDocument.java ! src/share/classes/java/awt/BufferCapabilities.java ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/GridBagConstraints.java ! src/share/classes/java/awt/ImageCapabilities.java ! src/share/classes/java/awt/Insets.java ! src/share/classes/java/awt/JobAttributes.java ! src/share/classes/java/awt/PageAttributes.java ! src/share/classes/java/awt/RenderingHints.java ! src/share/classes/java/awt/font/TextLayout.java ! src/share/classes/java/awt/geom/AffineTransform.java ! src/share/classes/java/awt/geom/CubicCurve2D.java ! src/share/classes/java/awt/geom/Dimension2D.java ! src/share/classes/java/awt/geom/Line2D.java ! src/share/classes/java/awt/geom/Point2D.java ! src/share/classes/java/awt/geom/QuadCurve2D.java ! src/share/classes/java/awt/geom/RectangularShape.java ! src/share/classes/java/awt/image/ImageFilter.java ! src/share/classes/java/awt/image/Kernel.java ! src/share/classes/java/io/ObjectStreamClass.java ! src/share/classes/java/lang/CharacterName.java ! src/share/classes/java/lang/Class.java ! src/share/classes/java/lang/invoke/CallSite.java ! src/share/classes/java/lang/invoke/Invokers.java ! src/share/classes/java/lang/invoke/MemberName.java ! src/share/classes/java/lang/invoke/MethodHandleStatics.java ! src/share/classes/java/lang/invoke/MethodTypeForm.java ! src/share/classes/java/lang/reflect/Proxy.java ! src/share/classes/java/rmi/dgc/VMID.java ! src/share/classes/java/security/cert/CollectionCertStoreParameters.java ! src/share/classes/java/security/cert/LDAPCertStoreParameters.java ! src/share/classes/java/security/cert/PKIXCertPathChecker.java ! src/share/classes/java/security/cert/PKIXCertPathValidatorResult.java ! src/share/classes/java/security/cert/PKIXParameters.java ! src/share/classes/java/security/cert/X509CRLSelector.java ! src/share/classes/java/security/cert/X509CertSelector.java ! src/share/classes/java/text/AttributedString.java ! src/share/classes/java/text/BreakDictionary.java ! src/share/classes/java/text/BreakIterator.java ! src/share/classes/java/text/Collator.java ! src/share/classes/java/text/DateFormatSymbols.java ! src/share/classes/java/text/DecimalFormat.java ! src/share/classes/java/text/DecimalFormatSymbols.java ! src/share/classes/java/text/DigitList.java ! src/share/classes/java/text/Format.java ! src/share/classes/java/text/RuleBasedBreakIterator.java ! src/share/classes/java/text/StringCharacterIterator.java ! src/share/classes/java/util/ArrayList.java ! src/share/classes/java/util/BitSet.java ! src/share/classes/java/util/Calendar.java ! src/share/classes/java/util/Currency.java ! src/share/classes/java/util/HashSet.java ! src/share/classes/java/util/Hashtable.java ! src/share/classes/java/util/IdentityHashMap.java ! src/share/classes/java/util/LinkedList.java ! src/share/classes/java/util/Locale.java ! src/share/classes/java/util/ResourceBundle.java ! src/share/classes/java/util/TimeZone.java ! src/share/classes/java/util/TreeMap.java ! src/share/classes/java/util/TreeSet.java ! src/share/classes/java/util/UUID.java ! src/share/classes/java/util/Vector.java ! src/share/classes/java/util/zip/ZipEntry.java ! src/share/classes/javax/management/openmbean/TabularDataSupport.java ! src/share/classes/javax/swing/text/ElementIterator.java ! src/share/classes/javax/swing/text/rtf/RTFReader.java ! src/share/classes/sun/dc/DuctusRenderingEngine.java ! src/share/classes/sun/font/FontLineMetrics.java ! src/share/classes/sun/font/GlyphLayout.java ! src/share/classes/sun/invoke/util/ValueConversions.java ! src/share/classes/sun/java2d/pipe/LoopPipe.java ! src/share/classes/sun/management/counter/perf/PerfDataEntry.java ! src/share/classes/sun/management/counter/perf/PerfDataType.java ! src/share/classes/sun/misc/Launcher.java ! src/share/classes/sun/misc/ProxyGenerator.java ! src/share/classes/sun/net/NetworkClient.java ! src/share/classes/sun/net/NetworkServer.java ! src/share/classes/sun/net/ftp/impl/FtpClient.java ! src/share/classes/sun/net/smtp/SmtpClient.java ! src/share/classes/sun/net/www/http/ChunkedOutputStream.java ! src/share/classes/sun/net/www/http/HttpClient.java ! src/share/classes/sun/net/www/protocol/gopher/GopherClient.java ! src/share/classes/sun/net/www/protocol/https/HttpsClient.java ! src/share/classes/sun/nio/ch/Util.java ! src/share/classes/sun/reflect/UTF8.java ! src/share/classes/sun/reflect/misc/MethodUtil.java ! src/share/classes/sun/rmi/transport/LiveRef.java ! src/share/classes/sun/security/provider/SecureRandom.java ! src/share/classes/sun/security/provider/SeedGenerator.java ! src/share/classes/sun/security/provider/certpath/ForwardState.java ! src/share/classes/sun/security/provider/certpath/ReverseState.java ! src/share/classes/sun/security/provider/certpath/URICertStore.java ! src/share/classes/sun/security/util/SecurityConstants.java ! src/share/classes/sun/text/CompactByteArray.java ! src/share/classes/sun/text/normalizer/NormalizerBase.java ! src/share/classes/sun/tools/attach/HotSpotAttachProvider.java ! src/share/classes/sun/tools/attach/HotSpotVirtualMachine.java ! src/share/classes/sun/tools/jconsole/LocalVirtualMachine.java ! src/share/classes/sun/tools/tree/Node.java ! src/share/classes/sun/tracing/dtrace/DTraceProvider.java ! src/share/classes/sun/util/calendar/CalendarDate.java ! src/solaris/classes/sun/awt/X11/XBaseMenuWindow.java ! src/solaris/classes/sun/awt/X11/XMenuItemPeer.java ! src/solaris/classes/sun/nio/ch/InheritedChannel.java ! src/solaris/classes/sun/tools/attach/LinuxVirtualMachine.java Changeset: f5120b47f93d Author: weijun Date: 2011-08-31 09:22 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/f5120b47f93d 7083664: test hard code of using c:/temp but this dir might not exist Reviewed-by: xuelei, ohair ! test/lib/security/java.policy/Ext_AllPolicy.sh ! test/sun/security/tools/jarsigner/AlgOptions.sh ! test/sun/security/tools/jarsigner/PercentSign.sh ! test/sun/security/tools/jarsigner/diffend.sh ! test/sun/security/tools/jarsigner/oldsig.sh ! test/sun/security/tools/keytool/AltProviderPath.sh ! test/sun/security/tools/keytool/SecretKeyKS.sh ! test/sun/security/tools/keytool/StandardAlgName.sh ! test/sun/security/tools/keytool/i18n.sh ! test/sun/security/tools/keytool/resource.sh ! test/sun/security/tools/policytool/Alias.sh ! test/sun/security/tools/policytool/ChangeUI.sh ! test/sun/security/tools/policytool/OpenPolicy.sh ! test/sun/security/tools/policytool/SaveAs.sh ! test/sun/security/tools/policytool/UpdatePermissions.sh ! test/sun/security/tools/policytool/UsePolicy.sh ! test/sun/security/tools/policytool/i18n.sh Changeset: a5a28b040714 Author: chegar Date: 2011-09-01 06:45 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/a5a28b040714 7014860: Socket.getInputStream().available() not clear for shutdown input Reviewed-by: alanb, michaelm ! src/share/classes/java/net/AbstractPlainSocketImpl.java ! src/share/classes/java/net/Socket.java ! src/share/classes/java/net/SocketImpl.java + test/java/net/Socket/ShutdownInput.java Changeset: fcb33500b325 Author: chegar Date: 2011-09-01 13:53 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/fcb33500b325 7041800: URI.equals may incorrectly return true with escaped octets Reviewed-by: alanb, michaelm ! src/share/classes/java/net/URI.java ! test/java/net/URI/Test.java Changeset: ffada2ce20e5 Author: darcy Date: 2011-09-01 23:00 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/ffada2ce20e5 7082971: More performance tuning of BigDecimal and other java.math classes Reviewed-by: darcy Contributed-by: sergey.kuksenko at oracle.com ! src/share/classes/java/math/BigDecimal.java ! src/share/classes/java/math/BigInteger.java ! src/share/classes/java/math/MutableBigInteger.java ! test/java/math/BigDecimal/DivideMcTests.java ! test/java/math/BigDecimal/FloatDoubleValueTests.java ! test/java/math/BigDecimal/RangeTests.java ! test/java/math/BigDecimal/StrippingZerosTest.java ! test/java/math/BigDecimal/ToPlainStringTests.java Changeset: 812c6d4d6a58 Author: sherman Date: 2011-09-02 10:20 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/812c6d4d6a58 6898310: (cs) Charset cache lookups should be synchronized Summary: synchronize the lookup in iterator Reviewed-by: alanb ! src/share/classes/sun/nio/cs/AbstractCharsetProvider.java Changeset: 95aff7cbf590 Author: darcy Date: 2011-09-02 16:06 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/95aff7cbf590 6989067: BigInteger's array copiers should be converted to System.arraycopy() Reviewed-by: mduigou, forax ! src/share/classes/java/math/BigInteger.java Changeset: 5b8f8397379f Author: chegar Date: 2011-09-03 07:46 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/5b8f8397379f 7084032: test/java/net/Inet6Address/B6558853.java fails on Windows XP/2003 if IPv6 Reviewed-by: chegar Contributed-by: kurchi.subhra.hazra at oracle.com ! src/windows/native/java/net/TwoStacksPlainSocketImpl.c Changeset: 62c25e4c30a3 Author: weijun Date: 2011-09-05 11:22 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/62c25e4c30a3 7081783: jarsigner error when no $HOME/.keystore Reviewed-by: xuelei ! src/share/classes/sun/security/tools/JarSigner.java Changeset: 1d247911e035 Author: weijun Date: 2011-09-05 18:17 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/1d247911e035 7081411: DSA keypair generation affected by Solaris bug Reviewed-by: xuelei, mullan, alanb ! test/ProblemList.txt + test/java/security/KeyPairGenerator/SolarisShortDSA.java Changeset: 946e3b786d2d Author: coffeys Date: 2011-09-05 11:28 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/946e3b786d2d 7049079: NTSYSTEM CLASS IS LEAKING WINDOWS TOKENS Reviewed-by: weijun ! src/share/classes/com/sun/security/auth/module/NTSystem.java ! src/windows/native/com/sun/security/auth/module/nt.c Changeset: 43880d125b79 Author: darcy Date: 2011-09-05 08:04 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/43880d125b79 7086710: java/util/Formatter/Basic.java failing after 7082971 Reviewed-by: alanb ! src/share/classes/java/math/BigDecimal.java Changeset: 5077e7a68259 Author: darcy Date: 2011-09-06 06:17 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/5077e7a68259 6838776: Defer initialization of static fields in java.math.BigInteger Reviewed-by: mduigou, mduigou ! src/share/classes/java/math/BigDecimal.java ! src/share/classes/java/math/BigInteger.java Changeset: c62794c9caea Author: weijun Date: 2011-09-07 08:56 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/c62794c9caea 7067974: multiple ETYPE-INFO-ENTRY with same etype and different salt Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/EncryptionKey.java ! src/share/classes/sun/security/krb5/KrbAsRep.java ! src/share/classes/sun/security/krb5/KrbAsReqBuilder.java ! src/share/classes/sun/security/krb5/internal/KRBError.java ! src/share/classes/sun/security/krb5/internal/PAData.java + test/sun/security/krb5/auto/DupEtypes.java ! test/sun/security/krb5/auto/KDC.java Changeset: fa1e7738a136 Author: darcy Date: 2011-09-06 21:19 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/fa1e7738a136 7086192: (reflect) Have TypeVariable extend AnnotatedElement Reviewed-by: mcimadamore ! src/share/classes/java/lang/reflect/TypeVariable.java ! src/share/classes/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java + test/java/lang/reflect/TypeVariable/TestAnnotatedElement.java Changeset: be949e12cab0 Author: mchung Date: 2011-09-07 13:42 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/be949e12cab0 7078024: Update JDK service tag for JDK 8 Reviewed-by: paulk ! make/com/sun/servicetag/Makefile ! src/share/classes/com/sun/servicetag/Installer.java + src/share/classes/com/sun/servicetag/resources/javase_servicetag.properties ! test/com/sun/servicetag/JavaServiceTagTest.java ! test/com/sun/servicetag/JavaServiceTagTest1.java Changeset: 6dab08f1cabb Author: weijun Date: 2011-09-08 09:04 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/6dab08f1cabb 7087428: move client tests out of jdk_misc Reviewed-by: alanb, ohair ! make/jprt.properties ! test/Makefile Changeset: 0e6076fed003 Author: weijun Date: 2011-09-09 11:18 +0800 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/0e6076fed003 7047200: keytool safe store Reviewed-by: xuelei ! src/share/classes/sun/security/tools/KeyTool.java + test/sun/security/tools/keytool/trystore.sh Changeset: e8eee45e1ca5 Author: michaelm Date: 2011-09-09 14:04 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/e8eee45e1ca5 7085981: XXSocket types depend on impl finalizer to close if constructor throws exception Reviewed-by: alanb, chegar ! src/share/classes/java/net/DatagramSocket.java ! src/share/classes/java/net/MulticastSocket.java ! src/share/classes/java/net/Socket.java Changeset: 0ba4b29c7d9a Author: michaelm Date: 2011-09-09 14:14 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/0ba4b29c7d9a Merge Changeset: e995c36bb1eb Author: michaelm Date: 2011-09-09 15:24 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/e995c36bb1eb 7088747: Use multicatch in Socket constructor Reviewed-by: alanb ! src/share/classes/java/net/Socket.java Changeset: c91176b44c9b Author: alanb Date: 2011-09-10 14:55 +0100 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/c91176b44c9b 7089131: test/java/lang/invoke/InvokeGenericTest.java does not compile Reviewed-by: darcy, jrose ! test/java/lang/invoke/InvokeGenericTest.java Changeset: 22c843299c5b Author: lana Date: 2011-09-10 21:30 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/22c843299c5b Merge Changeset: d8658f371633 Author: lana Date: 2011-09-12 16:59 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/d8658f371633 Merge ! src/share/classes/java/awt/Component.java Changeset: bdb870cc269e Author: lana Date: 2011-09-19 19:40 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/bdb870cc269e Merge Changeset: bbf4e1faf859 Author: lana Date: 2011-09-23 16:50 -0700 URL: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/bbf4e1faf859 Merge From stephen.fitch at oracle.com Sat Sep 24 06:42:34 2011 From: stephen.fitch at oracle.com (stephen.fitch at oracle.com) Date: Fri, 23 Sep 2011 23:42:34 -0700 (PDT) Subject: [OpenJDK 2D-Dev] Auto Reply: 2d-dev Digest, Vol 52, Issue 7 Message-ID: I will be out of the office Fri 23rd Sep. through Oct 9th I will be back in the office on Monday Oct 10th In the event of a critical issue, please contact (From Wed) Mark Susko via phone or email as javase_csms_ww at oracle.com alias. Thanks, Stephen From helbrass at gmail.com Wed Sep 28 13:35:10 2011 From: helbrass at gmail.com (Aekold Helbrass) Date: Wed, 28 Sep 2011 16:35:10 +0300 Subject: [OpenJDK 2D-Dev] fixing OpenJDK font rendering Message-ID: Hi All! I am working on fixing openjdk font rendering on linux (because currently it's just horrible!), and I've done working proof-of-concept: https://github.com/Helbrass/openjdk-fontfix So now I would like to move from dirty workaround to proper clean and working implementation. And I have some questions about code that surrounds font rendering and ideas behind that code. First question is: FreetypeFontScaler.createScalerContext() is not doing anything, just acting as bridge, and all logic is in FileFontStrike constructor. And I have to pass DPI to createScalerContext(). Should I change FileFontStrike and pass DPI to any scaler implementation or make FreetypeFontScaler.createScalerContext() read DPI itself because T2KFontScaler doesn't need DPI or can read it itself? Thanx! From philip.race at oracle.com Wed Sep 28 17:50:11 2011 From: philip.race at oracle.com (Phil Race) Date: Wed, 28 Sep 2011 10:50:11 -0700 Subject: [OpenJDK 2D-Dev] fixing OpenJDK font rendering In-Reply-To: References: Message-ID: <4E835E53.8000000@oracle.com> I can't see exactly what you are proposing since you aren't providing a diff against openjdk master. In so far as I could traverse your git repository and find anything I'm concerned by seeing references to "x11Display" in the freetypeScaler.c file which is actually used on Windows too .. And I think you misunderstand how Java defines point sizes. The point size specified to the Font constructor should be scaled from pixels only according to the transform on the Java Graphics2D instance. NOT in response to any desktop DPI setting. -phil. On 9/28/2011 6:35 AM, Aekold Helbrass wrote: > Hi All! > > I am working on fixing openjdk font rendering on linux (because > currently it's just horrible!), and I've done working > proof-of-concept: https://github.com/Helbrass/openjdk-fontfix > > So now I would like to move from dirty workaround to proper clean and > working implementation. And I have some questions about code that > surrounds font rendering and ideas behind that code. > > First question is: FreetypeFontScaler.createScalerContext() is not > doing anything, just acting as bridge, and all logic is in > FileFontStrike constructor. And I have to pass DPI to > createScalerContext(). Should I change FileFontStrike and pass DPI to > any scaler implementation or make > FreetypeFontScaler.createScalerContext() read DPI itself because > T2KFontScaler doesn't need DPI or can read it itself? > > Thanx! From philip.race at oracle.com Thu Sep 29 17:56:47 2011 From: philip.race at oracle.com (Phil Race) Date: Thu, 29 Sep 2011 10:56:47 -0700 Subject: [OpenJDK 2D-Dev] fixing OpenJDK font rendering In-Reply-To: References: <4E835E53.8000000@oracle.com> Message-ID: <4E84B15F.3050701@oracle.com> On 9/28/2011 11:10 PM, Aekold Helbrass wrote: > Hi! Thanx for your answer. > > On Wed, Sep 28, 2011 at 8:50 PM, Phil Race wrote: >> I can't see exactly what you are proposing since you aren't providing >> a diff against openjdk master. > Well, before providing diffs against openjdk master - I want to make > it as good as possible. So for now those are just experiments with > what I can and what I can't do. > >> In so far as I could traverse your git repository and find anything >> I'm concerned by seeing references to "x11Display" in the freetypeScaler.c >> file which is actually used on Windows too .. > Exactly. That's why I called it "a dirty hack", "a proof of concept", > and that's the reason I am asking my questions now - to implement it > properly. To do that I want to see ideas behind font rendering layer. > OpenJDK does not belong to me, so I am the one who should be compliant > with original developer's ideas and styles. > >> And I think you misunderstand how Java defines point sizes. >> The point size specified to the Font constructor should be scaled >> from pixels only according to the transform on the Java Graphics2D instance. >> NOT in response to any desktop DPI setting. > But freetype2 needs DPI setting to render font properly. That's the > reason why swing apps are always ugly on linux - swing does not > respect DPI nor fontconfig proeprties. Every other UI toolkit on linux > does, including Qt and GTK. And the more DPI screen has - the uglier > swing looks there. I want to use the same font in kwrite and in > netbeans, but in kwrite its size 9 and in netbeans I have to set size > 12-13 to make it the same, but it still looks different. Not to be > unfounded - please see comparison in attachment, to the left - Qt > rendering, the same as KDE has, Consolas, from size 16 to size 9 top > to bottom. To the right - the same but in swing (jdk6u24). And that's > on the screen with only 96 DPI, on the screens with 130 and more - > it's even worse. Additionaly, freetype2 has to know exact pixel size, > calculated from pt size and DPI or set up directly, to render subpixel > structure properly and make hinter do its job properly. Otherwise > subpixel structure will be wrong and you'll probably get rendering > artefacts, plus hinting will be broken. > > Just got another thought... Do you mean that Java have to work that > way because of backward compatibility or compatibility with > T2KFontScaler or for any other reason? I mean, that java does not need > to respect desktop settings but has to work in predefined manner? I mean that this is how Java is specified. So its not something you can change. The GTKLookAndFeel code accounts for the desktop DPI used by the desktop and scales the font size appropriately. Take a look at src/share/classes/com/sun/java/swing/plaf/gtk/PangoFonts.java In your application, not in JDK code, you could try what it does there and getDeskProperty("gnome.Xft/DPI"); and scale your font size appropriately. -phil. >> -phil. >> >> On 9/28/2011 6:35 AM, Aekold Helbrass wrote: >>> Hi All! >>> >>> I am working on fixing openjdk font rendering on linux (because >>> currently it's just horrible!), and I've done working >>> proof-of-concept: https://github.com/Helbrass/openjdk-fontfix >>> >>> So now I would like to move from dirty workaround to proper clean and >>> working implementation. And I have some questions about code that >>> surrounds font rendering and ideas behind that code. >>> >>> First question is: FreetypeFontScaler.createScalerContext() is not >>> doing anything, just acting as bridge, and all logic is in >>> FileFontStrike constructor. And I have to pass DPI to >>> createScalerContext(). Should I change FileFontStrike and pass DPI to >>> any scaler implementation or make >>> FreetypeFontScaler.createScalerContext() read DPI itself because >>> T2KFontScaler doesn't need DPI or can read it itself? >>> >>> Thanx! >> From helbrass at gmail.com Thu Sep 29 18:33:19 2011 From: helbrass at gmail.com (Aekold Helbrass) Date: Thu, 29 Sep 2011 21:33:19 +0300 Subject: [OpenJDK 2D-Dev] fixing OpenJDK font rendering In-Reply-To: <4E84B15F.3050701@oracle.com> References: <4E835E53.8000000@oracle.com> <4E84B15F.3050701@oracle.com> Message-ID: So... You really mean that swing may not respect desktop font rendering settings and must keep rendering fonts with the same uglyness forever, even in native look and feels? No wonder swing is so dead... On Thu, Sep 29, 2011 at 8:56 PM, Phil Race wrote: > On 9/28/2011 11:10 PM, Aekold Helbrass wrote: >> >> Hi! Thanx for your answer. >> >> On Wed, Sep 28, 2011 at 8:50 PM, Phil Race ?wrote: >>> >>> I can't see exactly what you are proposing since you aren't providing >>> a diff against openjdk master. >> >> Well, before providing diffs against openjdk master - I want to make >> it as good as possible. So for now those are just experiments with >> what I can and what I can't do. >> >>> In so far as I could traverse your git repository and find anything >>> I'm concerned by seeing references to "x11Display" in the >>> freetypeScaler.c >>> file which is actually used on Windows too .. >> >> Exactly. That's why I called it "a dirty hack", "a proof of concept", >> and that's the reason I am asking my questions now - to implement it >> properly. To do that I want to see ideas behind font rendering layer. >> OpenJDK does not belong to me, so I am the one who should be compliant >> with original developer's ideas and styles. >> >>> And I think you misunderstand how Java defines point sizes. >>> The point size specified to the Font constructor should be scaled >>> from pixels only according to the transform on the Java Graphics2D >>> instance. >>> NOT in response to any desktop DPI setting. >> >> But freetype2 needs DPI setting to render font properly. That's the >> reason why swing apps are always ugly on linux - swing does not >> respect DPI nor fontconfig proeprties. Every other UI toolkit on linux >> does, including Qt and GTK. And the more DPI screen has - the uglier >> swing looks there. I want to use the same font in kwrite and in >> netbeans, but in kwrite its size 9 and in netbeans I have to set size >> 12-13 to make it the same, but it still looks different. Not to be >> unfounded - please see comparison in attachment, to the left - Qt >> rendering, the same as KDE has, Consolas, from size 16 to size 9 top >> to bottom. To the right - the same but in swing (jdk6u24). And that's >> on the screen with only 96 DPI, on the screens with 130 and more - >> it's even worse. Additionaly, freetype2 has to know exact pixel size, >> calculated from pt size and DPI or set up directly, to render subpixel >> structure properly and make hinter do its job properly. Otherwise >> subpixel structure will be wrong and you'll probably get rendering >> artefacts, plus hinting will be broken. >> >> Just got another thought... Do you mean that Java have to work that >> way because of backward compatibility or compatibility with >> T2KFontScaler or for any other reason? I mean, that java does not need >> to respect desktop settings but has to work in predefined manner? > > I mean that this is how Java is specified. So its not something you can > change. > The GTKLookAndFeel code accounts for the desktop DPI used by the desktop > and scales the font size appropriately. ?Take a look at > src/share/classes/com/sun/java/swing/plaf/gtk/PangoFonts.java > > In your application, not in JDK code, you could try what it does there > and getDeskProperty("gnome.Xft/DPI"); and scale your font size > appropriately. > > -phil. > >>> -phil. >>> >>> On 9/28/2011 6:35 AM, Aekold Helbrass wrote: >>>> >>>> Hi All! >>>> >>>> I am working on fixing openjdk font rendering on linux (because >>>> currently it's just horrible!), and I've done working >>>> proof-of-concept: https://github.com/Helbrass/openjdk-fontfix >>>> >>>> So now I would like to move from dirty workaround to proper clean and >>>> working implementation. And I have some questions about code that >>>> surrounds font rendering and ideas behind that code. >>>> >>>> First question is: FreetypeFontScaler.createScalerContext() is not >>>> doing anything, just acting as bridge, and all logic is in >>>> FileFontStrike constructor. And I have to pass DPI to >>>> createScalerContext(). Should I change FileFontStrike and pass DPI to >>>> any scaler implementation or make >>>> FreetypeFontScaler.createScalerContext() read DPI itself because >>>> T2KFontScaler doesn't need DPI or can read it itself? >>>> >>>> Thanx! From philip.race at oracle.com Thu Sep 29 18:40:00 2011 From: philip.race at oracle.com (Phil Race) Date: Thu, 29 Sep 2011 11:40:00 -0700 Subject: [OpenJDK 2D-Dev] fixing OpenJDK font rendering In-Reply-To: References: <4E835E53.8000000@oracle.com> <4E84B15F.3050701@oracle.com> Message-ID: <4E84BB80.6030800@oracle.com> On 9/29/2011 11:33 AM, Aekold Helbrass wrote: > So... You really mean that swing may not respect desktop font > rendering settings and must keep rendering fonts with the same > uglyness forever, even in native look and feels? No wonder swing is so > dead... I don't think you are reading what I wrote. The native GTK L&F *does* do that .. I even pointed you to the source code that handles it. And "size difference" != "ugliness" -phil. > On Thu, Sep 29, 2011 at 8:56 PM, Phil Race wrote: >> On 9/28/2011 11:10 PM, Aekold Helbrass wrote: >>> Hi! Thanx for your answer. >>> >>> On Wed, Sep 28, 2011 at 8:50 PM, Phil Race wrote: >>>> I can't see exactly what you are proposing since you aren't providing >>>> a diff against openjdk master. >>> Well, before providing diffs against openjdk master - I want to make >>> it as good as possible. So for now those are just experiments with >>> what I can and what I can't do. >>> >>>> In so far as I could traverse your git repository and find anything >>>> I'm concerned by seeing references to "x11Display" in the >>>> freetypeScaler.c >>>> file which is actually used on Windows too .. >>> Exactly. That's why I called it "a dirty hack", "a proof of concept", >>> and that's the reason I am asking my questions now - to implement it >>> properly. To do that I want to see ideas behind font rendering layer. >>> OpenJDK does not belong to me, so I am the one who should be compliant >>> with original developer's ideas and styles. >>> >>>> And I think you misunderstand how Java defines point sizes. >>>> The point size specified to the Font constructor should be scaled >>>> from pixels only according to the transform on the Java Graphics2D >>>> instance. >>>> NOT in response to any desktop DPI setting. >>> But freetype2 needs DPI setting to render font properly. That's the >>> reason why swing apps are always ugly on linux - swing does not >>> respect DPI nor fontconfig proeprties. Every other UI toolkit on linux >>> does, including Qt and GTK. And the more DPI screen has - the uglier >>> swing looks there. I want to use the same font in kwrite and in >>> netbeans, but in kwrite its size 9 and in netbeans I have to set size >>> 12-13 to make it the same, but it still looks different. Not to be >>> unfounded - please see comparison in attachment, to the left - Qt >>> rendering, the same as KDE has, Consolas, from size 16 to size 9 top >>> to bottom. To the right - the same but in swing (jdk6u24). And that's >>> on the screen with only 96 DPI, on the screens with 130 and more - >>> it's even worse. Additionaly, freetype2 has to know exact pixel size, >>> calculated from pt size and DPI or set up directly, to render subpixel >>> structure properly and make hinter do its job properly. Otherwise >>> subpixel structure will be wrong and you'll probably get rendering >>> artefacts, plus hinting will be broken. >>> >>> Just got another thought... Do you mean that Java have to work that >>> way because of backward compatibility or compatibility with >>> T2KFontScaler or for any other reason? I mean, that java does not need >>> to respect desktop settings but has to work in predefined manner? >> I mean that this is how Java is specified. So its not something you can >> change. >> The GTKLookAndFeel code accounts for the desktop DPI used by the desktop >> and scales the font size appropriately. Take a look at >> src/share/classes/com/sun/java/swing/plaf/gtk/PangoFonts.java >> >> In your application, not in JDK code, you could try what it does there >> and getDeskProperty("gnome.Xft/DPI"); and scale your font size >> appropriately. >> >> -phil. >> >>>> -phil. >>>> >>>> On 9/28/2011 6:35 AM, Aekold Helbrass wrote: >>>>> Hi All! >>>>> >>>>> I am working on fixing openjdk font rendering on linux (because >>>>> currently it's just horrible!), and I've done working >>>>> proof-of-concept: https://github.com/Helbrass/openjdk-fontfix >>>>> >>>>> So now I would like to move from dirty workaround to proper clean and >>>>> working implementation. And I have some questions about code that >>>>> surrounds font rendering and ideas behind that code. >>>>> >>>>> First question is: FreetypeFontScaler.createScalerContext() is not >>>>> doing anything, just acting as bridge, and all logic is in >>>>> FileFontStrike constructor. And I have to pass DPI to >>>>> createScalerContext(). Should I change FileFontStrike and pass DPI to >>>>> any scaler implementation or make >>>>> FreetypeFontScaler.createScalerContext() read DPI itself because >>>>> T2KFontScaler doesn't need DPI or can read it itself? >>>>> >>>>> Thanx! From helbrass at gmail.com Thu Sep 29 19:33:47 2011 From: helbrass at gmail.com (Aekold Helbrass) Date: Thu, 29 Sep 2011 22:33:47 +0300 Subject: [OpenJDK 2D-Dev] fixing OpenJDK font rendering In-Reply-To: <4E84BB80.6030800@oracle.com> References: <4E835E53.8000000@oracle.com> <4E84B15F.3050701@oracle.com> <4E84BB80.6030800@oracle.com> Message-ID: On Thu, Sep 29, 2011 at 9:40 PM, Phil Race wrote: > On 9/29/2011 11:33 AM, Aekold Helbrass wrote: >> >> So... You really mean that swing may not respect desktop font >> rendering settings and must keep rendering fonts with the same >> uglyness forever, even in native look and feels? No wonder swing is so >> dead... > > I don't think you are reading what I wrote. The native GTK ?L&F *does* do > that ?.. > I even pointed you to the source code that handles it. I am reading, also I checked PangoFonts class. It is just changing size of font instead of setting up proper freetype rendering. Because of this freetype first of all will not be able to apply proper subpixel rendering, because it has to know real number of pixels, calculated from DPI and pt size of font, not just 72 dpi and increased size. Second, hinting algorythms of freetype will not work either, because hinting depends on pixel grid so needs exact pixel sizes too. Please see screenshot in attachment, showing that even GTK look and feel rendering is different from real GTK app (gedit in the background). > And "size difference" != "ugliness" With that I can fully agree, but I have few points here too. First of all, swing fonts are still ugly as you can see on screenshots I've sent. Also, swing is not respecting desktop properties, so in any modern linux desktop environment all apps will look similar (they respect fontconfig settings, written by user himself or distribution developers) but swing will be different, and not in a good way. Being fan of netbeans and swing architecture I wanted to see pretty fonts and to get rid of those "wow your netbeans is ugly, why don't you switch to eclipse?", and with my dirty hack I almost did, with few problems when components are requesting fonts with greyscale or mono rendering. So as you can see I am not very happy that swing is doomed because it has to render fonts in some strange manner instead of respecting system and user settings and getting 100% similar glyphs. It's a pity swing is so powerful and with really great design, but nothing is written in swing but few developer tools and maybe few corporate apps based on netbeans platform. And as for me this visual difference between swing and native apps is not the last reason for this. > > -phil. > >> On Thu, Sep 29, 2011 at 8:56 PM, Phil Race ?wrote: >>> >>> On 9/28/2011 11:10 PM, Aekold Helbrass wrote: >>>> >>>> Hi! Thanx for your answer. >>>> >>>> On Wed, Sep 28, 2011 at 8:50 PM, Phil Race >>>> ?wrote: >>>>> >>>>> I can't see exactly what you are proposing since you aren't providing >>>>> a diff against openjdk master. >>>> >>>> Well, before providing diffs against openjdk master - I want to make >>>> it as good as possible. So for now those are just experiments with >>>> what I can and what I can't do. >>>> >>>>> In so far as I could traverse your git repository and find anything >>>>> I'm concerned by seeing references to "x11Display" in the >>>>> freetypeScaler.c >>>>> file which is actually used on Windows too .. >>>> >>>> Exactly. That's why I called it "a dirty hack", "a proof of concept", >>>> and that's the reason I am asking my questions now - to implement it >>>> properly. To do that I want to see ideas behind font rendering layer. >>>> OpenJDK does not belong to me, so I am the one who should be compliant >>>> with original developer's ideas and styles. >>>> >>>>> And I think you misunderstand how Java defines point sizes. >>>>> The point size specified to the Font constructor should be scaled >>>>> from pixels only according to the transform on the Java Graphics2D >>>>> instance. >>>>> NOT in response to any desktop DPI setting. >>>> >>>> But freetype2 needs DPI setting to render font properly. That's the >>>> reason why swing apps are always ugly on linux - swing does not >>>> respect DPI nor fontconfig proeprties. Every other UI toolkit on linux >>>> does, including Qt and GTK. And the more DPI screen has - the uglier >>>> swing looks there. I want to use the same font in kwrite and in >>>> netbeans, but in kwrite its size 9 and in netbeans I have to set size >>>> 12-13 to make it the same, but it still looks different. Not to be >>>> unfounded - please see comparison in attachment, to the left - Qt >>>> rendering, the same as KDE has, Consolas, from size 16 to size 9 top >>>> to bottom. To the right - the same but in swing (jdk6u24). And that's >>>> on the screen with only 96 DPI, on the screens with 130 and more - >>>> it's even worse. Additionaly, freetype2 has to know exact pixel size, >>>> calculated from pt size and DPI or set up directly, to render subpixel >>>> structure properly and make hinter do its job properly. Otherwise >>>> subpixel structure will be wrong and you'll probably get rendering >>>> artefacts, plus hinting will be broken. >>>> >>>> Just got another thought... Do you mean that Java have to work that >>>> way because of backward compatibility or compatibility with >>>> T2KFontScaler or for any other reason? I mean, that java does not need >>>> to respect desktop settings but has to work in predefined manner? >>> >>> I mean that this is how Java is specified. So its not something you can >>> change. >>> The GTKLookAndFeel code accounts for the desktop DPI used by the desktop >>> and scales the font size appropriately. ?Take a look at >>> src/share/classes/com/sun/java/swing/plaf/gtk/PangoFonts.java >>> >>> In your application, not in JDK code, you could try what it does there >>> and getDeskProperty("gnome.Xft/DPI"); and scale your font size >>> appropriately. >>> >>> -phil. >>> >>>>> -phil. >>>>> >>>>> On 9/28/2011 6:35 AM, Aekold Helbrass wrote: >>>>>> >>>>>> Hi All! >>>>>> >>>>>> I am working on fixing openjdk font rendering on linux (because >>>>>> currently it's just horrible!), and I've done working >>>>>> proof-of-concept: https://github.com/Helbrass/openjdk-fontfix >>>>>> >>>>>> So now I would like to move from dirty workaround to proper clean and >>>>>> working implementation. And I have some questions about code that >>>>>> surrounds font rendering and ideas behind that code. >>>>>> >>>>>> First question is: FreetypeFontScaler.createScalerContext() is not >>>>>> doing anything, just acting as bridge, and all logic is in >>>>>> FileFontStrike constructor. And I have to pass DPI to >>>>>> createScalerContext(). Should I change FileFontStrike and pass DPI to >>>>>> any scaler implementation or make >>>>>> FreetypeFontScaler.createScalerContext() read DPI itself because >>>>>> T2KFontScaler doesn't need DPI or can read it itself? >>>>>> >>>>>> Thanx! > > -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot06.png Type: image/png Size: 36149 bytes Desc: not available URL: