From robert.field at oracle.com Fri Jul 1 22:59:53 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Sat, 02 Jul 2011 05:59:53 +0000 Subject: hg: lambda/defender-prototype: Class descriptor parsing. Type processing. Type variable mapping. Message-ID: <20110702055953.9B12147121@hg.openjdk.java.net> Changeset: 51dde566d8e7 Author: Robert Field Date: 2011-07-01 22:59 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/51dde566d8e7 Class descriptor parsing. Type processing. Type variable mapping. + src/jsr335/agent/bridge/ArrayType.java + src/jsr335/agent/bridge/ClassDescriptor.java + src/jsr335/agent/bridge/ClassType.java + src/jsr335/agent/bridge/PrimitiveType.java + src/jsr335/agent/bridge/Type.java + src/jsr335/agent/bridge/TypeVariable.java + src/jsr335/agent/bridge/TypeVariableMap.java ! src/jsr335/agent/top/ClassModel.java From robert.field at oracle.com Sat Jul 2 16:49:10 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Sat, 02 Jul 2011 23:49:10 +0000 Subject: hg: lambda/defender-prototype: Parameterize class descriptors. Prepare to tie to weaver. Message-ID: <20110702234910.9E04D47148@hg.openjdk.java.net> Changeset: 820726b391b5 Author: Robert Field Date: 2011-07-02 16:49 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/820726b391b5 Parameterize class descriptors. Prepare to tie to weaver. ! src/jsr335/agent/Agent.java ! src/jsr335/agent/batch/BatchExecute.java ! src/jsr335/agent/bridge/ArrayType.java ! src/jsr335/agent/bridge/ClassDescriptor.java ! src/jsr335/agent/bridge/ClassType.java ! src/jsr335/agent/bridge/PrimitiveType.java ! src/jsr335/agent/bridge/Type.java ! src/jsr335/agent/bridge/TypeVariable.java ! src/jsr335/agent/top/WeaveClassVisitor.java From maurizio.cimadamore at oracle.com Mon Jul 4 05:56:46 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Mon, 04 Jul 2011 12:56:46 +0000 Subject: hg: lambda/lambda/langtools: Improvements: Message-ID: <20110704125654.66DE747192@hg.openjdk.java.net> Changeset: 33a9a25c7347 Author: mcimadamore Date: 2011-07-04 13:54 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/33a9a25c7347 Improvements: *) Switch to a more local type-inference process. Inference variables are not propagated outwards anymore. This allows for more predictable inference results and better error messages *) added -XDcomplexinference flag to enable more aggressive inference options, such as (i) handling of cycles in inference constraints (i.e. when a lambda expression returns a poly expression and target SAM type contains inference variables), (ii) enabling target-type inference for diamond/generic method calls in method context. ! src/share/classes/com/sun/tools/javac/code/Printer.java ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/main/OptionName.java ! src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java ! test/tools/javac/lambda/ExceptionTransparency04.out ! test/tools/javac/lambda/TargetType10.java ! test/tools/javac/lambda/TargetType10.out ! test/tools/javac/lambda/TargetType14.out ! test/tools/javac/lambda/TargetType24.out ! test/tools/javac/lambda/TargetType27.java ! test/tools/javac/lambda/TargetType27.out ! test/tools/javac/lambda/TargetType28.java ! test/tools/javac/lambda/TargetType28.out + test/tools/javac/lambda/TargetType28_b.out From ali.ebrahimi1781 at gmail.com Tue Jul 5 00:41:11 2011 From: ali.ebrahimi1781 at gmail.com (Ali Ebrahimi) Date: Tue, 5 Jul 2011 11:11:11 +0330 Subject: Method References and partial application In-Reply-To: References: Message-ID: Hi, comments inlined. On Thu, Jun 30, 2011 at 7:59 PM, Reinier Zwitserloot < reinier at zwitserloot.com> wrote: > This syntax can't work; the 'int' there would be fine, but if its an object > type there's no way to tell the difference (as it might as well be a > variable reference - in general if at some point the parser can parse either > a type or an expression and it'd both be legal java code you have a > problem). > > i.e: > > Object Object = null; // stupid name, but legal. > Test#concatToStringCalls(new Object(), Object); // ambiguous! > This is not ambiguous. Consider following code in current java. public class Test { static class A{ public static void call(){ System.out.println("A.call"); } } static class B{ public void call(){ System.out.println("B.call"); } } public static void call(Object a){ } public static void main(String[] args) { B A=new B(); A.call(); //B.call } } Best Regards, Ali Ebrahimi > > Count me in with the: 'Just use a lambda for this' crowd. We'd have to come > up with an entirely new symbol, or declare a magic name, to signify its > partial application. Something like: > > Test#concatToStringCalls(new Object(), _); // _ is a legal identifier name, > but here we consider it 'magic'. > > > > --Reinier Zwitserloot > > > > > On Sat, Jun 25, 2011 at 1:38 PM, Ali Ebrahimi wrote: > >> Hi Brian, >> Is partial application Support for Method References in current scope? >> >> class Test{ >> public static int multiply(int x, int y){ return x * y;} >> >> public static void main(String... args){ >> SAM2 sam2 = Test#multiply; >> SAM1 sam1 = Test#multiply(10,int); >> SAM0 sam0 = Test#multiply(10,20); >> SAM0 sam00 = sam1#apply(20); >> } >> } >> >> Best Regards, >> Ali Ebrahimi >> >> > From robert.field at oracle.com Tue Jul 5 09:36:12 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Tue, 05 Jul 2011 16:36:12 +0000 Subject: hg: lambda/defender-prototype: Map supertype type variables Message-ID: <20110705163613.838DC471D0@hg.openjdk.java.net> Changeset: dbcdc0d611a8 Author: Robert Field Date: 2011-07-05 09:36 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/dbcdc0d611a8 Map supertype type variables ! src/jsr335/agent/WeaveClassAdapter.java + src/jsr335/agent/bridge/BridgeDetect.java ! src/jsr335/agent/bridge/ClassDescriptor.java ! src/jsr335/agent/bridge/TypeVariableMap.java ! src/jsr335/agent/top/ClassModel.java ! src/jsr335/agent/top/WeaveClassVisitor.java From maurizio.cimadamore at oracle.com Wed Jul 6 02:34:40 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 09:34:40 +0000 Subject: hg: lambda/lambda: 22 new changesets Message-ID: <20110706093441.30E63471F8@hg.openjdk.java.net> Changeset: dcfe74f1c655 Author: katleman Date: 2011-04-21 15:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/dcfe74f1c655 Added tag jdk7-b139 for changeset 7ed6d0b9aaa1 ! .hgtags Changeset: 3bd41d40ab97 Author: ohair Date: 2011-04-26 16:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/3bd41d40ab97 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore ! Makefile Changeset: fb9ee99c4332 Author: cl Date: 2011-04-27 19:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/fb9ee99c4332 Merge Changeset: 13db01f974ce Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/13db01f974ce Added tag jdk7-b140 for changeset dcfe74f1c655 ! .hgtags Changeset: c6569c558585 Author: schien Date: 2011-05-02 09:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/c6569c558585 Merge Changeset: cfbbdb77eac0 Author: schien Date: 2011-05-05 14:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/cfbbdb77eac0 Added tag jdk7-b141 for changeset c6569c558585 ! .hgtags Changeset: bde8f3d56ffa Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/bde8f3d56ffa Added tag jdk7-b142 for changeset cfbbdb77eac0 ! .hgtags Changeset: 14b8e7eee105 Author: ohair Date: 2011-05-16 08:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/14b8e7eee105 7043700: Regression for IcedTea builds Reviewed-by: dholmes, omajid ! Makefile ! make/jprt.gmk Changeset: 7203965666a4 Author: schien Date: 2011-05-20 16:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/7203965666a4 Added tag jdk7-b143 for changeset 14b8e7eee105 ! .hgtags Changeset: 3408a19567a6 Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/3408a19567a6 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: 4373d87e6f37 Author: schien Date: 2011-05-26 20:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/4373d87e6f37 Added tag jdk7-b144 for changeset 7203965666a4 ! .hgtags Changeset: 93d2590fd849 Author: jeff Date: 2011-05-27 14:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/93d2590fd849 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: 55e9ebf03218 Author: lana Date: 2011-06-02 13:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/55e9ebf03218 Merge Changeset: 2d38c2a79c14 Author: schien Date: 2011-06-07 14:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/2d38c2a79c14 Added tag jdk7-b145 for changeset 55e9ebf03218 ! .hgtags Changeset: 404bd0b9385f Author: schien Date: 2011-06-08 10:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/404bd0b9385f Merge Changeset: 3e0b96f8f6a0 Author: schien Date: 2011-06-20 16:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/3e0b96f8f6a0 Added tag jdk7-b146 for changeset 2d38c2a79c14 ! .hgtags Changeset: 29e7e1474b5e Author: schien Date: 2011-06-20 17:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/29e7e1474b5e Merge Changeset: 8da980eedab6 Author: jeff Date: 2011-06-22 10:09 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/8da980eedab6 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: d91364304d7c Author: lana Date: 2011-06-22 12:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/d91364304d7c Merge Changeset: ee67ee3bd597 Author: schien Date: 2011-06-27 13:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/ee67ee3bd597 Added tag jdk7-b147 for changeset d91364304d7c ! .hgtags Changeset: 04734fe746f0 Author: schien Date: 2011-06-27 14:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/rev/04734fe746f0 Merge Changeset: 21c7deaf461a Author: mcimadamore Date: 2011-07-05 17:12 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/rev/21c7deaf461a merge with jdk8 From maurizio.cimadamore at oracle.com Wed Jul 6 02:34:56 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 09:34:56 +0000 Subject: hg: lambda/lambda/corba: 26 new changesets Message-ID: <20110706093513.957CF471F9@hg.openjdk.java.net> Changeset: cdf5d19ec142 Author: katleman Date: 2011-04-21 15:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/cdf5d19ec142 Added tag jdk7-b139 for changeset 60b074ec6fcf ! .hgtags Changeset: 96dd337fc845 Author: ohair Date: 2011-04-26 16:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/96dd337fc845 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore Changeset: c311591c06f5 Author: cl Date: 2011-04-27 19:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/c311591c06f5 Merge Changeset: befd1fce6339 Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/befd1fce6339 Added tag jdk7-b140 for changeset cdf5d19ec142 ! .hgtags Changeset: a58635cdd921 Author: schien Date: 2011-05-02 09:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/a58635cdd921 Merge Changeset: b05755e2234d Author: schien Date: 2011-05-05 14:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/b05755e2234d Added tag jdk7-b141 for changeset a58635cdd921 ! .hgtags Changeset: 62a6a0a1a350 Author: mfang Date: 2011-05-10 15:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/62a6a0a1a350 7043548: message drop 3 translation integration Reviewed-by: yhuang ! src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_pt_BR.properties Changeset: a2f340a048c8 Author: mfang Date: 2011-05-10 19:54 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/a2f340a048c8 Merge Changeset: 51ed32f6f4de Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/51ed32f6f4de Added tag jdk7-b142 for changeset a2f340a048c8 ! .hgtags Changeset: b06dd44a2740 Author: schien Date: 2011-05-20 16:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/b06dd44a2740 Added tag jdk7-b143 for changeset 51ed32f6f4de ! .hgtags Changeset: c908ae06bd6b Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/c908ae06bd6b 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: 7033a5756ad5 Author: katleman Date: 2011-05-25 13:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/7033a5756ad5 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles Reviewed-by: ohair, trims ! src/share/classes/com/sun/corba/se/impl/transport/CorbaTransportManagerImpl.java Changeset: 74eb715474f2 Author: schien Date: 2011-05-26 20:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/74eb715474f2 Added tag jdk7-b144 for changeset 7033a5756ad5 ! .hgtags Changeset: 93e77c49b3bb Author: miroslawzn Date: 2011-05-26 13:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/93e77c49b3bb 7046882: Regression : JDK 7b123 : Enum exchanged as parameters using CORBA call results in Exception Reviewed-by: raginip ! src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Changeset: 643f267ca234 Author: jeff Date: 2011-05-27 14:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/643f267ca234 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: 7839048ec99e Author: jeff Date: 2011-05-27 15:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/7839048ec99e Merge Changeset: 77ec0541aa2a Author: lana Date: 2011-06-02 13:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/77ec0541aa2a Merge Changeset: 770227a4087e Author: schien Date: 2011-06-07 14:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/770227a4087e Added tag jdk7-b145 for changeset 77ec0541aa2a ! .hgtags Changeset: e85ff90212ad Author: schien Date: 2011-06-08 10:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/e85ff90212ad Merge Changeset: 36f0efbc66ef Author: schien Date: 2011-06-20 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/36f0efbc66ef Added tag jdk7-b146 for changeset 770227a4087e ! .hgtags Changeset: abe4723b9b7f Author: schien Date: 2011-06-20 17:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/abe4723b9b7f Merge Changeset: bba0e37d7006 Author: jeff Date: 2011-06-22 10:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/bba0e37d7006 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: 73323cb33962 Author: lana Date: 2011-06-22 12:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/73323cb33962 Merge Changeset: 960011ba4bf2 Author: schien Date: 2011-06-27 13:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/960011ba4bf2 Added tag jdk7-b147 for changeset 73323cb33962 ! .hgtags Changeset: 97014e43181f Author: schien Date: 2011-06-27 14:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/97014e43181f Merge Changeset: ba0f390e66db Author: mcimadamore Date: 2011-07-05 17:12 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/corba/rev/ba0f390e66db merge with jdk8 From maurizio.cimadamore at oracle.com Wed Jul 6 02:36:07 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 09:36:07 +0000 Subject: hg: lambda/lambda/hotspot: 204 new changesets Message-ID: <20110706094206.998C6471FA@hg.openjdk.java.net> Changeset: c2323e2ea62b Author: never Date: 2011-03-31 21:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c2323e2ea62b 6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful Reviewed-by: kvn, jrose, phh ! src/share/vm/prims/jvmtiManageCapabilities.cpp ! src/share/vm/runtime/globals.hpp Changeset: f8b038506985 Author: never Date: 2011-04-01 21:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f8b038506985 6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold") Reviewed-by: kvn ! src/share/vm/opto/callGenerator.cpp ! src/share/vm/opto/callGenerator.hpp Changeset: 07acc51c1d2a Author: kvn Date: 2011-04-02 09:49 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/07acc51c1d2a 7032314: Allow to generate CallLeafNoFPNode in IdealKit Summary: Added CallLeafNoFPNode generation to IdealKit. Added i_o synchronization. Reviewed-by: never ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/idealKit.cpp ! src/share/vm/opto/idealKit.hpp ! src/share/vm/opto/library_call.cpp Changeset: 08eb13460b3a Author: kvn Date: 2011-04-02 10:54 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/08eb13460b3a 7004535: Clone loop predicate during loop unswitch Summary: Clone loop predicate for clonned loops Reviewed-by: never ! src/share/vm/opto/cfgnode.cpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/compile.hpp ! 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/loopopts.cpp ! src/share/vm/opto/phaseX.hpp ! src/share/vm/opto/split_if.cpp ! src/share/vm/opto/superword.cpp ! src/share/vm/opto/vectornode.hpp Changeset: 13bc79b5c9c8 Author: roland Date: 2011-04-03 12:00 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/13bc79b5c9c8 7033154: Improve C1 arraycopy performance Summary: better static analysis. Take advantage of array copy stubs. Reviewed-by: never ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_Instruction.cpp ! src/share/vm/c1/c1_Instruction.hpp ! src/share/vm/c1/c1_LIR.hpp ! src/share/vm/c1/c1_LIRGenerator.cpp ! src/share/vm/c1/c1_Optimizer.cpp ! src/share/vm/c1/c1_Runtime1.cpp ! src/share/vm/c1/c1_Runtime1.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/runtime/stubRoutines.cpp ! src/share/vm/runtime/stubRoutines.hpp Changeset: e863062e521d Author: twisti Date: 2011-04-04 03:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e863062e521d 7032458: Zero and Shark fixes Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/globals_zero.hpp ! src/cpu/zero/vm/relocInfo_zero.cpp ! src/cpu/zero/vm/sharedRuntime_zero.cpp ! src/share/vm/ci/ciTypeFlow.hpp ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/interpreter/bytecodeInterpreter.cpp ! src/share/vm/shark/sharkCompiler.cpp ! src/share/vm/shark/sharkCompiler.hpp ! src/share/vm/utilities/globalDefinitions.hpp ! src/share/vm/utilities/globalDefinitions_gcc.hpp Changeset: 8b2317d732ec Author: never Date: 2011-04-04 12:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8b2317d732ec 7026957: assert(type2aelembytes(store->as_Mem()->memory_type(), true) == 1 << shift->in(2)->get_int()) failed Reviewed-by: kvn, jrose ! src/share/vm/opto/loopTransform.cpp Changeset: bb22629531fa Author: iveresov Date: 2011-04-04 16:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/bb22629531fa 7033732: C1: When calling c2 arraycopy stubs offsets and length must have clear upper 32bits Summary: With 7033154 we started calling c2 arraycopy stubs from c1. On sparcv9 we must clear the upper 32bits for offset (src_pos, dst_pos) and length parameters when calling them. Reviewed-by: never, kvn ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp Changeset: a54519951ff6 Author: iveresov Date: 2011-04-04 18:48 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/a54519951ff6 Merge Changeset: 87ce328c6a21 Author: never Date: 2011-04-04 19:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/87ce328c6a21 6528013: C1 CTW failure with -XX:+VerifyOops assert(allocates2(pc),"") Reviewed-by: kvn, iveresov ! src/share/vm/c1/c1_LIRAssembler.cpp Changeset: fb37e3eabfd0 Author: never Date: 2011-04-04 22:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/fb37e3eabfd0 Merge Changeset: d7a3fed1c1c9 Author: kvn Date: 2011-04-04 19:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d7a3fed1c1c9 7004547: regular loop unroll should not unroll more than max unrolling Summary: Take into account that after unroll conjoined heads and tails will fold. Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp Changeset: 03f2be00fa21 Author: kvn Date: 2011-04-05 00:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/03f2be00fa21 Merge Changeset: 479b4b4b6950 Author: never Date: 2011-04-05 00:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/479b4b4b6950 6777083: assert(target != __null,"must not be null") Reviewed-by: iveresov, kvn ! src/cpu/x86/vm/assembler_x86.hpp ! src/share/vm/code/relocInfo.cpp ! src/share/vm/code/relocInfo.hpp Changeset: 8e77e1f26188 Author: never Date: 2011-04-05 02:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8e77e1f26188 Merge Changeset: 527977d4f740 Author: never Date: 2011-04-05 19:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/527977d4f740 7033779: CodeCache::largest_free_block may need to hold the CodeCache lock Reviewed-by: kvn ! src/share/vm/code/codeCache.cpp ! src/share/vm/code/codeCache.hpp Changeset: 98c560260039 Author: never Date: 2011-04-06 16:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/98c560260039 7034513: enable fast accessors and empty methods for ZERO and -Xint Reviewed-by: kvn, iveresov ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: 55973726c600 Author: kvn Date: 2011-04-06 17:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/55973726c600 6992789: assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice Summary: Swap checks: check for regular memory slice first and keep input phi. Reviewed-by: never ! src/share/vm/opto/escape.cpp Changeset: ed69575596ac Author: jrose Date: 2011-04-07 17:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ed69575596ac 6981791: remove experimental code for JSR 292 Reviewed-by: twisti ! agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPool.java ! agent/src/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java ! agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ClassWriter.java ! agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java ! agent/src/share/classes/sun/jvm/hotspot/utilities/ConstantTag.java ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/systemDictionary.hpp ! src/share/vm/classfile/verifier.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/interpreter/bytecodeTracer.cpp ! src/share/vm/interpreter/interpreterRuntime.cpp ! src/share/vm/interpreter/linkResolver.cpp ! src/share/vm/interpreter/rewriter.cpp ! src/share/vm/oops/constantPoolKlass.cpp ! src/share/vm/oops/constantPoolOop.cpp ! src/share/vm/oops/constantPoolOop.hpp ! src/share/vm/oops/cpCacheOop.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/oops/instanceKlassKlass.cpp ! src/share/vm/oops/methodOop.cpp ! src/share/vm/prims/jvm.h ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/nativeLookup.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/constantTag.cpp ! src/share/vm/utilities/constantTag.hpp Changeset: 758ba0bf7bcc Author: jrose Date: 2011-04-07 17:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/758ba0bf7bcc 7012087: JSR 292 Misleading exception message for a non-bound MH for a virtual method Summary: Improve error message formatting to give more information to user. Also, catch a corner case related to 6930553 and 6844449. Reviewed-by: kvn ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/runtime/sharedRuntime.cpp Changeset: 4124a5a27707 Author: jrose Date: 2011-04-07 17:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/4124a5a27707 7009600: JSR 292 Server compiler crashes in Compile::find_intrinsic(ciMethod*, bool) Summary: catch errors during the compile-time processing of method handles; back out cleanly Reviewed-by: twisti ! src/share/vm/ci/ciMethodHandle.cpp ! src/share/vm/opto/doCall.cpp Changeset: 3f49d30f8184 Author: never Date: 2011-04-07 21:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3f49d30f8184 7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock Reviewed-by: iveresov ! src/share/vm/code/codeCache.cpp Changeset: d86923d96dca Author: iveresov Date: 2011-04-08 17:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d86923d96dca 7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043) Summary: Fix -XX:+VerifyOops Reviewed-by: kvn, never ! src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/c1_CodeStubs_x86.cpp ! src/share/vm/c1/c1_LIRGenerator.cpp Changeset: 3af54845df98 Author: kvn Date: 2011-04-08 14:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3af54845df98 7004555: Add new policy for one iteration loops Summary: Add new policy for one iteration loops (mostly formal pre- loops). Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.cpp ! src/share/vm/opto/loopnode.hpp Changeset: 46d145ee8e68 Author: kvn Date: 2011-04-08 20:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/46d145ee8e68 Merge Changeset: 3fa3c7e4d4f3 Author: never Date: 2011-04-08 23:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3fa3c7e4d4f3 7035161: assert(!o->is_null_object()) failed: null object not yet handled here. Reviewed-by: kvn ! src/share/vm/ci/ciInstance.cpp Changeset: 6c97c830fb6f Author: jrose Date: 2011-04-09 21:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6c97c830fb6f Merge ! agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPool.java ! agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ClassWriter.java ! agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java ! src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp ! src/share/vm/c1/c1_LIRAssembler.cpp ! src/share/vm/code/codeCache.hpp ! src/share/vm/code/relocInfo.cpp ! src/share/vm/code/relocInfo.hpp ! src/share/vm/oops/constantPoolKlass.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/idealKit.cpp ! src/share/vm/opto/idealKit.hpp ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopUnswitch.cpp ! src/share/vm/opto/loopopts.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/globalDefinitions_gcc.hpp Changeset: 677234770800 Author: dsamersoff Date: 2011-03-30 19:38 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/677234770800 7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages Summary: getline() returns -1 but still allocate memory for str Reviewed-by: dcubed, coleenp ! src/os/linux/vm/os_linux.cpp ! src/share/vm/runtime/os.cpp ! src/share/vm/runtime/os.hpp Changeset: b025bffd6c2c Author: dholmes Date: 2011-03-31 06:54 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b025bffd6c2c 7032775: Include Shark code in the build again Reviewed-by: ohair Contributed-by: gbenson at redhat.com, ahughes at redhat.com ! make/linux/makefiles/vm.make Changeset: 37be97a58393 Author: andrew Date: 2011-04-01 15:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/37be97a58393 7010849: 5/5 Extraneous javac source/target options when building sa-jdi Summary: Make code changes necessary to get rid of the '-source 1.4 -target 1.4' options. Reviewed-by: dholmes, dcubed ! agent/src/share/classes/sun/jvm/hotspot/HelloWorld.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/ByteValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/CharValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/ConnectorImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/DoubleValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/FieldImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/FloatValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/IntegerValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/LocalVariableImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/LocationImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/LongValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/MethodImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/ReferenceTypeImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/ShortValueImpl.java ! agent/src/share/classes/sun/jvm/hotspot/jdi/VirtualMachineImpl.java ! make/linux/makefiles/sa.make ! make/solaris/makefiles/sa.make ! make/windows/makefiles/sa.make Changeset: 7144a1d6e0a9 Author: kamg Date: 2011-03-31 08:08 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7144a1d6e0a9 7030388: JCK test failed to reject invalid class check01304m10n. Summary: Restrict fix for 7020118 to only when checking exception handlers Reviewed-by: dcubed, dholmes ! src/share/vm/classfile/stackMapFrame.cpp ! src/share/vm/classfile/stackMapFrame.hpp ! src/share/vm/classfile/stackMapTable.cpp Changeset: 11427f216063 Author: dholmes Date: 2011-04-04 18:15 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/11427f216063 7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests Reviewed-by: kvn ! test/compiler/6795161/Test.java Changeset: 1dac0f3af89f Author: ohair Date: 2011-04-07 20:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/1dac0f3af89f 7019210: Fix misc references to /bugreport websites Reviewed-by: skannan ! src/share/vm/runtime/arguments.cpp Changeset: c49c3947b98a Author: brutisso Date: 2011-04-11 11:12 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c49c3947b98a 7034625: Product builds in Visual Studio projects should produce full symbol information Summary: Add the /debug flag to the linker command in Visual Studio Reviewed-by: mgronlun, poonam, hosterda ! src/share/tools/ProjectCreator/WinGammaPlatformVC10.java Changeset: 6a615eae2f34 Author: dholmes Date: 2011-04-12 02:53 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6a615eae2f34 7034585: Adjust fillInStackTrace filtering to assist 6998871 Summary: Allow for one or more fillInStackTrace frames to be skipped Reviewed-by: mchung, kvn ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/vmSymbols.hpp Changeset: 3449f5e02cc4 Author: coleenp Date: 2011-04-12 14:18 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3449f5e02cc4 Merge ! make/linux/makefiles/vm.make ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/stackMapFrame.cpp ! src/share/vm/classfile/stackMapFrame.hpp ! src/share/vm/classfile/stackMapTable.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/runtime/arguments.cpp Changeset: 328926869b15 Author: jrose Date: 2011-04-09 22:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/328926869b15 6987991: JSR 292 phpreboot test/testtracefun2.phpr segfaults Summary: Make MH verification tests more correct, robust, and informative. Fix lingering symbol refcount problems. Reviewed-by: twisti ! src/share/vm/oops/methodOop.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp Changeset: 15c9a0e16269 Author: kvn Date: 2011-04-11 15:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/15c9a0e16269 7035713: 3DNow Prefetch Instruction Support Summary: The upcoming processors from AMD are the first that support 3dnow prefetch without supporting the 3dnow instruction set. Reviewed-by: kvn Contributed-by: tom.deneau at amd.com ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/c1_LIRAssembler_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 Changeset: 4b95bbb36464 Author: twisti Date: 2011-04-12 02:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/4b95bbb36464 7035870: JSR 292: Zero support Summary: This adds support for JSR 292 to Zero. Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/bytecodeInterpreter_zero.hpp ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/cpu/zero/vm/cppInterpreter_zero.hpp ! src/cpu/zero/vm/interpreter_zero.cpp ! src/cpu/zero/vm/methodHandles_zero.cpp ! src/share/vm/interpreter/bytecodeInterpreter.cpp ! src/share/vm/interpreter/bytecodeInterpreter.hpp Changeset: 3a808be061ff Author: iveresov Date: 2011-04-13 14:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3a808be061ff 6988308: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if Summary: Make sure cnt doesn't become negative and integer overflow doesn't happen. Reviewed-by: kvn, twisti ! src/share/vm/opto/parse2.cpp Changeset: dbccacb79c63 Author: iveresov Date: 2011-04-14 00:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/dbccacb79c63 7036236: VM crashes assert((!inside_attrs()) || is_error_reported()) failed ... Summary: Eliminate the race condition. Reviewed-by: kvn ! src/share/vm/code/codeCache.cpp ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/runtime/sweeper.cpp Changeset: 1fcd6e9c3965 Author: twisti Date: 2011-04-14 01:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/1fcd6e9c3965 7036220: Shark fails to find LLVM 2.9 System headers during build Reviewed-by: gbenson, twisti Contributed-by: Xerxes Ranby ! src/share/vm/shark/llvmHeaders.hpp Changeset: e9b9554f7fc3 Author: twisti Date: 2011-04-14 06:46 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e9b9554f7fc3 Merge Changeset: 97e8046e2562 Author: jrose Date: 2011-04-15 08:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/97e8046e2562 Merge Changeset: da7f1093a6b7 Author: trims Date: 2011-04-15 18:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/da7f1093a6b7 Merge Changeset: 611e19a16519 Author: trims Date: 2011-04-15 18:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/611e19a16519 7037174: Bump the HS21 build number to 09 Summary: Update the HS21 build number to 09 Reviewed-by: jcoomes ! make/hotspot_version Changeset: db3a870b62f6 Author: katleman Date: 2011-04-21 15:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/db3a870b62f6 Added tag jdk7-b139 for changeset 611e19a16519 ! .hgtags Changeset: 7b4fb6089361 Author: trims Date: 2011-04-21 19:49 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7b4fb6089361 Added tag hs21-b09 for changeset 611e19a16519 ! .hgtags Changeset: 5504afd15955 Author: zgu Date: 2011-04-14 11:50 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5504afd15955 7033100: CreateMinidumpOnCrash does not work for failed asserts Summary: Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file. Reviewed-by: acorn, dcubed, poonam, coleenp ! src/os/windows/vm/os_windows.cpp Changeset: 6c9cec219ce4 Author: vladidan Date: 2011-04-11 23:02 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6c9cec219ce4 7005865: Crash when running with PrintIRWithLIR Summary: the failure is caused by uninitialized bci number Reviewed-by: iveresov ! src/share/vm/c1/c1_Instruction.cpp Changeset: c737922fd8bb Author: vladidan Date: 2011-04-12 10:32 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c737922fd8bb Merge Changeset: 208b6c560ff4 Author: vladidan Date: 2011-04-14 11:02 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/208b6c560ff4 Merge ! src/share/vm/c1/c1_Instruction.cpp Changeset: a534c140904e Author: vladidan Date: 2011-04-14 23:06 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/a534c140904e Merge Changeset: 8ce625481709 Author: coleenp Date: 2011-04-15 09:36 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8ce625481709 7032407: Crash in LinkResolver::runtime_resolve_virtual_method() Summary: Make CDS reorder vtables so that dump time vtables match run time order, so when redefine classes reinitializes them, they aren't in the wrong order. Reviewed-by: dcubed, acorn ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/memory/dump.cpp ! src/share/vm/oops/instanceKlassKlass.cpp ! src/share/vm/oops/klass.cpp ! src/share/vm/oops/klassVtable.cpp ! src/share/vm/oops/klassVtable.hpp Changeset: fcc932c8238c Author: thurka Date: 2011-04-16 11:59 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/fcc932c8238c 7007254: NullPointerException occurs with jvisualvm placed under a dir. including Japanese chars Summary: use java_lang_String::create_from_platform_dependent_str() instead of java_lang_String::create_from_str() in JvmtiEnv::AddToSystemClassLoaderSearch() Reviewed-by: dcubed ! src/share/vm/prims/jvmtiEnv.cpp Changeset: df8a1555b1ea Author: coleenp Date: 2011-04-19 20:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/df8a1555b1ea Merge Changeset: e6beb62de02d Author: never Date: 2011-04-05 19:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e6beb62de02d 7032963: StoreCM shouldn't participate in store elimination Reviewed-by: kvn ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/output.cpp Changeset: e1162778c1c8 Author: johnc Date: 2011-04-07 09:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e1162778c1c8 7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error Summary: A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer. Reviewed-by: kvn, iveresov, never, tonyp, dholmes ! src/cpu/sparc/vm/assembler_sparc.cpp ! src/cpu/sparc/vm/assembler_sparc.hpp ! src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp ! src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp ! src/cpu/sparc/vm/cppInterpreter_sparc.cpp ! src/cpu/sparc/vm/interpreterGenerator_sparc.hpp ! src/cpu/sparc/vm/interpreter_sparc.cpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/c1_CodeStubs_x86.cpp ! src/cpu/x86/vm/c1_LIRGenerator_x86.cpp ! src/cpu/x86/vm/cppInterpreterGenerator_x86.hpp ! src/cpu/x86/vm/cppInterpreter_x86.cpp ! src/cpu/x86/vm/interpreterGenerator_x86.hpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/cpu/zero/vm/interpreterGenerator_zero.hpp ! src/share/vm/c1/c1_CodeStubs.hpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_LIRGenerator.cpp ! src/share/vm/c1/c1_LIRGenerator.hpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp ! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/interpreter/abstractInterpreter.hpp ! src/share/vm/interpreter/cppInterpreter.cpp ! src/share/vm/interpreter/interpreter.cpp ! src/share/vm/interpreter/templateInterpreter.cpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/prims/jni.cpp ! src/share/vm/prims/unsafe.cpp Changeset: 9c4f56ff88e9 Author: jcoomes Date: 2011-04-07 16:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/9c4f56ff88e9 7034133: cleanup obsolete option handling Reviewed-by: ysr, johnc, poonam ! src/share/vm/runtime/arguments.cpp Changeset: eda9eb483d29 Author: jcoomes Date: 2011-04-07 17:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/eda9eb483d29 6841742: par compact - remove unused/unsupported options Summary: ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate} Reviewed-by: jwilhelm, brutisso ! src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp ! src/share/vm/gc_implementation/parallelScavenge/psOldGen.hpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp ! src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp ! src/share/vm/gc_implementation/parallelScavenge/psPermGen.hpp ! src/share/vm/gc_implementation/parallelScavenge/psYoungGen.cpp ! src/share/vm/gc_implementation/parallelScavenge/psYoungGen.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: 92add02409c9 Author: jmasa Date: 2011-04-08 14:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/92add02409c9 Merge ! src/cpu/sparc/vm/cppInterpreter_sparc.cpp ! src/cpu/sparc/vm/interpreter_sparc.cpp ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/lcm.cpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/opto/output.cpp ! src/share/vm/prims/unsafe.cpp Changeset: f177ddd59c60 Author: jmasa Date: 2011-04-08 14:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f177ddd59c60 Merge ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: 59766fd005ff Author: johnc Date: 2011-04-13 17:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/59766fd005ff 7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure Summary: Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject Reviewed-by: never, iveresov ! src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp ! src/cpu/x86/vm/c1_CodeStubs_x86.cpp ! src/share/vm/c1/c1_LIRGenerator.cpp ! src/share/vm/opto/library_call.cpp Changeset: 5d046bf49ce7 Author: johnc Date: 2011-04-14 13:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5d046bf49ce7 Merge ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/c1_CodeStubs_x86.cpp ! src/share/vm/c1/c1_GraphBuilder.cpp ! src/share/vm/c1/c1_LIRGenerator.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/oops/instanceKlass.hpp ! src/share/vm/opto/compile.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: c69b1043dfb1 Author: ysr Date: 2011-04-14 12:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c69b1043dfb1 7036482: clear argument is redundant and unused in cardtable methods Summary: Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added a pair of clarifying parens in AllocationStats constructor. Reviewed-by: brutisso, jcoomes ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp ! src/share/vm/gc_implementation/shared/allocationStats.hpp ! src/share/vm/memory/cardTableModRefBS.cpp ! src/share/vm/memory/cardTableModRefBS.hpp ! src/share/vm/memory/cardTableRS.cpp ! src/share/vm/memory/modRefBarrierSet.hpp Changeset: 4080db1b5d0a Author: johnc Date: 2011-04-14 13:49 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/4080db1b5d0a Merge Changeset: edd9b016deb6 Author: johnc Date: 2011-04-15 10:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/edd9b016deb6 7036021: G1: build failure on win64 and linux with hs21 in jdk6 build environment Summary: Missing parentheses around a casted expression and some missing casts were causing build failures with the jdk6 build tools. Reviewed-by: kvn, brutisso ! src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp ! src/share/vm/opto/library_call.cpp Changeset: 1d0b856224f8 Author: jmasa Date: 2011-04-17 01:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/1d0b856224f8 6946385: G1: jstat does not support G1 GC Summary: Added counters for jstat Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc Changeset: 527b586edf24 Author: johnc Date: 2011-04-18 16:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/527b586edf24 7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117 Summary: Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117. Reviewed-by: iveresov ! src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp ! src/cpu/x86/vm/c1_CodeStubs_x86.cpp Changeset: 732454aaf5cb Author: jmasa Date: 2011-04-20 20:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/732454aaf5cb Merge ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/runtime/arguments.cpp Changeset: 83fccfbfe47b Author: trims Date: 2011-04-22 18:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/83fccfbfe47b Merge Changeset: d283b8296671 Author: trims Date: 2011-04-22 18:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d283b8296671 7039044: Bump the HS21 build number to 10 Summary: Update the HS21 build number to 10 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 4ca65400aa33 Author: ohair Date: 2011-04-26 16:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/4ca65400aa33 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore Changeset: d7cc76ea8d06 Author: cl Date: 2011-04-27 19:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d7cc76ea8d06 Merge Changeset: f789bf584429 Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f789bf584429 Added tag jdk7-b140 for changeset d283b8296671 ! .hgtags Changeset: 41c663fc6be1 Author: schien Date: 2011-05-02 09:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/41c663fc6be1 Merge Changeset: 175f5f4b41e1 Author: trims Date: 2011-05-03 16:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/175f5f4b41e1 Added tag hs21-b10 for changeset d283b8296671 ! .hgtags Changeset: 7ec4bb02d5f0 Author: vladidan Date: 2011-04-20 14:07 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7ec4bb02d5f0 7035861: linux-armsflt: assert(ni->data() == (int)(x + o)) failed: instructions must match Summary: The change avoids generating relocation info entry for the staging area patching stub on systems that don't support movw/movt instructions Reviewed-by: bdelsart ! src/share/vm/c1/c1_Runtime1.cpp Changeset: 49bd9c6f7bce Author: vladidan Date: 2011-04-21 10:12 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/49bd9c6f7bce Merge Changeset: cdd13dce903e Author: vladidan Date: 2011-04-23 00:33 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/cdd13dce903e Merge Changeset: 01147d8aac1d Author: coleenp Date: 2011-04-26 14:04 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/01147d8aac1d 7009923: JSR 292: VM crash in JavaThread::last_frame Summary: Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack. Reviewed-by: dholmes, phh, dsamersoff ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/runtime/javaCalls.cpp ! src/share/vm/utilities/exceptions.cpp ! src/share/vm/utilities/exceptions.hpp Changeset: df22fe9c5a93 Author: coleenp Date: 2011-04-27 17:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/df22fe9c5a93 Merge Changeset: 2a23b1b5a0a8 Author: twisti Date: 2011-04-18 01:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2a23b1b5a0a8 7018355: JSR 292: VM crash in DefNewGeneration::copy_to_survivor_space Reviewed-by: kvn, jrose ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/memory/genOopClosures.hpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp ! src/share/vm/runtime/sharedRuntime.cpp Changeset: bbe95b4337f1 Author: twisti Date: 2011-04-18 06:50 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/bbe95b4337f1 7036960: TemplateTable::fast_aldc in templateTable_x86_64.cpp uses movptr instead of load_klass Reviewed-by: kvn, iveresov ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp Changeset: 2a34a4fbc52c Author: kvn Date: 2011-04-19 09:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2a34a4fbc52c 7037812: few more defaults changes for new AMD processors Summary: use PREFETCHW as default prefetch instruction, set UseXMMForArrayCopy and UseUnalignedLoadStores to true by default. Reviewed-by: kvn Contributed-by: tom.deneau at amd.com ! src/cpu/x86/vm/vm_version_x86.cpp Changeset: d934e4b931e9 Author: never Date: 2011-04-20 09:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d934e4b931e9 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp Reviewed-by: kvn, jrose, twisti ! src/cpu/sparc/vm/methodHandles_sparc.cpp Changeset: 66b0e2371912 Author: kvn Date: 2011-04-20 18:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/66b0e2371912 7026700: regression in 6u24-rev-b23: Crash in C2 compiler in PhaseIdealLoop::build_loop_late_post Summary: memory slices should be always created for non-static fields after allocation Reviewed-by: never ! src/share/vm/opto/escape.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp Changeset: 08ccee2c4dbf Author: twisti Date: 2011-04-21 00:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/08ccee2c4dbf 6993078: JSR 292 too many pushes: Lesp points into register window Reviewed-by: kvn, never ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/oops/cpCacheOop.cpp Changeset: 548597e74aa4 Author: never Date: 2011-04-25 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/548597e74aa4 7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis Reviewed-by: twisti ! src/share/vm/ci/bcEscapeAnalyzer.cpp ! src/share/vm/ci/ciMethod.hpp ! src/share/vm/opto/graphKit.cpp Changeset: 273b56978029 Author: kvn Date: 2011-04-26 12:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/273b56978029 7039586: test/java/util/Collections/Rotate.java failing with hs21-b09 Summary: A predicate should not be moved in partial peel optimization since it will invalidate jvm state of its uncommon trap. Reviewed-by: never ! src/share/vm/opto/loopopts.cpp Changeset: 149bb459be66 Author: never Date: 2011-04-27 15:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/149bb459be66 7029167: add support for conditional card marks Reviewed-by: iveresov, kvn ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/macro.cpp ! src/share/vm/runtime/globals.hpp Changeset: 01fd6090fdd8 Author: never Date: 2011-04-28 14:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/01fd6090fdd8 7032162: assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr Reviewed-by: kvn ! src/share/vm/ci/ciObject.cpp ! src/share/vm/opto/stringopts.cpp Changeset: 286c498ae0d4 Author: kvn Date: 2011-04-29 11:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/286c498ae0d4 Merge ! src/cpu/sparc/vm/templateTable_sparc.cpp ! src/cpu/x86/vm/templateTable_x86_32.cpp ! src/cpu/x86/vm/templateTable_x86_64.cpp ! src/share/vm/opto/graphKit.cpp ! src/share/vm/opto/graphKit.hpp ! src/share/vm/opto/library_call.cpp ! src/share/vm/opto/memnode.cpp ! src/share/vm/runtime/globals.hpp Changeset: 49a67202bc67 Author: tonyp Date: 2011-04-19 15:46 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/49a67202bc67 7011855: G1: non-product flag to artificially grow the heap Summary: It introduces non-product cmd line parameter G1DummyRegionsPerGC which indicates how many "dummy" regions to allocate at the end of each GC. This allows the G1 heap to grow artificially and makes concurrent marking cycles more frequent irrespective of what the application that is running is doing. The dummy regions will be found totally empty during cleanup so this parameter can also be used to stress the concurrent cleanup operation. Reviewed-by: brutisso, johnc ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp Changeset: 139667d9836a Author: iveresov Date: 2011-04-20 17:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/139667d9836a 7034464: Support transparent large pages on Linux Summary: Support transparent huge pages on Linux available since 2.6.38 Reviewed-by: iveresov, ysr Contributed-by: aph at redhat.com ! src/os/linux/vm/globals_linux.hpp ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/os_linux.hpp Changeset: c48ad6ab8bdf Author: ysr Date: 2011-04-20 19:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c48ad6ab8bdf 7037276: Unnecessary double traversal of dirty card windows Summary: Short-circuited an unnecessary double traversal of dirty card windows when iterating younger refs. Also renamed some cardtable methods for more clarity. Reviewed-by: jmasa, stefank, poonam ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp ! src/share/vm/memory/cardTableModRefBS.cpp ! src/share/vm/memory/cardTableModRefBS.hpp ! src/share/vm/memory/cardTableRS.cpp ! src/share/vm/memory/cardTableRS.hpp Changeset: c0dcda80820f Author: ysr Date: 2011-04-21 01:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c0dcda80820f Merge Changeset: b52782ae3880 Author: jmasa Date: 2011-04-21 10:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b52782ae3880 6946417: G1: Java VisualVM does not support G1 properly. Summary: Added counters for jstat Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp + src/share/vm/gc_implementation/g1/g1MonitoringSupport.cpp + src/share/vm/gc_implementation/g1/g1MonitoringSupport.hpp ! src/share/vm/gc_implementation/shared/generationCounters.cpp ! src/share/vm/gc_implementation/shared/generationCounters.hpp + src/share/vm/gc_implementation/shared/hSpaceCounters.cpp + src/share/vm/gc_implementation/shared/hSpaceCounters.hpp ! src/share/vm/services/g1MemoryPool.cpp ! src/share/vm/services/g1MemoryPool.hpp Changeset: 7f3faf7159fd Author: jmasa Date: 2011-04-22 09:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7f3faf7159fd Merge ! src/os/linux/vm/os_linux.cpp Changeset: d6cdc6c77582 Author: jcoomes Date: 2011-04-23 04:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d6cdc6c77582 7037250: cscope.make database generation is silently broken Reviewed-by: stefank + make/cscope.make ! make/linux/Makefile - make/linux/makefiles/cscope.make ! make/solaris/Makefile - make/solaris/makefiles/cscope.make Changeset: c303b3532d4a Author: iveresov Date: 2011-04-26 11:46 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c303b3532d4a 7037939: NUMA: Disable adaptive resizing if SHM large pages are used Summary: Make the NUMA allocator behave properly with SHM and ISM large pages. Reviewed-by: ysr ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/os_solaris.cpp Changeset: 1f4413413144 Author: ysr Date: 2011-04-26 21:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/1f4413413144 7039089: G1: changeset for 7037276 broke heap verification, and related cleanups Summary: In G1 heap verification, we no longer scan perm to G1-collected heap refs as part of process_strong_roots() but rather in a separate explicit oop iteration over the perm gen. This preserves the original perm card-marks. Added a new assertion in younger_refs_iterate() to catch a simple subcase where the user may have forgotten a prior save_marks() call, as happened in the case of G1's attempt to iterate perm to G1 refs when verifying the heap before exit. The assert was deliberately weakened for ParNew+CMS and will be fixed for that combination in a future CR. Also made some (non-G1) cleanups related to code and comments obsoleted by the migration of Symbols to the native heap. Reviewed-by: iveresov, jmasa, tonyp ! src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/memory/cardTableRS.cpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/memory/sharedHeap.cpp ! src/share/vm/memory/sharedHeap.hpp ! src/share/vm/runtime/vmThread.cpp Changeset: 86ebb26bcdeb Author: johnc Date: 2011-04-27 14:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/86ebb26bcdeb 7037756: Deadlock in compiler thread similiar to 6789220 Summary: Avoid blocking in CompileBroker::compile_method_base() if the current thread holds the pending list lock. Reviewed-by: never, brutisso, ysr ! src/share/vm/compiler/compileBroker.cpp Changeset: c6033dad9fd3 Author: jmasa Date: 2011-04-29 12:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c6033dad9fd3 Merge - make/linux/makefiles/cscope.make - make/solaris/makefiles/cscope.make Changeset: df0a92a7e30b Author: jmasa Date: 2011-04-29 14:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/df0a92a7e30b Merge Changeset: 6431be02f3ac Author: trims Date: 2011-04-29 16:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6431be02f3ac Merge - make/linux/makefiles/cscope.make - make/solaris/makefiles/cscope.make Changeset: 3aea9e9feb07 Author: trims Date: 2011-04-29 17:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3aea9e9feb07 7040777: Bump the HS21 build number to 11 Summary: Update the HS21 build number to 11 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 5d07913abd59 Author: trims Date: 2011-05-03 16:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5d07913abd59 Merge - make/linux/makefiles/cscope.make - make/solaris/makefiles/cscope.make Changeset: 66b35d6aefbe Author: schien Date: 2011-05-05 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/66b35d6aefbe Added tag jdk7-b141 for changeset 5d07913abd59 ! .hgtags Changeset: 212479c24edc Author: trims Date: 2011-05-06 14:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/212479c24edc Added tag hs21-b11 for changeset 3aea9e9feb07 ! .hgtags Changeset: 2a3da7eaf4a6 Author: zgu Date: 2011-04-27 09:09 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2a3da7eaf4a6 7036747: 7017009 reappeared, problem with ElfStringTable Summary: Created new "new" operator for CHeapObj that allows malloc to fail without causing fatal error. Also replaced "HeapAllocate" with "os::malloc" in decoder code to allow decoder to handle low memory scenario. Reviewed-by: coleenp, dholmes ! src/share/vm/memory/allocation.cpp ! src/share/vm/memory/allocation.hpp ! src/share/vm/utilities/elfFile.cpp ! src/share/vm/utilities/elfStringTable.cpp Changeset: e534ac80e49a Author: zgu Date: 2011-04-27 06:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e534ac80e49a Merge Changeset: 0cddebc420d8 Author: dcubed Date: 2011-04-28 08:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/0cddebc420d8 7039447: 2/1 java profiling is broken in build 139 (garbage in function name) Summary: The name in a deferred JVM/TI DynamicCodeGenerated event needs to be explicitly saved. Reviewed-by: acorn, never, dsamersoff, dholmes ! src/share/vm/prims/jvmtiExport.cpp ! src/share/vm/prims/jvmtiImpl.cpp Changeset: dddc5753c53a Author: dsamersoff Date: 2011-04-29 21:13 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/dddc5753c53a 7019808: build fails on Fedora 14: SELinux run-time check: execution of stack in libjvm.so Summary: executable flag is set in the elf header of libjvm.so during build, instruct ld to don't do it. Reviewed-by: acorn, phh ! make/linux/makefiles/vm.make Changeset: 405c634f4aaa Author: dcubed Date: 2011-05-02 14:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/405c634f4aaa 7028172: 3/4 SA needs to adapt to Solaris libproc change made in 6748307 Summary: Support build and runtime configs of old and new interfaces as appropriate. Reviewed-by: acorn, never ! agent/src/os/solaris/proc/libproc.h ! agent/src/os/solaris/proc/salibproc.h ! agent/src/os/solaris/proc/saproc.cpp ! make/solaris/makefiles/saproc.make Changeset: 250642c729b4 Author: dsamersoff Date: 2011-05-03 18:24 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/250642c729b4 7041156: gcc 4.6 doesn't recognise -export-dynamic option Summary: Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic Reviewed-by: dsamersoff, dholmes Contributed-by: omajid at redhat.com ! make/linux/makefiles/gcc.make Changeset: da880ba4edf9 Author: dsamersoff Date: 2011-05-03 18:43 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/da880ba4edf9 7031385: incorrect register allocation in release_store_fence on linux x86 Summary: Since gcc 4.5 the inline assembly trying to use r register for an atomic 8-bit exchange and it leads to compilation error Reviewed-by: dsamersoff, dholmes Contributed-by: dbhole at redhat.com ! src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp Changeset: f78b3a5497f2 Author: dsamersoff Date: 2011-05-03 13:01 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f78b3a5497f2 Merge Changeset: 69e41359aef0 Author: zgu Date: 2011-05-03 13:01 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/69e41359aef0 6986065: Rebrand exe/dll company names Summary: Fixed Windows exe/dll right-click properties. "Oracle Corporation" for company name in jdk7, but "Sun Microsystems, Inc." for jdk6. Reviewed-by: phh, acorn + make/jdk6_hotspot_distro ! make/windows/build.make Changeset: f7b5dc171e92 Author: zgu Date: 2011-05-03 10:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f7b5dc171e92 Merge Changeset: e62e515d3a55 Author: zgu Date: 2011-05-03 12:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e62e515d3a55 Merge Changeset: 5781ed5f1865 Author: dcubed Date: 2011-05-03 12:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5781ed5f1865 7041410: 5/4 finish removing SOLARIS_7_OR_LATER from HotSpot Summary: Delete use of SOLARIS_7_OR_LATER from sparcWorks.make Reviewed-by: never ! make/solaris/makefiles/sparcWorks.make Changeset: 6dce0126f44e Author: kamg Date: 2011-05-04 11:04 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6dce0126f44e Merge Changeset: da0fffdcc453 Author: johnc Date: 2011-04-28 15:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/da0fffdcc453 7040410: -Xloggc: incorrectly enables TraceClassUnloading causing tracing on tty Summary: Don't enable TraceClassUnloading whne -Xloggc is specified. Reviewed-by: tonyp, ysr ! src/share/vm/runtime/arguments.cpp Changeset: cd8e33b2a8ad Author: tonyp Date: 2011-04-29 12:40 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/cd8e33b2a8ad 7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this. Summary: We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again. Reviewed-by: johnc, brutisso ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp Changeset: 063382f9b575 Author: tonyp Date: 2011-04-29 14:59 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/063382f9b575 7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...) Summary: We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty. Reviewed-by: johnc, brutisso ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1RemSet.cpp ! src/share/vm/gc_implementation/g1/heapRegion.cpp ! src/share/vm/gc_implementation/g1/heapRegion.hpp ! src/share/vm/memory/cardTableModRefBS.cpp ! src/share/vm/memory/cardTableModRefBS.hpp ! src/share/vm/memory/modRefBarrierSet.hpp Changeset: 188c9a5d6a6d Author: iveresov Date: 2011-04-29 12:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/188c9a5d6a6d 7040485: Use transparent huge page on linux by default Summary: Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line. Reviewed-by: ysr ! src/os/linux/vm/globals_linux.hpp ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/os_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/runtime/os.hpp Changeset: 6dd3d74b2674 Author: iveresov Date: 2011-04-29 20:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6dd3d74b2674 Merge Changeset: ca7c15a01229 Author: jmasa Date: 2011-05-02 07:08 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ca7c15a01229 Merge Changeset: a1d5f532838d Author: brutisso Date: 2011-04-29 09:11 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/a1d5f532838d 7040068: CMS: Possibly unsafe initialization of BlockOffsetArrayUseUnallocatedBlock Summary: BlockOffsetArrayUseUnallocatedBlock was intended to be turned off as part of BUG 6948538 but a code line in collectorPolicy.cpp actually kept it turned on. Reviewed-by: jwilhelm, ysr ! src/share/vm/memory/collectorPolicy.cpp ! src/share/vm/runtime/globals.hpp Changeset: 567c87d484a0 Author: iveresov Date: 2011-05-04 15:08 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/567c87d484a0 7041501: NUMA: Expand the old gen more aggressively Summary: Expand the old gen in bigger increments Reviewed-by: jmasa ! src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp ! src/share/vm/runtime/arguments.cpp Changeset: 75af3e8de182 Author: tonyp Date: 2011-05-05 09:15 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/75af3e8de182 7040450: G1: assert((_g1->evacuation_failed()) || (!_g1->obj_in_cs(obj))) failed: shouldn't still be in ... Summary: There is a race in the evac failure handling code that causes the condition the assert checks not to be true. The fix is to replace the too-strong assert with a more targeted one. Reviewed-by: johnc, ysr, jcoomes ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Changeset: acf5e660c71a Author: jcoomes Date: 2011-05-05 07:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/acf5e660c71a 6728025: LinkResolver is missing some ResourceMarks Reviewed-by: dholmes, coleenp, ysr, kamg ! src/share/vm/interpreter/linkResolver.cpp Changeset: 54a56bbaf95b Author: brutisso Date: 2011-05-06 09:45 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/54a56bbaf95b Merge ! src/share/vm/runtime/globals.hpp Changeset: 6c978a541c03 Author: dholmes Date: 2011-05-04 19:16 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6c978a541c03 7036267: c2/arm: mark version number as experimental and disable on unsupported platforms Summary: Change call to Abstract_VM_Version::vm_info_string to VM_Version::vm_info_string so it cna be overridden by the arch specific VM_Version class Reviewed-by: bobv, phh ! src/share/vm/runtime/arguments.cpp Changeset: f49c31acee88 Author: dholmes Date: 2011-05-04 23:10 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f49c31acee88 Merge - make/linux/makefiles/cscope.make - make/solaris/makefiles/cscope.make Changeset: 277d0f6ca64d Author: kevinw Date: 2011-04-18 08:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/277d0f6ca64d 7005503: Make GuaranteedSafepointInterval a diagnostic flag Reviewed-by: kamg, ysr ! src/share/vm/runtime/globals.hpp Changeset: 52df0980eb50 Author: kevinw Date: 2011-05-05 09:33 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/52df0980eb50 Merge ! src/share/vm/runtime/globals.hpp Changeset: 1d80a2429f59 Author: kamg Date: 2011-05-05 12:50 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/1d80a2429f59 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec Summary: Update JVMTI source files to remove hyperlinks and add full legal name Reviewed-by: acorn, dcubed, dholmes ! src/share/vm/prims/jvmti.xml ! src/share/vm/prims/jvmti.xsl Changeset: ededdaaf8ca5 Author: dholmes Date: 2011-05-05 21:20 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ededdaaf8ca5 7036525: Disable alternative source mechanism for OPENJDK builds Summary: By default if OPENJDK=true is set then we don't look in the alt-src predefined location. The user can explicitly set HS_ALT_SRC_REL to the desired location in conjunction with OPENJDK=true, if they wish. Reviewed-by: jcoomes, kamg ! make/altsrc.make Changeset: f4063a3503fc Author: kamg Date: 2011-05-06 11:25 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f4063a3503fc Merge ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp Changeset: ae93231c7a1f Author: kvn Date: 2011-04-28 16:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ae93231c7a1f 7039652: Performance regression after 7004547 changes Summary: Use unrolled_count() to limit unrolling and use the stride check only for initial stride value. Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp Changeset: b21ecca7ccc4 Author: twisti Date: 2011-05-02 00:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b21ecca7ccc4 6552561: MaxRecursiveInlineLevel flag doesn't operate correctly Reviewed-by: kvn, never ! src/share/vm/opto/bytecodeInfo.cpp Changeset: 49d67a090fe2 Author: never Date: 2011-05-02 10:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/49d67a090fe2 Merge - make/linux/makefiles/cscope.make - make/solaris/makefiles/cscope.make Changeset: 2e038ad0c1d0 Author: never Date: 2011-05-02 18:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2e038ad0c1d0 7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp Reviewed-by: kvn, twisti ! src/cpu/sparc/vm/frame_sparc.cpp ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/frame_x86.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/methodHandles_x86.cpp ! src/share/vm/opto/loopPredicate.cpp ! src/share/vm/runtime/deoptimization.cpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/frame.hpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/thread.hpp ! src/share/vm/utilities/debug.cpp Changeset: e6d7eed3330c Author: kvn Date: 2011-05-03 09:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e6d7eed3330c 7041100: The load in String.equals intrinsic executed before null check Summary: Remove control from loads in String.equals intrinsic and cast argument to not-null. Reviewed-by: never ! src/share/vm/opto/library_call.cpp + test/compiler/7041100/Test7041100.java Changeset: f1d6640088a1 Author: never Date: 2011-05-03 12:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f1d6640088a1 6796786: invalid FP identity transform - (a - b) -> b - a Reviewed-by: iveresov, twisti ! src/share/vm/opto/subnode.cpp ! src/share/vm/opto/subnode.hpp + test/compiler/6796786/Test6796786.java Changeset: 8a9941687aae Author: never Date: 2011-05-03 17:09 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8a9941687aae Merge Changeset: eae35325e5e1 Author: never Date: 2011-05-03 20:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/eae35325e5e1 7041603: standalone SA doesn't build after 7010849 Reviewed-by: dcubed ! agent/make/Makefile Changeset: e9b8ef09622a Author: never Date: 2011-05-04 00:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e9b8ef09622a 7041582: set_mode_flags isn't called without -Xmixed specified Reviewed-by: kvn, iveresov ! src/share/vm/runtime/arguments.cpp Changeset: 8d944991dbf9 Author: twisti Date: 2011-05-04 00:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8d944991dbf9 7041244: JSR 292: Server VM gets a SEGV running a JCK test Reviewed-by: iveresov, kvn, never ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/share/vm/memory/genOopClosures.hpp Changeset: 6ee92b277bc5 Author: twisti Date: 2011-05-04 00:46 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/6ee92b277bc5 Merge Changeset: 0139aac70fb5 Author: twisti Date: 2011-05-04 03:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/0139aac70fb5 Merge Changeset: bad7ecd0b6ed Author: kvn Date: 2011-05-04 13:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/bad7ecd0b6ed 5091921: Sign flip issues in loop optimizer Summary: Fix integer overflow problem in the code generated by loop optimizer. Reviewed-by: never ! src/cpu/x86/vm/x86_32.ad ! src/share/vm/oops/methodDataOop.hpp ! src/share/vm/opto/bytecodeInfo.cpp ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/opto/cfgnode.cpp ! src/share/vm/opto/classes.hpp ! src/share/vm/opto/graphKit.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/macro.cpp ! src/share/vm/opto/matcher.cpp ! src/share/vm/opto/parse.hpp ! src/share/vm/opto/parse1.cpp ! src/share/vm/opto/phaseX.hpp ! src/share/vm/runtime/deoptimization.cpp ! src/share/vm/runtime/deoptimization.hpp + test/compiler/5091921/Test5091921.java + test/compiler/5091921/Test6186134.java + test/compiler/5091921/Test6196102.java + test/compiler/5091921/Test6357214.java + test/compiler/5091921/Test6559156.java + test/compiler/5091921/Test6753639.java + test/compiler/5091921/Test6850611.java + test/compiler/5091921/Test6890943.java + test/compiler/5091921/Test6890943.sh + test/compiler/5091921/Test6897150.java + test/compiler/5091921/Test6905845.java + test/compiler/5091921/Test6931567.java + test/compiler/5091921/Test6935022.java + test/compiler/5091921/Test6959129.java + test/compiler/5091921/Test6985295.java + test/compiler/5091921/Test6992759.java + test/compiler/5091921/Test7005594.java + test/compiler/5091921/Test7020614.java + test/compiler/5091921/input6890943.txt + test/compiler/5091921/output6890943.txt Changeset: dcfb3dede009 Author: never Date: 2011-05-04 22:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/dcfb3dede009 7042052: Xcomp crash with PopSynchronousTest Reviewed-by: kvn, iveresov ! src/share/vm/runtime/deoptimization.cpp Changeset: 37e4df3c8952 Author: kvn Date: 2011-05-04 22:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/37e4df3c8952 7042070: Typo in Test6796786.java Summary: The test should compare with -0.0f. Reviewed-by: never, iveresov ! test/compiler/6796786/Test6796786.java Changeset: f879eafd5835 Author: kvn Date: 2011-05-05 21:06 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f879eafd5835 7042327: assert(opaq->outcnt() == 1 && opaq->in(1) == limit) Summary: Separate limit by Opaque2 node when calculating new limit for unrolled loop. Reviewed-by: never ! src/share/vm/opto/ifnode.cpp ! src/share/vm/opto/loopTransform.cpp Changeset: 942e888897bc Author: never Date: 2011-05-06 11:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/942e888897bc Merge ! src/share/vm/runtime/arguments.cpp Changeset: 96d55ef0792c Author: trims Date: 2011-05-06 14:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/96d55ef0792c Merge Changeset: 9ad1548c6b63 Author: trims Date: 2011-05-06 14:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/9ad1548c6b63 7040779: Bump the HS21 build number to 12 Summary: Update the HS21 build number to 12 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 7133c05d365a Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7133c05d365a Added tag jdk7-b142 for changeset 9ad1548c6b63 ! .hgtags Changeset: 0effff0c9721 Author: trims Date: 2011-05-12 21:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/0effff0c9721 Added tag hs21-b12 for changeset 9ad1548c6b63 ! .hgtags Changeset: 357d1f583599 Author: dcubed Date: 2011-05-11 08:59 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/357d1f583599 7043298: 4/4 fix for 7028172 causes "Label too long: ..." error message Summary: Use '-e' version of sed expressions. Clarify and fix comments Reviewed-by: never, acorn ! make/solaris/makefiles/saproc.make Changeset: f1cbbee6713b Author: kamg Date: 2011-05-11 13:19 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f1cbbee6713b Merge Changeset: 78542e2b5e35 Author: fparain Date: 2011-05-12 10:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/78542e2b5e35 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans Summary: Add a notification to the GarbageCollectorMXBeans Reviewed-by: acorn, mchung ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp ! src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp ! src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/runtime/serviceThread.cpp + src/share/vm/services/gcNotifier.cpp + src/share/vm/services/gcNotifier.hpp ! src/share/vm/services/jmm.h ! src/share/vm/services/management.cpp ! src/share/vm/services/management.hpp ! src/share/vm/services/memoryManager.cpp ! src/share/vm/services/memoryManager.hpp ! src/share/vm/services/memoryService.cpp ! src/share/vm/services/memoryService.hpp Changeset: fc2b798ab316 Author: ysr Date: 2011-05-10 00:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/fc2b798ab316 6883834: ParNew: assert(!_g->to()->is_in_reserved(obj),"Scanning field twice?") with LargeObjects tests Summary: Fixed process_chunk_boundaries(), used for parallel card scanning when using ParNew/CMS, so as to prevent double-scanning, or worse, non-scanning of imprecisely marked objects exceeding parallel chunk size. Made some sizing parameters for parallel card scanning diagnostic, disabled ParallelGCRetainPLAB, and elaborated and clarified some comments. Reviewed-by: stefank, johnc ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp ! src/share/vm/gc_implementation/parNew/parOopClosures.inline.hpp ! src/share/vm/memory/cardTableModRefBS.cpp ! src/share/vm/memory/cardTableModRefBS.hpp ! src/share/vm/memory/cardTableRS.cpp ! src/share/vm/memory/cardTableRS.hpp ! src/share/vm/memory/space.cpp ! src/share/vm/runtime/globals.hpp Changeset: 97b64f73103b Author: iveresov Date: 2011-05-10 12:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/97b64f73103b 7043564: compile warning and copyright fixes Summary: Fixed the warning, also fixed copyrights in a bunch of files. Reviewed-by: johnc, kvn ! src/os/linux/vm/os_linux.cpp ! src/share/vm/runtime/advancedThresholdPolicy.cpp ! src/share/vm/runtime/advancedThresholdPolicy.hpp ! src/share/vm/runtime/simpleThresholdPolicy.cpp ! src/share/vm/runtime/simpleThresholdPolicy.hpp Changeset: 7d64aa23eb96 Author: ysr Date: 2011-05-11 15:47 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/7d64aa23eb96 7043891: CMS: assert(_whole_heap.contains(p)) failed: out of bounds access to card marking array Summary: Fixed assertion checking code that was attempting to translate addresses past end of space for card-table slot. Also elaborated some assertion checking messages. Reviewed-by: iveresov, jmasa, tonyp ! src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp ! src/share/vm/memory/blockOffsetTable.cpp ! src/share/vm/memory/cardTableModRefBS.hpp Changeset: 30d3b13f1938 Author: ysr Date: 2011-05-12 15:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/30d3b13f1938 Merge ! src/share/vm/runtime/globals.hpp Changeset: 153957c9207b Author: ysr Date: 2011-05-12 17:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/153957c9207b Merge Changeset: d4c1fbc3de95 Author: iveresov Date: 2011-05-06 12:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d4c1fbc3de95 7042153: guarantee(x_compare_res != Constant::not_comparable) failed: incomparable constants in IfOp Summary: Handle IfOps folding properly in case of unloaded constant oop arguments Reviewed-by: kvn, never ! src/share/vm/c1/c1_InstructionPrinter.cpp ! src/share/vm/c1/c1_Optimizer.cpp + test/compiler/7042153/Test7042153.java Changeset: 167b70ff3abc Author: never Date: 2011-05-06 16:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/167b70ff3abc 6939861: JVM should handle more conversion operations Reviewed-by: twisti, jrose ! src/cpu/x86/vm/assembler_x86.hpp ! src/cpu/x86/vm/frame_x86.cpp ! src/cpu/x86/vm/frame_x86.hpp ! src/cpu/x86/vm/frame_x86.inline.hpp ! src/cpu/x86/vm/interpreter_x86.hpp ! src/cpu/x86/vm/methodHandles_x86.cpp + src/cpu/x86/vm/methodHandles_x86.hpp ! src/cpu/x86/vm/sharedRuntime_x86_32.cpp ! src/cpu/x86/vm/sharedRuntime_x86_64.cpp ! src/cpu/x86/vm/stubRoutines_x86_32.hpp ! src/cpu/x86/vm/stubRoutines_x86_64.hpp ! src/share/vm/classfile/javaClasses.cpp ! src/share/vm/classfile/javaClasses.hpp ! src/share/vm/classfile/systemDictionary.cpp ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/code/codeBlob.cpp ! src/share/vm/code/codeBlob.hpp ! src/share/vm/code/codeCache.cpp ! src/share/vm/compiler/disassembler.cpp ! src/share/vm/prims/jvmtiTagMap.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/frame.hpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/sharedRuntime.hpp ! src/share/vm/services/heapDumper.cpp Changeset: 566ea7a12419 Author: never Date: 2011-05-06 19:34 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/566ea7a12419 Merge ! src/share/vm/runtime/globals.hpp Changeset: 3cfb240033d1 Author: never Date: 2011-05-09 19:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3cfb240033d1 7043301: assert(locals < caller->fp() || locals > (caller->fp() + 16)) failed: locals in save area Reviewed-by: kvn ! src/cpu/sparc/vm/frame_sparc.cpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/x86/vm/frame_x86.cpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/frame.hpp Changeset: e2a92dd0d3d2 Author: twisti Date: 2011-05-10 00:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e2a92dd0d3d2 7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters Reviewed-by: jrose, never, kvn ! src/share/vm/ci/ciMethodHandle.cpp ! src/share/vm/ci/ciMethodHandle.hpp ! src/share/vm/opto/bytecodeInfo.cpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse.hpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp Changeset: 3b1d58916d5f Author: kvn Date: 2011-05-10 12:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3b1d58916d5f 7043552: regression after 7042327 Summary: Generate Opaque2 node only during first unroll. Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp Changeset: 69c94f488271 Author: never Date: 2011-05-10 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/69c94f488271 7043040: JSR292: JRuby bench/shootout/binarytrees.ruby-2.ruby SEGV: constantPoolKlass::oop_follow_contents Reviewed-by: kvn, ysr ! src/share/vm/oops/constantPoolKlass.cpp Changeset: 3d2ab563047a Author: never Date: 2011-05-12 10:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3d2ab563047a 7043461: VM crashes in void LinkResolver::runtime_resolve_virtual_method Reviewed-by: kvn, coleenp ! src/cpu/sparc/vm/cppInterpreter_sparc.cpp ! src/cpu/sparc/vm/interpreter_sparc.cpp ! src/cpu/sparc/vm/templateInterpreter_sparc.cpp ! src/cpu/x86/vm/cppInterpreter_x86.cpp ! src/cpu/x86/vm/interpreter_x86_32.cpp ! src/cpu/x86/vm/interpreter_x86_64.cpp ! src/cpu/x86/vm/templateInterpreter_x86_32.cpp ! src/cpu/x86/vm/templateInterpreter_x86_64.cpp ! src/cpu/zero/vm/cppInterpreter_zero.cpp ! src/cpu/zero/vm/interpreter_zero.cpp ! src/share/vm/interpreter/abstractInterpreter.hpp ! src/share/vm/runtime/deoptimization.cpp ! src/share/vm/runtime/deoptimization.hpp ! src/share/vm/runtime/frame.cpp ! src/share/vm/runtime/vframeArray.cpp ! src/share/vm/runtime/vframeArray.hpp Changeset: 2f17eb233d13 Author: never Date: 2011-05-12 10:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2f17eb233d13 Merge Changeset: fabcf26ee72f Author: twisti Date: 2011-05-12 14:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/fabcf26ee72f 6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW Reviewed-by: jrose, kvn, never ! src/cpu/sparc/vm/methodHandles_sparc.cpp ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/share/vm/ci/ciMethodData.hpp ! src/share/vm/ci/ciMethodHandle.cpp ! src/share/vm/ci/ciMethodHandle.hpp ! src/share/vm/opto/doCall.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/prims/methodHandles.hpp Changeset: 3fd6f2d58ef3 Author: never Date: 2011-05-12 16:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3fd6f2d58ef3 Merge Changeset: 688202ef6306 Author: never Date: 2011-05-12 19:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/688202ef6306 Merge ! src/share/vm/classfile/vmSymbols.hpp ! src/share/vm/runtime/globals.hpp Changeset: a7ccd5419f48 Author: trims Date: 2011-05-12 22:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/a7ccd5419f48 Merge Changeset: c149193c768b Author: trims Date: 2011-05-12 22:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/c149193c768b 7040780: Bump the HS21 build number to 13 Summary: Update the HS21 build number to 13 Reviewed-by: jcoomes ! make/hotspot_version Changeset: d9dc0a55c848 Author: schien Date: 2011-05-20 16:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/d9dc0a55c848 Added tag jdk7-b143 for changeset c149193c768b ! .hgtags Changeset: 2aa9ddbb9e60 Author: jmasa Date: 2011-05-03 10:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2aa9ddbb9e60 7041789: 30% perf regression with c2/arm following 7017732 Summary: Implement a more accurate is_scavengable() Reviewed-by: stefank, jcoomes, ysr ! src/share/vm/code/nmethod.cpp ! src/share/vm/code/nmethod.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp ! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.inline.hpp ! src/share/vm/gc_interface/collectedHeap.hpp ! src/share/vm/memory/genCollectedHeap.cpp ! src/share/vm/memory/genCollectedHeap.hpp ! src/share/vm/memory/sharedHeap.cpp ! src/share/vm/oops/instanceRefKlass.cpp Changeset: 69293e516993 Author: johnc Date: 2011-05-17 00:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/69293e516993 7041440: G1: assert(obj->is_oop_or_null(true )) failed: Error # Summary: During an evacuation pause clear the region fields of any concurrent marking task whose local finger points into the collection set as the values in the region fields will become stale. Clearing these fields causes the concurrent mark task to claim a new region when marking restarts after the pause. Reviewed-by: tonyp, iveresov ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Changeset: ea4859d7fee7 Author: brutisso Date: 2011-05-18 13:19 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/ea4859d7fee7 Merge Changeset: 03b943e6c025 Author: dholmes Date: 2011-05-15 23:57 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/03b943e6c025 7035744: jprt no longer does open-only builds Summary: Added Open (OpenJDK) and Emb (Embedded) build flavours to JPRT. Added a few open builds and basic sanity tests to the normal JDK7 JPRT submission job. Reviewed-by: ohair, jcoomes, bobv, kvn ! make/jprt.gmk ! make/jprt.properties Changeset: 8bec9b249a6e Author: dholmes Date: 2011-05-17 09:29 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8bec9b249a6e Merge Changeset: 3f3325361b86 Author: kamg Date: 2011-05-18 10:12 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/3f3325361b86 Merge Changeset: 38569792a45a Author: kvn Date: 2011-05-16 14:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/38569792a45a 7044725: -XX:-UnrollLimitCheck -Xcomp : Exception: String index out of range: 29488 Summary: Fix problems in new RCE code. Reviewed-by: never ! src/share/vm/opto/loopTransform.cpp ! src/share/vm/opto/loopnode.hpp Changeset: f52ed367b66d Author: never Date: 2011-05-16 22:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/f52ed367b66d 6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify Reviewed-by: kvn, iveresov ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/sweeper.cpp ! src/share/vm/runtime/sweeper.hpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/thread.hpp Changeset: 33ae33516634 Author: bdelsart Date: 2011-05-17 16:50 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/33ae33516634 7045515: ARM assembly code for JSR 292 ricochet frames Summary: ARM ricochet port and minor fixes in shared debug code Reviewed-by: jrose, vladidan ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandles.hpp Changeset: 231c2b41ea4d Author: kvn Date: 2011-05-17 12:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/231c2b41ea4d 7045570: compiler/5091921/Test7005594.java failed because not enough space for object heap Summary: fixed tests. Reviewed-by: iveresov, never ! test/compiler/5091921/Test6890943.sh ! test/compiler/5091921/Test7005594.java + test/compiler/5091921/Test7005594.sh Changeset: 2848194272f4 Author: jrose Date: 2011-05-17 15:43 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/2848194272f4 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one Summary: Fix to 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke Reviewed-by: never ! src/share/vm/prims/methodHandles.cpp Changeset: a80577f854f9 Author: never Date: 2011-05-17 19:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/a80577f854f9 7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp Reviewed-by: jrose ! agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java + agent/src/share/classes/sun/jvm/hotspot/code/AdapterBlob.java ! agent/src/share/classes/sun/jvm/hotspot/code/CodeBlob.java ! agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java + agent/src/share/classes/sun/jvm/hotspot/code/RicochetBlob.java ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/share/vm/ci/ciMethodHandle.cpp ! src/share/vm/interpreter/bytecodeTracer.cpp ! src/share/vm/opto/idealGraphPrinter.cpp ! src/share/vm/prims/methodHandleWalk.cpp ! src/share/vm/prims/methodHandleWalk.hpp ! src/share/vm/prims/methodHandles.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/thread.cpp ! src/share/vm/runtime/vmStructs.cpp Changeset: b79e8b4ecd76 Author: never Date: 2011-05-17 19:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b79e8b4ecd76 Merge ! src/share/vm/prims/methodHandles.cpp Changeset: 1be2f0c40a34 Author: never Date: 2011-05-18 11:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/1be2f0c40a34 Merge Changeset: 62f39d40ebf1 Author: trims Date: 2011-05-20 05:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/62f39d40ebf1 7040781: Bump the HS21 build number to 14 Summary: Update the HS21 build number to 14 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 278445be9145 Author: trims Date: 2011-05-24 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/278445be9145 Added tag hs21-b13 for changeset c149193c768b ! .hgtags Changeset: 01e01c25d24a Author: trims Date: 2011-05-24 14:07 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/01e01c25d24a Merge ! .hgtags Changeset: e6e7d76b2bd3 Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/e6e7d76b2bd3 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: b2d778f92a18 Author: mcimadamore Date: 2011-07-05 17:14 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b2d778f92a18 merge with jdk8 - make/linux/makefiles/cscope.make - make/solaris/makefiles/cscope.make From maurizio.cimadamore at oracle.com Wed Jul 6 02:42:21 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 09:42:21 +0000 Subject: hg: lambda/lambda/jaxp: 29 new changesets Message-ID: <20110706094221.D8350471FB@hg.openjdk.java.net> Changeset: c8136fd161c8 Author: katleman Date: 2011-04-21 15:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/c8136fd161c8 Added tag jdk7-b139 for changeset 28c7c0ed2444 ! .hgtags Changeset: 9f7c281af543 Author: ohair Date: 2011-04-26 16:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/9f7c281af543 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore Changeset: 02a683859a8a Author: cl Date: 2011-04-27 19:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/02a683859a8a Merge Changeset: 2d68646d98ba Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/2d68646d98ba Added tag jdk7-b140 for changeset c8136fd161c8 ! .hgtags Changeset: e1b5ef243445 Author: schien Date: 2011-05-02 09:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/e1b5ef243445 Merge Changeset: 84e487d88c97 Author: schien Date: 2011-05-05 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/84e487d88c97 Added tag jdk7-b141 for changeset e1b5ef243445 ! .hgtags Changeset: 30129a58aacc Author: ohair Date: 2011-04-29 10:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/30129a58aacc 7040147: jaxp 1.4.5 jdk7 integration Reviewed-by: joehw ! jaxp.properties Changeset: 5598bd5ede94 Author: lana Date: 2011-04-30 15:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/5598bd5ede94 Merge Changeset: 9da6d4f2c640 Author: jgodinez Date: 2011-05-03 22:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/9da6d4f2c640 Merge Changeset: 7d067af4b25e Author: jgodinez Date: 2011-05-09 12:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/7d067af4b25e Merge Changeset: 3910007a86d8 Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/3910007a86d8 Added tag jdk7-b142 for changeset 7d067af4b25e ! .hgtags Changeset: 7691aa48eba4 Author: alanb Date: 2011-05-09 01:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/7691aa48eba4 Merge Changeset: 16b847e9bbd7 Author: lana Date: 2011-05-14 10:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/16b847e9bbd7 Merge Changeset: 39bf6dcaab23 Author: schien Date: 2011-05-20 16:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/39bf6dcaab23 Added tag jdk7-b143 for changeset 16b847e9bbd7 ! .hgtags Changeset: f816d9ea0b34 Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/f816d9ea0b34 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: bee49f47043f Author: schien Date: 2011-05-26 20:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/bee49f47043f Added tag jdk7-b144 for changeset 39bf6dcaab23 ! .hgtags Changeset: bdf77cbd9958 Author: ohair Date: 2011-05-19 08:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/bdf77cbd9958 7044493: Incorrectly formated GPL headers in JDK7 JAXP source drop Reviewed-by: joehw ! jaxp.properties Changeset: 775dd77e4730 Author: lana Date: 2011-05-20 21:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/775dd77e4730 Merge Changeset: a70a042c8600 Author: jeff Date: 2011-05-27 15:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/a70a042c8600 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: 10ca7570f47f Author: lana Date: 2011-06-02 13:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/10ca7570f47f Merge Changeset: bcd31fa1e3c6 Author: schien Date: 2011-06-07 14:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/bcd31fa1e3c6 Added tag jdk7-b145 for changeset 10ca7570f47f ! .hgtags Changeset: bae5f389d17b Author: schien Date: 2011-06-08 10:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/bae5f389d17b Merge Changeset: 9a4d09f33f01 Author: schien Date: 2011-06-20 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/9a4d09f33f01 Added tag jdk7-b146 for changeset bcd31fa1e3c6 ! .hgtags Changeset: 03692de33ca8 Author: schien Date: 2011-06-20 17:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/03692de33ca8 Merge Changeset: eed2486cb10b Author: jeff Date: 2011-06-22 10:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/eed2486cb10b 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: fc268cd1dd5d Author: lana Date: 2011-06-22 12:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/fc268cd1dd5d Merge Changeset: 6c9ac74190a0 Author: schien Date: 2011-06-27 13:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/6c9ac74190a0 Added tag jdk7-b147 for changeset fc268cd1dd5d ! .hgtags Changeset: 58dfc6f729e8 Author: schien Date: 2011-06-27 14:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/58dfc6f729e8 Merge Changeset: 35e8765cd415 Author: mcimadamore Date: 2011-07-05 17:13 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jaxp/rev/35e8765cd415 merge with jdk8 From maurizio.cimadamore at oracle.com Wed Jul 6 02:42:35 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 09:42:35 +0000 Subject: hg: lambda/lambda/jaxws: 37 new changesets Message-ID: <20110706094235.9AA90471FC@hg.openjdk.java.net> Changeset: e0ae10a9967b Author: katleman Date: 2011-04-21 15:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/e0ae10a9967b Added tag jdk7-b139 for changeset c025078c8362 ! .hgtags Changeset: d5e3452a6909 Author: ohair Date: 2011-04-12 12:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/d5e3452a6909 7034918: Integrate JAX-WS 2.2.4-b01 in to JDK 7 Reviewed-by: ramap ! jaxws.properties Changeset: 97c69227f325 Author: lana Date: 2011-04-17 16:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/97c69227f325 Merge Changeset: 82a9022c4f21 Author: lana Date: 2011-04-25 15:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/82a9022c4f21 Merge Changeset: 576612237ba6 Author: ohair Date: 2011-04-26 16:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/576612237ba6 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore Changeset: 6cdf9c2f62ba Author: cl Date: 2011-04-27 19:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/6cdf9c2f62ba Merge Changeset: e3c53d486eec Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/e3c53d486eec Added tag jdk7-b140 for changeset 82a9022c4f21 ! .hgtags Changeset: 66826b0aec5a Author: schien Date: 2011-05-02 09:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/66826b0aec5a Merge Changeset: 0ef3ef823c39 Author: schien Date: 2011-05-05 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/0ef3ef823c39 Added tag jdk7-b141 for changeset 66826b0aec5a ! .hgtags Changeset: 7439eee6371b Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/7439eee6371b Added tag jdk7-b142 for changeset 0ef3ef823c39 ! .hgtags Changeset: 6d59d563f187 Author: ohair Date: 2011-05-10 16:59 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/6d59d563f187 7042773: Integrate JAXWS 2.2.4 update to JDK7 Reviewed-by: ramap ! jaxws.properties Changeset: 569d1e7ea980 Author: lana Date: 2011-05-14 10:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/569d1e7ea980 Merge Changeset: 6bd683f2d527 Author: schien Date: 2011-05-20 16:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/6bd683f2d527 Added tag jdk7-b143 for changeset 569d1e7ea980 ! .hgtags Changeset: b52d1b2f4a52 Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/b52d1b2f4a52 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: 6158298d2b94 Author: schien Date: 2011-05-26 20:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/6158298d2b94 Added tag jdk7-b144 for changeset 6bd683f2d527 ! .hgtags Changeset: c902e39c384e Author: jeff Date: 2011-05-27 15:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/c902e39c384e 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: bcca8afc019f Author: ohair Date: 2011-06-01 10:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/bcca8afc019f 7049699: Problem with xml/jax-ws Reviewed-by: ramap ! jaxws.properties Changeset: 42bfba80beb7 Author: lana Date: 2011-06-02 13:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/42bfba80beb7 Merge Changeset: 6ec12c60ad13 Author: schien Date: 2011-06-07 14:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/6ec12c60ad13 Added tag jdk7-b145 for changeset 42bfba80beb7 ! .hgtags Changeset: 1b7851b9e113 Author: schien Date: 2011-06-08 10:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/1b7851b9e113 Merge Changeset: 581dab3f0773 Author: asaha Date: 2011-04-21 16:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/581dab3f0773 Merge Changeset: 26610bb80151 Author: asaha Date: 2011-05-04 12:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/26610bb80151 Merge Changeset: c6ff860428c7 Author: asaha Date: 2011-05-05 22:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/c6ff860428c7 Merge Changeset: f4e1caef46d0 Author: asaha Date: 2011-05-24 11:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/f4e1caef46d0 Merge Changeset: 9896cee00786 Author: asaha Date: 2011-05-26 17:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/9896cee00786 Merge Changeset: d1febdcb0351 Author: asaha Date: 2011-05-26 21:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/d1febdcb0351 Merge Changeset: 239c80c331da Author: asaha Date: 2011-06-06 10:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/239c80c331da Merge Changeset: 09412171ca4b Author: asaha Date: 2011-06-03 07:54 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/09412171ca4b Merge Changeset: 9d8fd0982fb8 Author: asaha Date: 2011-06-06 10:54 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/9d8fd0982fb8 Merge Changeset: 05469dd4c366 Author: lana Date: 2011-06-15 16:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/05469dd4c366 Merge Changeset: faa394edbfe3 Author: schien Date: 2011-06-20 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/faa394edbfe3 Added tag jdk7-b146 for changeset 05469dd4c366 ! .hgtags Changeset: 9244c440c0df Author: schien Date: 2011-06-20 17:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/9244c440c0df Merge Changeset: 632e38191caa Author: jeff Date: 2011-06-22 10:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/632e38191caa 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: d13b1f877bb5 Author: lana Date: 2011-06-22 12:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/d13b1f877bb5 Merge Changeset: 2605f832dfbf Author: schien Date: 2011-06-27 13:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/2605f832dfbf Added tag jdk7-b147 for changeset d13b1f877bb5 ! .hgtags Changeset: 47022a1b59be Author: schien Date: 2011-06-27 14:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/47022a1b59be Merge Changeset: c111e2fc8969 Author: mcimadamore Date: 2011-07-05 17:13 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jaxws/rev/c111e2fc8969 merge with jdk8 From maurizio.cimadamore at oracle.com Wed Jul 6 03:55:21 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 10:55:21 +0000 Subject: hg: lambda/lambda/langtools: 75 new changesets Message-ID: <20110706105755.B8B3E47201@hg.openjdk.java.net> Changeset: 674dc2b21640 Author: katleman Date: 2011-04-21 15:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/674dc2b21640 Added tag jdk7-b139 for changeset 853b6bb99f9b ! .hgtags Changeset: 8cc5b440fdde Author: darcy Date: 2011-04-06 19:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8cc5b440fdde 7033809: Rename "disjunctive" to "union" in javax.lang.model Reviewed-by: mcimadamore, jjg - src/share/classes/com/sun/source/tree/DisjunctiveTypeTree.java ! src/share/classes/com/sun/source/tree/Tree.java ! src/share/classes/com/sun/source/tree/TreeVisitor.java + src/share/classes/com/sun/source/tree/UnionTypeTree.java ! src/share/classes/com/sun/source/util/SimpleTreeVisitor.java ! src/share/classes/com/sun/source/util/TreeScanner.java ! src/share/classes/com/sun/tools/javac/code/Flags.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java ! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/share/classes/com/sun/tools/javac/tree/TreeTranslator.java - src/share/classes/javax/lang/model/type/DisjunctiveType.java ! src/share/classes/javax/lang/model/type/TypeKind.java ! src/share/classes/javax/lang/model/type/TypeVisitor.java + src/share/classes/javax/lang/model/type/UnionType.java ! src/share/classes/javax/lang/model/util/AbstractTypeVisitor6.java ! src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java ! src/share/classes/javax/lang/model/util/SimpleTypeVisitor7.java ! src/share/classes/javax/lang/model/util/TypeKindVisitor7.java Changeset: f00986f55961 Author: mcimadamore Date: 2011-04-12 20:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/f00986f55961 7034511: Loophole in typesafety Summary: Type-variable substutution takes upper bound of replaced captured type-variable Reviewed-by: dlsmith ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/generics/7034511/T7034511a.java + test/tools/javac/generics/7034511/T7034511a.out + test/tools/javac/generics/7034511/T7034511b.java + test/tools/javac/generics/7034511/T7034511b.out Changeset: bfbc197b560f Author: mcimadamore Date: 2011-04-12 20:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/bfbc197b560f 7034019: ClassCastException in javac with conjunction types Summary: Resolve.mostSpecific doesn't handle case of raw override Reviewed-by: dlsmith ! src/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/generics/7034019/T7034019a.java + test/tools/javac/generics/7034019/T7034019b.java + test/tools/javac/generics/7034019/T7034019c.java + test/tools/javac/generics/7034019/T7034019c.out + test/tools/javac/generics/7034019/T7034019d.java + test/tools/javac/generics/7034019/T7034019d.out Changeset: 694ff82ca68e Author: jjh Date: 2011-04-13 11:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/694ff82ca68e 7032975: API files in javax.annotation.processing need to be updated for references to JLS 7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks 7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks Summary: Removed URLs and 'edition' references Reviewed-by: jjg, darcy ! make/build.properties ! make/build.xml ! src/share/classes/com/sun/javadoc/ClassDoc.java ! src/share/classes/com/sun/source/tree/AnnotationTree.java ! src/share/classes/com/sun/source/tree/ArrayAccessTree.java ! src/share/classes/com/sun/source/tree/ArrayTypeTree.java ! src/share/classes/com/sun/source/tree/AssertTree.java ! src/share/classes/com/sun/source/tree/AssignmentTree.java ! src/share/classes/com/sun/source/tree/BinaryTree.java ! src/share/classes/com/sun/source/tree/BlockTree.java ! src/share/classes/com/sun/source/tree/BreakTree.java ! src/share/classes/com/sun/source/tree/CaseTree.java ! src/share/classes/com/sun/source/tree/CatchTree.java ! src/share/classes/com/sun/source/tree/ClassTree.java ! src/share/classes/com/sun/source/tree/CompilationUnitTree.java ! src/share/classes/com/sun/source/tree/CompoundAssignmentTree.java ! src/share/classes/com/sun/source/tree/ConditionalExpressionTree.java ! src/share/classes/com/sun/source/tree/ContinueTree.java ! src/share/classes/com/sun/source/tree/DoWhileLoopTree.java ! src/share/classes/com/sun/source/tree/EmptyStatementTree.java ! src/share/classes/com/sun/source/tree/EnhancedForLoopTree.java ! src/share/classes/com/sun/source/tree/ExpressionStatementTree.java ! src/share/classes/com/sun/source/tree/ExpressionTree.java ! src/share/classes/com/sun/source/tree/ForLoopTree.java ! src/share/classes/com/sun/source/tree/IdentifierTree.java ! src/share/classes/com/sun/source/tree/IfTree.java ! src/share/classes/com/sun/source/tree/ImportTree.java ! src/share/classes/com/sun/source/tree/InstanceOfTree.java ! src/share/classes/com/sun/source/tree/LabeledStatementTree.java ! src/share/classes/com/sun/source/tree/LiteralTree.java ! src/share/classes/com/sun/source/tree/MemberSelectTree.java ! src/share/classes/com/sun/source/tree/MethodInvocationTree.java ! src/share/classes/com/sun/source/tree/MethodTree.java ! src/share/classes/com/sun/source/tree/ModifiersTree.java ! src/share/classes/com/sun/source/tree/NewArrayTree.java ! src/share/classes/com/sun/source/tree/NewClassTree.java ! src/share/classes/com/sun/source/tree/ParameterizedTypeTree.java ! src/share/classes/com/sun/source/tree/ParenthesizedTree.java ! src/share/classes/com/sun/source/tree/PrimitiveTypeTree.java ! src/share/classes/com/sun/source/tree/ReturnTree.java ! src/share/classes/com/sun/source/tree/StatementTree.java ! src/share/classes/com/sun/source/tree/SwitchTree.java ! src/share/classes/com/sun/source/tree/SynchronizedTree.java ! src/share/classes/com/sun/source/tree/ThrowTree.java ! src/share/classes/com/sun/source/tree/TryTree.java ! src/share/classes/com/sun/source/tree/TypeCastTree.java ! src/share/classes/com/sun/source/tree/TypeParameterTree.java ! src/share/classes/com/sun/source/tree/UnaryTree.java ! src/share/classes/com/sun/source/tree/VariableTree.java ! src/share/classes/com/sun/source/tree/WhileLoopTree.java ! src/share/classes/com/sun/source/tree/WildcardTree.java ! src/share/classes/com/sun/tools/apt/mirror/util/DeclarationsImpl.java ! src/share/classes/com/sun/tools/classfile/AccessFlags.java ! src/share/classes/com/sun/tools/classfile/Annotation.java ! src/share/classes/com/sun/tools/classfile/AnnotationDefault_attribute.java ! src/share/classes/com/sun/tools/classfile/BootstrapMethods_attribute.java ! src/share/classes/com/sun/tools/classfile/ClassFile.java ! src/share/classes/com/sun/tools/classfile/Code_attribute.java ! src/share/classes/com/sun/tools/classfile/ConstantPool.java ! src/share/classes/com/sun/tools/classfile/ConstantValue_attribute.java ! src/share/classes/com/sun/tools/classfile/Deprecated_attribute.java ! src/share/classes/com/sun/tools/classfile/Descriptor.java ! src/share/classes/com/sun/tools/classfile/EnclosingMethod_attribute.java ! src/share/classes/com/sun/tools/classfile/Exceptions_attribute.java ! src/share/classes/com/sun/tools/classfile/InnerClasses_attribute.java ! src/share/classes/com/sun/tools/classfile/Instruction.java ! src/share/classes/com/sun/tools/classfile/LineNumberTable_attribute.java ! src/share/classes/com/sun/tools/classfile/LocalVariableTable_attribute.java ! src/share/classes/com/sun/tools/classfile/LocalVariableTypeTable_attribute.java ! src/share/classes/com/sun/tools/classfile/Opcode.java ! src/share/classes/com/sun/tools/classfile/RuntimeAnnotations_attribute.java ! src/share/classes/com/sun/tools/classfile/RuntimeInvisibleAnnotations_attribute.java ! src/share/classes/com/sun/tools/classfile/RuntimeInvisibleParameterAnnotations_attribute.java ! src/share/classes/com/sun/tools/classfile/RuntimeParameterAnnotations_attribute.java ! src/share/classes/com/sun/tools/classfile/RuntimeVisibleAnnotations_attribute.java ! src/share/classes/com/sun/tools/classfile/RuntimeVisibleParameterAnnotations_attribute.java ! src/share/classes/com/sun/tools/classfile/Signature.java ! src/share/classes/com/sun/tools/classfile/Signature_attribute.java ! src/share/classes/com/sun/tools/classfile/SourceDebugExtension_attribute.java ! src/share/classes/com/sun/tools/classfile/SourceFile_attribute.java ! src/share/classes/com/sun/tools/classfile/StackMapTable_attribute.java ! src/share/classes/com/sun/tools/classfile/Synthetic_attribute.java ! src/share/classes/com/sun/tools/classfile/package.html ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/share/classes/javax/annotation/processing/Processor.java ! src/share/classes/javax/lang/model/SourceVersion.java ! src/share/classes/javax/lang/model/element/Element.java ! src/share/classes/javax/lang/model/element/Modifier.java ! src/share/classes/javax/lang/model/element/PackageElement.java ! src/share/classes/javax/lang/model/element/TypeElement.java ! src/share/classes/javax/lang/model/element/VariableElement.java ! src/share/classes/javax/lang/model/type/DeclaredType.java ! src/share/classes/javax/lang/model/type/TypeVariable.java ! src/share/classes/javax/lang/model/util/Elements.java ! src/share/classes/javax/lang/model/util/Types.java ! src/share/classes/javax/tools/JavaCompiler.java ! src/share/classes/javax/tools/JavaFileManager.java ! src/share/classes/javax/tools/JavaFileObject.java ! src/share/sample/javac/processing/src/CheckNamesProcessor.java Changeset: 5ed971fce27c Author: lana Date: 2011-04-17 16:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/5ed971fce27c Merge Changeset: 258e6654aba2 Author: lana Date: 2011-04-25 15:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/258e6654aba2 Merge - src/share/classes/com/sun/source/tree/DisjunctiveTypeTree.java - src/share/classes/javax/lang/model/type/DisjunctiveType.java Changeset: 841e1c6a5914 Author: mfang Date: 2011-04-25 20:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/841e1c6a5914 7039493: incorporating WPTG translation bug fixes Reviewed-by: yhuang ! src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties Changeset: c2e7291e98e7 Author: ohair Date: 2011-04-26 16:22 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/c2e7291e98e7 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore Changeset: 8505c91a1f85 Author: cl Date: 2011-04-27 19:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8505c91a1f85 Merge Changeset: 2637cf09460b Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/2637cf09460b Added tag jdk7-b140 for changeset 258e6654aba2 ! .hgtags Changeset: 90adb5d6adc7 Author: schien Date: 2011-05-02 09:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/90adb5d6adc7 Merge Changeset: 4c41a371aaf4 Author: schien Date: 2011-05-05 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/4c41a371aaf4 Added tag jdk7-b141 for changeset 90adb5d6adc7 ! .hgtags Changeset: bbd053476ec3 Author: bpatel Date: 2011-04-18 15:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/bbd053476ec3 6758050: javadoc handles nested generic types incorrectly Reviewed-by: jjg ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java + test/com/sun/javadoc/testNestedGenerics/TestNestedGenerics.java + test/com/sun/javadoc/testNestedGenerics/pkg/NestedGenerics.java Changeset: 671bb63f3ed5 Author: mcimadamore Date: 2011-04-19 13:57 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/671bb63f3ed5 7036906: Scope: CompoundScope.getElements() doesn't pass scope filter to subscopes Summary: CompoundScope.getElements() is not filtering elements according to the ScopeFilter argument Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Scope.java ! test/tools/javac/scope/7017664/CompoundScopeTest.java Changeset: fb84cfca28a1 Author: jjg Date: 2011-04-25 15:50 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/fb84cfca28a1 7039019: test cannot run standalone Reviewed-by: dlsmith ! test/tools/javac/processing/model/TestSymtabItems.java Changeset: 4c5f13798b8d Author: jjg Date: 2011-04-25 15:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/4c5f13798b8d 7038363: cast from object to primitive should be for source >= 1.7 Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/types/CastObjectToPrimitiveTest.java + test/tools/javac/types/CastObjectToPrimitiveTest.out Changeset: a8f5cad1e6bb Author: darcy Date: 2011-04-27 17:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/a8f5cad1e6bb 7039822: Project Coin: add explicit tests for the lub of an exception parameter Reviewed-by: mcimadamore, jjg + test/tools/javac/multicatch/Neg07.java + test/tools/javac/multicatch/Neg07.out + test/tools/javac/multicatch/Pos10.java Changeset: 5c81ba0eddff Author: bpatel Date: 2011-04-27 17:13 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/5c81ba0eddff 7028815: Missing styles for some bulleted items in the new stylesheet Reviewed-by: jjg ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css ! test/com/sun/javadoc/testStylesheet/TestStylesheet.java Changeset: c7841bbe1227 Author: mchung Date: 2011-04-28 08:46 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/c7841bbe1227 7037081: Remove com.sun.tracing from NON_CORE_PKGS Reviewed-by: ohair, jjg, jmasa ! src/share/classes/com/sun/tools/javac/resources/legacy.properties Changeset: 7ae6c0fd479b Author: jjg Date: 2011-04-28 15:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/7ae6c0fd479b 7029150: Project Coin: present union types from the tree API through to javax.lang.model Reviewed-by: mcimadamore ! src/share/classes/com/sun/source/util/Trees.java ! src/share/classes/com/sun/tools/javac/api/JavacTrees.java ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/model/JavacTypes.java ! test/tools/javac/multicatch/model/Model01.java ! test/tools/javac/multicatch/model/ModelChecker.java + test/tools/javac/multicatch/model/UnionTypeInfo.java + test/tools/javac/processing/model/type/TestUnionType.java Changeset: 4c03383f6529 Author: mcimadamore Date: 2011-04-29 16:05 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/4c03383f6529 7040104: javac NPE on Object a[]; Object o = (a=null)[0]; Summary: When a null literal is found on top of stack, if expected type is 1-dimension array no checkcast is emitted Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/jvm/Code.java + test/tools/javac/T7040104.java Changeset: 9a847a77205d Author: mcimadamore Date: 2011-04-29 16:05 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/9a847a77205d 7039937: Improved catch analysis fails to handle a common idiom in the libraries Summary: Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! test/tools/javac/6558548/T6558548.java ! test/tools/javac/6558548/T6558548_6.out ! test/tools/javac/6558548/T6558548_latest.out ! test/tools/javac/diags/examples/UnreachableCatch1.java Changeset: 1092b67b3cad Author: mcimadamore Date: 2011-04-29 16:05 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/1092b67b3cad 7034495: Javac asserts on usage of wildcards in bounds Summary: Problem with intersection types and wildcards causing javac to crash Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Types.java + test/tools/javac/generics/wildcards/7034495/T7034495.java + test/tools/javac/generics/wildcards/7034495/T7034495.out Changeset: dc3d9ef880a1 Author: mcimadamore Date: 2011-04-29 16:06 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/dc3d9ef880a1 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure Summary: Accessing a non-existing enum constant from an annotation whose class is available results in an internal error Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/annotations/6550655/T6550655.java ! test/tools/javac/diags/examples.not-yet.txt Changeset: 4caf17560ae0 Author: mcimadamore Date: 2011-04-30 11:57 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/4caf17560ae0 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments Summary: diamond should be disallowed in cases where explicit generic constructor parameters are specified Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/diags/examples/DiamondAndExplicitParams.java ! test/tools/javac/generics/diamond/7030150/GenericConstructorAndDiamondTest.java - test/tools/javac/generics/diamond/7030150/Neg01.java - test/tools/javac/generics/diamond/7030150/Neg01.out - test/tools/javac/generics/diamond/7030150/Neg02.java - test/tools/javac/generics/diamond/7030150/Neg02.out - test/tools/javac/generics/diamond/7030150/Neg03.java - test/tools/javac/generics/diamond/7030150/Neg03.out - test/tools/javac/generics/diamond/7030150/Pos01.java - test/tools/javac/generics/diamond/7030150/Pos02.java Changeset: 459854f564ed Author: lana Date: 2011-04-30 16:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/459854f564ed Merge Changeset: 62bc3775d5bb Author: bpatel Date: 2011-05-02 02:13 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/62bc3775d5bb 6492694: @deprecated tag doesn't work in package-info files. Reviewed-by: jjg ! src/share/classes/com/sun/tools/doclets/formats/html/ClassUseWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/DeprecatedListWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/PackageFrameWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/PackageUseWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/PackageWriterImpl.java ! src/share/classes/com/sun/tools/doclets/formats/html/SourceToHTMLConverter.java ! src/share/classes/com/sun/tools/doclets/formats/html/TreeWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlStyle.java ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties ! src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css ! src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/DeprecatedTaglet.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassDocCatalog.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ClassTree.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/DeprecatedAPIListBuilder.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/IndexBuilder.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/PackageListWriter.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java + test/com/sun/javadoc/testPackageDeprecation/C2.java + test/com/sun/javadoc/testPackageDeprecation/FooDepr.java + test/com/sun/javadoc/testPackageDeprecation/TestPackageDeprecation.java + test/com/sun/javadoc/testPackageDeprecation/pkg/A.java + test/com/sun/javadoc/testPackageDeprecation/pkg1/ClassUseTest1.java + test/com/sun/javadoc/testPackageDeprecation/pkg1/Foo.java + test/com/sun/javadoc/testPackageDeprecation/pkg1/Foo2.java + test/com/sun/javadoc/testPackageDeprecation/pkg1/package-info.java ! test/com/sun/javadoc/testSubTitle/TestSubTitle.java Changeset: 384ea9a98912 Author: mcimadamore Date: 2011-05-02 12:05 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/384ea9a98912 7040883: Compilation error: "length in Array is defined in an inaccessible class or interface" Summary: Fix of 7034511 (now backed out) is causing spurious accessibility errors Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Types.java ! test/tools/javac/generics/7034511/T7034511a.java ! test/tools/javac/generics/7034511/T7034511b.java + test/tools/javac/generics/typevars/T7040883.java Changeset: dbc4ced9d171 Author: bpatel Date: 2011-05-02 10:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/dbc4ced9d171 6553182: Need to modify javadoc doclet for GPL Reviewed-by: jjg ! src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties + test/com/sun/javadoc/testDocRootLink/TestDocRootLink.java + test/com/sun/javadoc/testDocRootLink/pkg1/C1.java + test/com/sun/javadoc/testDocRootLink/pkg1/package.html + test/com/sun/javadoc/testDocRootLink/pkg2/C2.java + test/com/sun/javadoc/testDocRootLink/pkg2/package.html ! test/com/sun/javadoc/testHelpOption/TestHelpOption.java Changeset: 14ff19ca715f Author: jgodinez Date: 2011-05-03 22:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/14ff19ca715f Merge - test/tools/javac/generics/diamond/7030150/Neg01.java - test/tools/javac/generics/diamond/7030150/Neg01.out - test/tools/javac/generics/diamond/7030150/Neg02.java - test/tools/javac/generics/diamond/7030150/Neg02.out - test/tools/javac/generics/diamond/7030150/Neg03.java - test/tools/javac/generics/diamond/7030150/Neg03.out - test/tools/javac/generics/diamond/7030150/Pos01.java - test/tools/javac/generics/diamond/7030150/Pos02.java Changeset: b72d70f33ee4 Author: jgodinez Date: 2011-05-09 12:34 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/b72d70f33ee4 Merge - test/tools/javac/generics/diamond/7030150/Neg01.java - test/tools/javac/generics/diamond/7030150/Neg01.out - test/tools/javac/generics/diamond/7030150/Neg02.java - test/tools/javac/generics/diamond/7030150/Neg02.out - test/tools/javac/generics/diamond/7030150/Neg03.java - test/tools/javac/generics/diamond/7030150/Neg03.out - test/tools/javac/generics/diamond/7030150/Pos01.java - test/tools/javac/generics/diamond/7030150/Pos02.java Changeset: 66956f601f5a Author: mfang Date: 2011-05-10 15:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/66956f601f5a 7022005: [ja,zh_CN] javadoc, part of navigation bar in generated html are not translated. Reviewed-by: yhuang ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_zh_CN.properties Changeset: c60f85f28aa9 Author: mfang Date: 2011-05-10 15:07 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/c60f85f28aa9 7043548: message drop 3 translation integration Reviewed-by: yhuang ! src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties ! src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties ! src/share/classes/com/sun/tools/javac/resources/javac_ja.properties ! src/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties ! src/share/classes/com/sun/tools/javadoc/resources/javadoc_ja.properties ! src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties Changeset: 7476b164194c Author: mfang Date: 2011-05-10 19:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/7476b164194c Merge Changeset: 4d05949f8d6b Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/4d05949f8d6b Added tag jdk7-b142 for changeset 7476b164194c ! .hgtags Changeset: c3e3945cc24f Author: alanb Date: 2011-05-09 01:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/c3e3945cc24f Merge Changeset: 68fde7f5863b Author: jjg Date: 2011-05-10 19:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/68fde7f5863b 7043694: printStackTrace call should be removed Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/code/Symbol.java Changeset: a2d422d480cb Author: mcimadamore Date: 2011-05-11 13:10 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/a2d422d480cb 7042566: Regression: new ambiguity between varargs method Summary: Erroneous ambiguity error when choosing most specific varargs method Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Infer.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java + test/tools/javac/varargs/7042566/T7042566.java Changeset: 95fc7fd39be2 Author: mcimadamore Date: 2011-05-11 13:12 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/95fc7fd39be2 7041730: Regression: compiler accepts invalid cast from int to Byte Summary: Implementation of cast conversion rules between primitive and boxed types is too liberal Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Types.java ! test/tools/javac/types/BoxingConversionTest.java ! test/tools/javac/types/CastTest.java Changeset: bdfa48f80c82 Author: jjg Date: 2011-05-11 14:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/bdfa48f80c82 7043867: docs/jdk/api/javac have html files that have issues with HTML4 compliance Reviewed-by: darcy ! src/share/classes/com/sun/source/tree/SynchronizedTree.java Changeset: 652f0daf74a7 Author: lana Date: 2011-05-14 11:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/652f0daf74a7 Merge Changeset: 5faa9eedc44e Author: mcimadamore Date: 2011-05-16 09:38 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/5faa9eedc44e 7043922: Regression: internal compiler error for nested anonymous inner class featuring varargs constructor Summary: Attributing a constructor call does not clean up the compiler's attribution context Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/varargs/7043922/T7043922.java Changeset: 8987de9a4ab8 Author: schien Date: 2011-05-20 16:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8987de9a4ab8 Added tag jdk7-b143 for changeset 5faa9eedc44e ! .hgtags Changeset: fdc22d73b6f3 Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/fdc22d73b6f3 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: 8eb952f43b11 Author: katleman Date: 2011-05-25 13:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8eb952f43b11 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles Reviewed-by: ohair, trims ! src/share/classes/com/sun/source/tree/UnionTypeTree.java ! src/share/classes/com/sun/tools/classfile/ClassTranslator.java ! src/share/classes/com/sun/tools/classfile/Dependencies.java ! src/share/classes/javax/lang/model/util/AbstractTypeVisitor7.java ! src/share/classes/javax/lang/model/util/ElementKindVisitor7.java ! test/tools/javac/4241573/T4241573.java ! test/tools/javac/6508981/TestInferBinaryName.java ! test/tools/javac/TryWithResources/DuplicateResource.java ! test/tools/javac/api/6411310/Test.java ! test/tools/javac/api/T6838467.java ! test/tools/javac/api/T6877206.java ! test/tools/javac/api/TestClientCodeWrapper.java ! test/tools/javac/api/TestJavacTask_Lock.java ! test/tools/javac/api/TestJavacTask_Multiple.java ! test/tools/javac/api/TestJavacTask_ParseAttrGen.java ! test/tools/javac/multicatch/model/ModelChecker.java ! test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface1.java ! test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface2.java ! test/tools/javac/processing/model/element/TestMissingElement2/TestMissingInterface.java ! test/tools/javac/processing/model/util/deprecation/TestDeprecation.java ! test/tools/javac/tree/T6963934.java Changeset: 9f25c6a3ac23 Author: schien Date: 2011-05-26 20:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/9f25c6a3ac23 Added tag jdk7-b144 for changeset 8eb952f43b11 ! .hgtags Changeset: 6bb526ccf5ff Author: mcimadamore Date: 2011-05-23 11:55 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/6bb526ccf5ff 7046348: Regression: javac complains of missing classfile for a seemingly unrelated interface Summary: Types.implementation forces unnecessary symbol completion on superinterfaces of a given type Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Check.java + test/tools/javac/scope/7046348/EagerInterfaceCompletionTest.java Changeset: 6211df69f7e0 Author: jeff Date: 2011-05-27 15:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/6211df69f7e0 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: 6762754eb7c0 Author: jjg Date: 2011-06-01 11:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/6762754eb7c0 7042623: Regression: javac silently crash when attributing non-existent annotation Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/comp/Check.java + test/tools/javac/T7042623.java + test/tools/javac/T7042623.out Changeset: c455e2ae5c93 Author: lana Date: 2011-06-02 13:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/c455e2ae5c93 Merge Changeset: 9ff91d0e7154 Author: schien Date: 2011-06-07 14:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/9ff91d0e7154 Added tag jdk7-b145 for changeset c455e2ae5c93 ! .hgtags Changeset: f27b6f45a449 Author: schien Date: 2011-06-08 10:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/f27b6f45a449 Merge Changeset: 347349c981f2 Author: jjh Date: 2011-06-09 09:13 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/347349c981f2 7052782: Two langtools regression tests fail due to fix for 7034977 which removed the invokeGeneric method Summary: Change the tests to call invoke instead of invokeGeneric Reviewed-by: jrose, mcimadamore ! test/tools/javac/meth/InvokeMH.java ! test/tools/javac/meth/XlintWarn.java Changeset: b8a2c9c87018 Author: lana Date: 2011-06-10 11:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/b8a2c9c87018 Merge Changeset: 588d366d96df Author: asaha Date: 2011-04-21 16:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/588d366d96df Merge Changeset: 219b522d09e4 Author: asaha Date: 2011-05-04 12:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/219b522d09e4 Merge Changeset: 145d832616d3 Author: asaha Date: 2011-05-05 22:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/145d832616d3 Merge Changeset: 8b6e015ae7d0 Author: asaha Date: 2011-05-24 11:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8b6e015ae7d0 Merge - test/tools/javac/generics/diamond/7030150/Neg01.java - test/tools/javac/generics/diamond/7030150/Neg01.out - test/tools/javac/generics/diamond/7030150/Neg02.java - test/tools/javac/generics/diamond/7030150/Neg02.out - test/tools/javac/generics/diamond/7030150/Neg03.java - test/tools/javac/generics/diamond/7030150/Neg03.out - test/tools/javac/generics/diamond/7030150/Pos01.java - test/tools/javac/generics/diamond/7030150/Pos02.java Changeset: 35cc19ae29b5 Author: asaha Date: 2011-05-26 17:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/35cc19ae29b5 Merge Changeset: 8b65930602c3 Author: asaha Date: 2011-05-26 21:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8b65930602c3 Merge Changeset: 0adb806caf9d Author: asaha Date: 2011-06-06 10:22 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/0adb806caf9d Merge Changeset: bb1fdcebde01 Author: asaha Date: 2011-06-03 07:54 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/bb1fdcebde01 Merge Changeset: 8ed03b0e3c9c Author: asaha Date: 2011-06-06 11:08 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/8ed03b0e3c9c Merge Changeset: f494ca4bca0d Author: lana Date: 2011-06-15 16:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/f494ca4bca0d Merge Changeset: 7eba9df190ae Author: bpatel Date: 2011-06-17 20:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/7eba9df190ae 7052425: Change the look and feel of the javadoc generate HTML pages using stylesheet Reviewed-by: jjg ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDoclet.java + src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/background.gif - src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/inherit.gif ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css + src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/tab.gif + src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/titlebar.gif + src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/titlebar_end.gif ! test/com/sun/javadoc/AccessH1/AccessH1.java ! test/com/sun/javadoc/testStylesheet/TestStylesheet.java Changeset: c3a3440fe6e8 Author: bpatel Date: 2011-06-17 20:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/c3a3440fe6e8 Merge Changeset: 9425dd4f53d5 Author: schien Date: 2011-06-18 09:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/9425dd4f53d5 Merge Changeset: 436fb6aeda5a Author: schien Date: 2011-06-20 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/436fb6aeda5a Added tag jdk7-b146 for changeset 9425dd4f53d5 ! .hgtags Changeset: 06b6bbbe2787 Author: schien Date: 2011-06-20 17:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/06b6bbbe2787 Merge - src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/inherit.gif Changeset: a72412b148d7 Author: jeff Date: 2011-06-22 10:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/a72412b148d7 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: 58bc532d6341 Author: lana Date: 2011-06-22 12:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/58bc532d6341 Merge Changeset: ce654f4ecfd8 Author: schien Date: 2011-06-27 13:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/ce654f4ecfd8 Added tag jdk7-b147 for changeset 58bc532d6341 ! .hgtags Changeset: e0dec1645823 Author: schien Date: 2011-06-27 14:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/e0dec1645823 Merge Changeset: 46942593309e Author: mcimadamore Date: 2011-07-06 09:31 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/46942593309e merge with jdk8 ! make/build.properties ! make/build.xml - src/share/classes/com/sun/source/tree/DisjunctiveTypeTree.java ! src/share/classes/com/sun/source/tree/Tree.java ! src/share/classes/com/sun/source/tree/TreeVisitor.java ! src/share/classes/com/sun/source/util/SimpleTreeVisitor.java ! src/share/classes/com/sun/source/util/TreeScanner.java ! src/share/classes/com/sun/tools/classfile/ClassTranslator.java ! src/share/classes/com/sun/tools/classfile/ConstantPool.java ! src/share/classes/com/sun/tools/classfile/Dependencies.java - src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/inherit.gif ! src/share/classes/com/sun/tools/javac/code/Flags.java ! src/share/classes/com/sun/tools/javac/code/Printer.java ! src/share/classes/com/sun/tools/javac/code/Scope.java ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/code/TypeTags.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java ! src/share/classes/com/sun/tools/javac/jvm/Code.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/share/classes/com/sun/tools/javac/model/JavacTypes.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java ! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/share/classes/com/sun/tools/javac/tree/TreeTranslator.java ! src/share/classes/com/sun/tools/javac/util/Names.java ! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java ! src/share/classes/javax/lang/model/SourceVersion.java - src/share/classes/javax/lang/model/type/DisjunctiveType.java ! src/share/classes/javax/lang/model/util/Types.java ! test/tools/javac/diags/examples.not-yet.txt - test/tools/javac/generics/diamond/7030150/Neg01.java - test/tools/javac/generics/diamond/7030150/Neg01.out - test/tools/javac/generics/diamond/7030150/Neg02.java - test/tools/javac/generics/diamond/7030150/Neg02.out - test/tools/javac/generics/diamond/7030150/Neg03.java - test/tools/javac/generics/diamond/7030150/Neg03.out - test/tools/javac/generics/diamond/7030150/Pos01.java - test/tools/javac/generics/diamond/7030150/Pos02.java ! test/tools/javac/lambda/sqe/SAM_types/LambdaTest2_SAM2.java ! test/tools/javac/meth/InvokeMH.java From maurizio.cimadamore at oracle.com Wed Jul 6 07:19:02 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 14:19:02 +0000 Subject: hg: lambda/lambda/langtools: Removed leftovers for SAM conversion involving abstract classes Message-ID: <20110706141904.EF19947208@hg.openjdk.java.net> Changeset: 43bdebae9a10 Author: mcimadamore Date: 2011-07-06 15:18 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/43bdebae9a10 Removed leftovers for SAM conversion involving abstract classes Removed support for hidden flag -XDabstractSAM. Now only interfaces are valid targets for SAM conversion. ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/comp/Unlambda.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/diags/examples.not-yet.txt - test/tools/javac/lambda/BadLambdaFinder01.java - test/tools/javac/lambda/BadLambdaFinder01.out ! test/tools/javac/lambda/BadLambdaPos.java ! test/tools/javac/lambda/BadLambdaPos.out - test/tools/javac/lambda/BadOrder.java ! test/tools/javac/lambda/BadTargetType.java ! test/tools/javac/lambda/BadTargetType.out - test/tools/javac/lambda/DefiniteAssignment01.java - test/tools/javac/lambda/LambdaConv02.java - test/tools/javac/lambda/LambdaConv02.out - test/tools/javac/lambda/LambdaConv07.java ! test/tools/javac/lambda/LambdaConv09.java ! test/tools/javac/lambda/LambdaConv09.out ! test/tools/javac/lambda/LambdaConv11.java ! test/tools/javac/lambda/LambdaConv12.java - test/tools/javac/lambda/LambdaConv14.java - test/tools/javac/lambda/LambdaConv15.java ! test/tools/javac/lambda/LambdaConv16.java ! test/tools/javac/lambda/LambdaConversionTest.java ! test/tools/javac/lambda/LambdaScope02.java ! test/tools/javac/lambda/MethodReference04.java ! test/tools/javac/lambda/MethodReference04.out ! test/tools/javac/lambda/MethodReference06.java ! test/tools/javac/lambda/MethodReference14.java ! test/tools/javac/lambda/MethodReference15.java ! test/tools/javac/lambda/MethodReference16.java ! test/tools/javac/lambda/MethodReference17.java ! test/tools/javac/lambda/MethodReference18.java ! test/tools/javac/lambda/MethodReference19.java ! test/tools/javac/lambda/TargetType02.java ! test/tools/javac/lambda/TargetType17.java ! test/tools/javac/lambda/TargetType17.out From maurizio.cimadamore at oracle.com Wed Jul 6 02:46:27 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 09:46:27 +0000 Subject: hg: lambda/lambda/jdk: 418 new changesets Message-ID: <20110706105450.1DA5347200@hg.openjdk.java.net> Changeset: fb1d421c1e97 Author: jrose Date: 2011-04-09 21:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fb1d421c1e97 7019529: JSR292: java/dyn/ClassValueTest.java depends on sub-test execution order Summary: Test should not use static variables, because they may contain stale values. Reviewed-by: twisti ! test/java/lang/invoke/ClassValueTest.java Changeset: 861e16acfea7 Author: trims Date: 2011-04-19 18:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/861e16acfea7 Merge Changeset: c7452722c57d Author: yhuang Date: 2011-04-18 23:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c7452722c57d 7036905: [de] dem - the german mark display name is incorrect Reviewed-by: naoto ! src/share/classes/sun/util/resources/CurrencyNames_de.properties ! src/share/classes/sun/util/resources/CurrencyNames_it.properties ! test/java/util/Currency/CurrencyTest.java ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 114089fb817c Author: mfang Date: 2011-04-19 10:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/114089fb817c Merge ! test/sun/text/resources/LocaleDataTest.java Changeset: 7e7c898b6352 Author: mfang Date: 2011-04-19 11:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7e7c898b6352 Merge Changeset: 5f6f3175decc Author: asaha Date: 2011-04-20 14:22 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5f6f3175decc 7018125: Reverting the JFB version string for JDK releases Reviewed-by: katleman ! make/common/shared/Defs.gmk Changeset: d80954a89b49 Author: cl Date: 2011-04-20 16:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d80954a89b49 Merge Changeset: 67b71a815388 Author: katleman Date: 2011-04-21 15:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/67b71a815388 Added tag jdk7-b139 for changeset d80954a89b49 ! .hgtags Changeset: 4dc798144dd2 Author: prr Date: 2011-04-05 09:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4dc798144dd2 6983666: Typo in JavaDoc comments within FileCacheImageOutputStream Reviewed-by: jgodinez ! src/share/classes/javax/imageio/stream/FileCacheImageOutputStream.java Changeset: 7a77ffb95c3b Author: bae Date: 2011-04-06 11:26 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7a77ffb95c3b 7033534: Two tests fail just against jdk7 b136 Reviewed-by: jgodinez, prr ! test/sun/java2d/cmm/ColorConvertOp/ColConvCCMTest.java ! test/sun/java2d/cmm/ColorConvertOp/MTColConvTest.java Changeset: 961237459de6 Author: prr Date: 2011-04-08 15:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/961237459de6 7004984: Features.h was renamed to ICUFeatures.h and should be removed Reviewed-by: srl - src/share/native/sun/font/layout/Features.h Changeset: 3e583bc83a52 Author: prr Date: 2011-04-13 15:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3e583bc83a52 7036275: EUDC character is not displayed on Swing if ClearType is enabled Reviewed-by: igor, jgodinez ! src/windows/classes/sun/awt/Win32FontManager.java Changeset: 7f80ba09441c Author: prr Date: 2011-04-15 12:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7f80ba09441c 6942504: test/javax/imageio/metadata/DOML3Node.java fails Reviewed-by: bae, jgodinez ! test/javax/imageio/metadata/DOML3Node.java Changeset: c27a80462285 Author: lana Date: 2011-04-16 23:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c27a80462285 Merge - src/share/classes/java/nio/BufferPoolMXBean.java - src/share/classes/java/util/logging/PlatformLoggingMXBean.java ! src/windows/classes/sun/awt/Win32FontManager.java - src/windows/native/java/net/NetworkInterface_win9x.c - test/java/nio/BufferPoolMXBean/Basic.java - test/java/util/logging/PlatformLoggingMXBean/PlatformLoggingMXBeanTest.java Changeset: 58729a928069 Author: serb Date: 2011-04-05 16:50 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/58729a928069 6998877: After double-click on the folder names , FileNameOverrideTest FAILED Reviewed-by: art, dcherepanov, anthony ! src/solaris/native/sun/awt/gtk2_interface.c ! src/solaris/native/sun/awt/gtk2_interface.h ! src/solaris/native/sun/awt/sun_awt_X11_GtkFileDialogPeer.c + test/java/awt/FileDialog/FileNameOverrideTest/FileNameOverrideTest.html + test/java/awt/FileDialog/FileNameOverrideTest/FileNameOverrideTest.java + test/java/awt/FileDialog/SaveFileNameOverrideTest/SaveFileNameOverrideTest.html + test/java/awt/FileDialog/SaveFileNameOverrideTest/SaveFileNameOverrideTest.java Changeset: 0f8b6b1aad7d Author: dav Date: 2011-04-06 17:13 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0f8b6b1aad7d 7002839: Static initialization deadlock between sun.awt.Win32GraphicsEnvironment and sun.awt.windows.WToolkit Reviewed-by: art, dcherepanov, denis ! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java ! src/windows/classes/sun/awt/windows/WToolkit.java + test/java/awt/GraphicsEnvironment/LoadLock/GE_init1.java + test/java/awt/GraphicsEnvironment/LoadLock/GE_init2.java + test/java/awt/GraphicsEnvironment/LoadLock/GE_init3.java + test/java/awt/GraphicsEnvironment/LoadLock/GE_init4.java + test/java/awt/GraphicsEnvironment/LoadLock/GE_init5.java + test/java/awt/GraphicsEnvironment/LoadLock/GE_init6.java Changeset: f6c9205bb20a Author: dcherepanov Date: 2011-04-07 18:54 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f6c9205bb20a 7016889: GraphicsDevice.setFullScreenWindow() spec for simulated full-screen mode is not always correct Reviewed-by: art, anthony ! src/share/classes/java/awt/GraphicsDevice.java ! src/share/classes/java/awt/Window.java Changeset: f06deecdcd3b Author: dav Date: 2011-04-07 22:34 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f06deecdcd3b 7031854: JCK 7 test FileDialogTest0001 fails on Windows with Russian locale Reviewed-by: uta, dcherepanov ! src/windows/native/sun/windows/awt_FileDialog.cpp Changeset: 675a582ffdf0 Author: anthony Date: 2011-04-08 15:00 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/675a582ffdf0 7027013: Regression: JComponent.revalidate() has no effect on invisible components Summary: Dialog.conditionalShow() should call validateUnconditionally() instead of simple validate() Reviewed-by: art, dcherepanov ! src/share/classes/java/awt/Dialog.java + test/java/awt/Dialog/ValidateOnShow/ValidateOnShow.java Changeset: b7381aa8dd77 Author: dav Date: 2011-04-08 18:29 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b7381aa8dd77 7029832: Buffer overrun at awt_LoadLibrary.c (and java_props_md.c) Reviewed-by: anthony, art ! src/solaris/native/sun/awt/awt_LoadLibrary.c Changeset: b58d1c9fa886 Author: anthony Date: 2011-04-08 17:04 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b58d1c9fa886 7008513: Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException Summary: Set transparent background to the applet Reviewed-by: art, dcherepanov ! test/java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java Changeset: e3c14b1c846b Author: denis Date: 2011-04-12 19:06 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e3c14b1c846b 7030062: duplicate free Reviewed-by: dcherepanov ! make/sun/jpeg/Makefile ! src/share/classes/java/awt/Toolkit.java ! src/solaris/native/sun/awt/awt_mgrsel.c Changeset: e00be783309b Author: denis Date: 2011-04-14 13:53 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e00be783309b 7036540: A change for 7021001 and some makefile changes have been pushed as a part of 7030062 Reviewed-by: dcherepanov ! make/sun/jpeg/Makefile ! src/share/classes/java/awt/Toolkit.java Changeset: 2e53dedb11b5 Author: denis Date: 2011-04-14 13:59 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2e53dedb11b5 7021001: Default implementation of Toolkit.loadSystemColors(int[]) and many others doesn't throw HE in hl env Reviewed-by: dcherepanov ! src/share/classes/java/awt/Toolkit.java Changeset: 6228934e36bc Author: dav Date: 2011-04-14 16:16 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6228934e36bc 7032566: Toolkit.areExtraMouseButtonsEnabled() not alws correspnd "sun.awt.enableExtraMouseButtons" sys prop Reviewed-by: art, dcherepanov ! src/share/classes/java/awt/Toolkit.java Changeset: 4eeff1fda9ea Author: serb Date: 2011-04-15 16:51 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4eeff1fda9ea 6983562: Two java/awt tests failing just on jdk7b108 Reviewed-by: art, denis, dcherepanov ! src/windows/native/sun/windows/awt_Button.cpp ! src/windows/native/sun/windows/awt_Checkbox.cpp Changeset: 346b56971f18 Author: lana Date: 2011-04-16 22:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/346b56971f18 Merge ! make/sun/jpeg/Makefile ! src/share/classes/java/awt/Toolkit.java ! src/share/classes/java/awt/Window.java - src/share/classes/java/nio/BufferPoolMXBean.java - src/share/classes/java/util/logging/PlatformLoggingMXBean.java ! src/solaris/native/sun/awt/gtk2_interface.c ! src/solaris/native/sun/awt/gtk2_interface.h ! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java ! src/windows/classes/sun/awt/windows/WToolkit.java - src/windows/native/java/net/NetworkInterface_win9x.c - test/java/nio/BufferPoolMXBean/Basic.java - test/java/util/logging/PlatformLoggingMXBean/PlatformLoggingMXBeanTest.java Changeset: e39808c3d13e Author: lana Date: 2011-04-18 13:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e39808c3d13e Merge Changeset: 1b1ae0d228d8 Author: rupashka Date: 2011-04-06 11:51 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1b1ae0d228d8 6973777: JCK manual case JEditorPaneTests.html#JEditorPane fails in jdk7 b100 Reviewed-by: peterz ! src/share/classes/javax/swing/text/GlyphView.java ! src/share/classes/javax/swing/text/ParagraphView.java - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: 3e3c15338f55 Author: rupashka Date: 2011-04-06 12:05 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3e3c15338f55 7003777: Nonexistent html entities not parsed properly. Reviewed-by: peterz ! src/share/classes/javax/swing/text/html/parser/Parser.java + test/javax/swing/text/html/parser/Parser/7003777/bug7003777.java Changeset: 6128bcca6403 Author: amenkov Date: 2011-04-06 15:07 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6128bcca6403 7009127: [Spec clarification request] Wrapping the devices retrieved from MidiDeviceProvider Reviewed-by: alexp ! src/share/classes/javax/sound/midi/MidiSystem.java Changeset: cd853175b58c Author: amenkov Date: 2011-04-06 15:12 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cd853175b58c 6992523: FindBugs scan - Malicious code vulnerability Warnings in com.sun.media.sound.* Reviewed-by: alexp ! src/share/classes/com/sun/media/sound/DLSInstrument.java ! src/share/classes/com/sun/media/sound/DLSSample.java ! src/share/classes/com/sun/media/sound/ModelConnectionBlock.java ! src/share/classes/com/sun/media/sound/SoftChannel.java ! src/share/classes/com/sun/media/sound/SoftInstrument.java ! src/share/classes/com/sun/media/sound/SoftMixingDataLine.java ! src/share/classes/com/sun/media/sound/SoftProvider.java ! src/share/classes/com/sun/media/sound/SoftTuning.java Changeset: f7eb08bf41e5 Author: rupashka Date: 2011-04-06 20:36 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f7eb08bf41e5 6849232: closed/javax/swing/text/GlyphPainter2/6427244/bug6427244.java fails on RHEL5 Reviewed-by: peterz ! src/share/classes/javax/swing/text/GlyphPainter2.java Changeset: cebbb13e9963 Author: rupashka Date: 2011-04-08 00:26 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cebbb13e9963 6596966: Some JFileChooser mnemonics do not work with sticky keys Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/basic/BasicLabelUI.java + test/javax/swing/JLabel/6596966/bug6596966.java Changeset: 5c5d5c3c902a Author: rupashka Date: 2011-04-11 19:55 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5c5d5c3c902a 7030623: closed/javax/accessibility/4864610/bug4864610.java test fails just against jdk7 b134 Reviewed-by: peterz ! src/share/classes/javax/swing/text/Utilities.java Changeset: 44b9482e9efb Author: rupashka Date: 2011-04-12 10:15 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/44b9482e9efb 7025525: CSS property list in javax.swing.text.html.CSS is incomplete Reviewed-by: alexp ! src/share/classes/javax/swing/text/html/CSS.java Changeset: e392becfd94f Author: peytoia Date: 2011-04-12 16:16 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e392becfd94f 7035073: Add missing timezones to TimeZoneNames_pt_BR.java Reviewed-by: okutsu ! src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java Changeset: e4090d232e69 Author: peytoia Date: 2011-04-12 18:58 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e4090d232e69 7034231: Default font appears twice in fallback font list Reviewed-by: okutsu, prr ! src/windows/classes/sun/awt/Win32FontManager.java ! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java Changeset: b83978b25d1d Author: rupashka Date: 2011-04-13 20:16 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b83978b25d1d 7032376: A type parameter isn't seen by using an web browser Reviewed-by: malenkov ! src/share/classes/javax/swing/Painter.java Changeset: a7ea2d624d40 Author: rupashka Date: 2011-04-13 21:08 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a7ea2d624d40 7030774: javax/swing/text/CSSBorder/6796710/bug6796710.java test fails against jdk7 b134 Reviewed-by: malenkov ! test/javax/swing/text/CSSBorder/6796710/bug6796710.java Changeset: 21fa255f0edf Author: okutsu Date: 2011-04-14 15:59 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/21fa255f0edf 7028818: (lc) Lazily initialize locale extension 7029740: (lc) New Locale class implementation doesn't follow the Java coding conventions 7032820: (lc) sun.util.locale.InternalLocaleBuilder.CaseInsensitiveChar.equals problems 7033503: (lc) Restore optimization code for Locale class initialization 7033504: (lc) incompatible behavior change for ja_JP_JP and th_TH_TH locales Reviewed-by: naoto ! make/java/java/FILES_java.gmk ! src/share/classes/java/util/Locale.java ! src/share/classes/java/util/ResourceBundle.java ! src/share/classes/sun/util/locale/BaseLocale.java ! src/share/classes/sun/util/locale/Extension.java ! src/share/classes/sun/util/locale/InternalLocaleBuilder.java ! src/share/classes/sun/util/locale/LanguageTag.java ! src/share/classes/sun/util/locale/LocaleExtensions.java ! src/share/classes/sun/util/locale/LocaleObjectCache.java ! src/share/classes/sun/util/locale/LocaleSyntaxException.java + src/share/classes/sun/util/locale/LocaleUtils.java ! src/share/classes/sun/util/locale/ParseStatus.java ! src/share/classes/sun/util/locale/StringTokenIterator.java ! src/share/classes/sun/util/locale/UnicodeLocaleExtension.java ! test/java/util/Locale/LocaleEnhanceTest.java Changeset: cf5d466be0bd Author: rupashka Date: 2011-04-14 12:37 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cf5d466be0bd 7032911: javax/swing/JLabel/7004134/bug7004134.java test fails against jdk7 Reviewed-by: malenkov ! test/javax/swing/JLabel/7004134/bug7004134.java Changeset: d42338742583 Author: peytoia Date: 2011-04-15 12:08 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d42338742583 7036842: HTML tag mismatch in API doc for ChoiceFormat Reviewed-by: okutsu ! src/share/classes/java/text/ChoiceFormat.java Changeset: adfdbb41cdf2 Author: okutsu Date: 2011-04-15 22:57 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/adfdbb41cdf2 7035446: some regression tests take too long Reviewed-by: peytoia ! test/java/text/Bidi/Bug6665028.java ! test/java/util/Locale/Bug4518797.java ! test/java/util/ResourceBundle/Control/StressTest.java Changeset: d6afc2ca81cc Author: alexp Date: 2011-04-15 20:50 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d6afc2ca81cc 7032903: javax/swing/JComponent/6989617/bug6989617.java test fails against jdk7 Reviewed-by: rupashka ! test/javax/swing/JComponent/6989617/bug6989617.java + test/javax/swing/plaf/synth/7032791/bug7032791.java Changeset: 1e2366f02b50 Author: alexp Date: 2011-04-15 20:54 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1e2366f02b50 Merge Changeset: 71e769dc8cf6 Author: alexp Date: 2011-04-15 21:26 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/71e769dc8cf6 6985329: 9 classes in swing.plaf contains words inappropriate for public spec - about some compiler bug Reviewed-by: rupashka ! src/share/classes/javax/swing/plaf/basic/BasicColorChooserUI.java ! src/share/classes/javax/swing/plaf/basic/BasicDesktopIconUI.java ! src/share/classes/javax/swing/plaf/basic/BasicListUI.java ! src/share/classes/javax/swing/plaf/basic/BasicOptionPaneUI.java ! src/share/classes/javax/swing/plaf/basic/BasicProgressBarUI.java ! src/share/classes/javax/swing/plaf/basic/BasicTableHeaderUI.java ! src/share/classes/javax/swing/plaf/basic/BasicTableUI.java ! src/share/classes/javax/swing/plaf/metal/MetalComboBoxUI.java ! src/share/classes/javax/swing/plaf/metal/MetalTabbedPaneUI.java Changeset: d353dcff4f14 Author: alexp Date: 2011-04-15 21:36 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d353dcff4f14 7036148: NullPointerException with null JMenu name Reviewed-by: rupashka ! src/share/classes/sun/swing/SwingUtilities2.java + test/javax/swing/JMenuItem/7036148/bug7036148.java Changeset: 1d0a1f78bc57 Author: lana Date: 2011-04-16 20:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1d0a1f78bc57 Merge ! make/java/java/FILES_java.gmk - src/share/classes/java/nio/BufferPoolMXBean.java ! src/share/classes/java/util/Locale.java - src/share/classes/java/util/logging/PlatformLoggingMXBean.java ! src/share/classes/javax/sound/midi/MidiSystem.java ! src/share/classes/javax/swing/text/Utilities.java ! src/share/classes/sun/util/locale/LanguageTag.java ! src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java ! src/windows/classes/sun/awt/Win32FontManager.java ! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java - src/windows/native/java/net/NetworkInterface_win9x.c - test/java/nio/BufferPoolMXBean/Basic.java ! test/java/util/Locale/LocaleEnhanceTest.java - test/java/util/logging/PlatformLoggingMXBean/PlatformLoggingMXBeanTest.java ! test/javax/swing/JLabel/7004134/bug7004134.java Changeset: 096242335b89 Author: malenkov Date: 2011-04-18 15:58 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/096242335b89 7034614: The insets of TitledBorder vary, will be modified by another method, in JDK7 Reviewed-by: rupashka ! src/share/classes/javax/swing/border/TitledBorder.java + test/javax/swing/border/Test7034614.java Changeset: 745a56cb4c16 Author: lana Date: 2011-04-18 13:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/745a56cb4c16 Merge ! src/windows/classes/sun/awt/Win32FontManager.java ! src/windows/classes/sun/awt/Win32GraphicsEnvironment.java - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: c1e87a18e46a Author: mduigou Date: 2011-04-06 09:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c1e87a18e46a 6312706: Map entrySet iterators should return different entries on each call to next() Reviewed-by: mduigou, alanb Contributed-by: Neil Richards ! src/share/classes/java/util/EnumMap.java ! src/share/classes/java/util/IdentityHashMap.java + test/java/util/EnumMap/DistinctEntrySetElements.java + test/java/util/EnumMap/EntrySetIteratorRemoveInvalidatesEntry.java + test/java/util/EnumMap/SimpleSerialization.java + test/java/util/IdentityHashMap/DistinctEntrySetElements.java + test/java/util/IdentityHashMap/EntrySetIteratorRemoveInvalidatesEntry.java + test/java/util/concurrent/ConcurrentHashMap/DistinctEntrySetElements.java Changeset: ea45b4ed1758 Author: naoto Date: 2011-04-06 10:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ea45b4ed1758 7031546: test/java/util/ResourceBundle/Bug4168625Test.java fails on solaris10u9 sparc. Reviewed-by: okutsu ! test/java/util/ResourceBundle/Bug4168625Test.java Changeset: cd86fbf11e33 Author: alanb Date: 2011-04-06 20:51 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cd86fbf11e33 7034155: (ch) NullPointerException in sun.io.ch.IOUtil when OOM is thrown Reviewed-by: forax ! src/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/share/classes/sun/nio/ch/IOUtil.java Changeset: e279678f9f66 Author: alanb Date: 2011-04-06 20:54 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e279678f9f66 Merge Changeset: d5bc10b1aa2c Author: lancea Date: 2011-04-06 17:37 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d5bc10b1aa2c 7034471: Wrap registeredDrivers in DriverManager Reviewed-by: alanb, briangoetz ! src/share/classes/java/sql/DriverManager.java Changeset: 06c7ee973e05 Author: weijun Date: 2011-04-07 08:51 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/06c7ee973e05 7032354: no-addresses should not be used on acceptor side Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/KrbApReq.java ! test/sun/security/krb5/auto/KDC.java + test/sun/security/krb5/auto/NoAddresses.java Changeset: 244b27bb14f8 Author: ksrini Date: 2011-04-06 19:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/244b27bb14f8 7033954: (launcher) Launchers not built with mapfiles Reviewed-by: ohair ! make/com/sun/java/pack/Makefile + make/com/sun/java/pack/mapfile-vers-unpack200 ! make/common/Mapfile-vers.gmk ! make/common/Program.gmk ! make/java/main/java/Makefile ! make/java/main/java/mapfile-amd64 ! make/java/main/java/mapfile-i586 ! make/java/main/java/mapfile-sparc ! make/java/main/java/mapfile-sparcv9 Changeset: 31619dfa6a4a Author: dl Date: 2011-04-07 15:06 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/31619dfa6a4a 7034657: Update Creative Commons license URL in legal notices Reviewed-by: chegar ! src/share/classes/java/util/AbstractQueue.java ! src/share/classes/java/util/ArrayDeque.java ! src/share/classes/java/util/Deque.java ! src/share/classes/java/util/NavigableMap.java ! src/share/classes/java/util/NavigableSet.java ! src/share/classes/java/util/Queue.java ! src/share/classes/java/util/concurrent/AbstractExecutorService.java ! src/share/classes/java/util/concurrent/ArrayBlockingQueue.java ! src/share/classes/java/util/concurrent/BlockingDeque.java ! src/share/classes/java/util/concurrent/BlockingQueue.java ! src/share/classes/java/util/concurrent/BrokenBarrierException.java ! src/share/classes/java/util/concurrent/Callable.java ! src/share/classes/java/util/concurrent/CancellationException.java ! src/share/classes/java/util/concurrent/CompletionService.java ! src/share/classes/java/util/concurrent/ConcurrentHashMap.java ! src/share/classes/java/util/concurrent/ConcurrentLinkedDeque.java ! src/share/classes/java/util/concurrent/ConcurrentLinkedQueue.java ! src/share/classes/java/util/concurrent/ConcurrentMap.java ! src/share/classes/java/util/concurrent/ConcurrentNavigableMap.java ! src/share/classes/java/util/concurrent/ConcurrentSkipListMap.java ! src/share/classes/java/util/concurrent/ConcurrentSkipListSet.java ! src/share/classes/java/util/concurrent/CopyOnWriteArraySet.java ! src/share/classes/java/util/concurrent/CountDownLatch.java ! src/share/classes/java/util/concurrent/CyclicBarrier.java ! src/share/classes/java/util/concurrent/DelayQueue.java ! src/share/classes/java/util/concurrent/Delayed.java ! src/share/classes/java/util/concurrent/Exchanger.java ! src/share/classes/java/util/concurrent/ExecutionException.java ! src/share/classes/java/util/concurrent/Executor.java ! src/share/classes/java/util/concurrent/ExecutorCompletionService.java ! src/share/classes/java/util/concurrent/ExecutorService.java ! src/share/classes/java/util/concurrent/Executors.java ! src/share/classes/java/util/concurrent/ForkJoinPool.java ! src/share/classes/java/util/concurrent/ForkJoinTask.java ! src/share/classes/java/util/concurrent/ForkJoinWorkerThread.java ! src/share/classes/java/util/concurrent/Future.java ! src/share/classes/java/util/concurrent/FutureTask.java ! src/share/classes/java/util/concurrent/LinkedBlockingDeque.java ! src/share/classes/java/util/concurrent/LinkedBlockingQueue.java ! src/share/classes/java/util/concurrent/LinkedTransferQueue.java ! src/share/classes/java/util/concurrent/Phaser.java ! src/share/classes/java/util/concurrent/PriorityBlockingQueue.java ! src/share/classes/java/util/concurrent/RecursiveAction.java ! src/share/classes/java/util/concurrent/RecursiveTask.java ! src/share/classes/java/util/concurrent/RejectedExecutionException.java ! src/share/classes/java/util/concurrent/RejectedExecutionHandler.java ! src/share/classes/java/util/concurrent/RunnableFuture.java ! src/share/classes/java/util/concurrent/RunnableScheduledFuture.java ! src/share/classes/java/util/concurrent/ScheduledExecutorService.java ! src/share/classes/java/util/concurrent/ScheduledFuture.java ! src/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java ! src/share/classes/java/util/concurrent/Semaphore.java ! src/share/classes/java/util/concurrent/SynchronousQueue.java ! src/share/classes/java/util/concurrent/ThreadFactory.java ! src/share/classes/java/util/concurrent/ThreadLocalRandom.java ! src/share/classes/java/util/concurrent/ThreadPoolExecutor.java ! src/share/classes/java/util/concurrent/TimeUnit.java ! src/share/classes/java/util/concurrent/TimeoutException.java ! src/share/classes/java/util/concurrent/TransferQueue.java ! src/share/classes/java/util/concurrent/atomic/AtomicBoolean.java ! src/share/classes/java/util/concurrent/atomic/AtomicInteger.java ! src/share/classes/java/util/concurrent/atomic/AtomicIntegerArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java ! src/share/classes/java/util/concurrent/atomic/AtomicLong.java ! src/share/classes/java/util/concurrent/atomic/AtomicLongArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicLongFieldUpdater.java ! src/share/classes/java/util/concurrent/atomic/AtomicMarkableReference.java ! src/share/classes/java/util/concurrent/atomic/AtomicReference.java ! src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java ! src/share/classes/java/util/concurrent/atomic/AtomicStampedReference.java ! src/share/classes/java/util/concurrent/atomic/package-info.java ! src/share/classes/java/util/concurrent/locks/AbstractOwnableSynchronizer.java ! src/share/classes/java/util/concurrent/locks/AbstractQueuedLongSynchronizer.java ! src/share/classes/java/util/concurrent/locks/AbstractQueuedSynchronizer.java ! src/share/classes/java/util/concurrent/locks/Condition.java ! src/share/classes/java/util/concurrent/locks/Lock.java ! src/share/classes/java/util/concurrent/locks/LockSupport.java ! src/share/classes/java/util/concurrent/locks/ReadWriteLock.java ! src/share/classes/java/util/concurrent/locks/ReentrantLock.java ! src/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java ! src/share/classes/java/util/concurrent/locks/package-info.java ! src/share/classes/java/util/concurrent/package-info.java ! test/java/util/PriorityQueue/NoNulls.java ! test/java/util/PriorityQueue/PriorityQueueSort.java ! test/java/util/Random/DistinctSeeds.java ! test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java ! test/java/util/concurrent/BlockingQueue/LoopHelpers.java ! test/java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java ! test/java/util/concurrent/BlockingQueue/OfferDrainToLoops.java ! test/java/util/concurrent/BlockingQueue/PollMemoryLeak.java ! test/java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java ! test/java/util/concurrent/BlockingQueue/SingleProducerMultipleConsumerLoops.java ! test/java/util/concurrent/ConcurrentHashMap/LoopHelpers.java ! test/java/util/concurrent/ConcurrentHashMap/MapCheck.java ! test/java/util/concurrent/ConcurrentHashMap/MapLoops.java ! test/java/util/concurrent/ConcurrentQueues/ConcurrentQueueLoops.java ! test/java/util/concurrent/ConcurrentQueues/GCRetention.java ! test/java/util/concurrent/ConcurrentQueues/IteratorWeakConsistency.java ! test/java/util/concurrent/ConcurrentQueues/LoopHelpers.java ! test/java/util/concurrent/ConcurrentQueues/RemovePollRace.java ! test/java/util/concurrent/Exchanger/ExchangeLoops.java ! test/java/util/concurrent/Exchanger/LoopHelpers.java ! test/java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java ! test/java/util/concurrent/ExecutorCompletionService/LoopHelpers.java ! test/java/util/concurrent/FutureTask/CancelledFutureLoops.java ! test/java/util/concurrent/FutureTask/LoopHelpers.java ! test/java/util/concurrent/Phaser/Arrive.java ! test/java/util/concurrent/Phaser/Basic.java ! test/java/util/concurrent/Phaser/FickleRegister.java ! test/java/util/concurrent/Phaser/PhaseOverflow.java ! test/java/util/concurrent/Phaser/TieredArriveLoops.java ! test/java/util/concurrent/ScheduledThreadPoolExecutor/DelayOverflow.java ! test/java/util/concurrent/Semaphore/PermitOverflow.java ! test/java/util/concurrent/Semaphore/RacingReleases.java ! test/java/util/concurrent/forkjoin/Integrate.java ! test/java/util/concurrent/forkjoin/NQueensCS.java ! test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java ! test/java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java ! test/java/util/concurrent/locks/ReentrantLock/LoopHelpers.java ! test/java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java ! test/java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java ! test/java/util/concurrent/locks/ReentrantReadWriteLock/LoopHelpers.java ! test/java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java ! test/java/util/concurrent/locks/ReentrantReadWriteLock/RWMap.java Changeset: 5137806a3e34 Author: lancea Date: 2011-04-07 11:25 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5137806a3e34 7034656: Address lint warnings for DriverManager Reviewed-by: alanb, forax, ohair ! src/share/classes/java/sql/DriverManager.java Changeset: d8dfd1a0bd8d Author: ksrini Date: 2011-04-07 12:06 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d8dfd1a0bd8d 7029048: (launcher) fence the launcher against LD_LIBRARY_PATH Reviewed-by: mchung, ohair ! src/share/bin/jli_util.h ! src/solaris/bin/java_md.c ! test/tools/launcher/ExecutionEnvironment.java + test/tools/launcher/Test7029048.java ! test/tools/launcher/TestHelper.java Changeset: 587e968b03ee Author: ksrini Date: 2011-04-07 17:08 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/587e968b03ee 7034700: (unpack200) build fails with fastdebug builds Reviewed-by: ohair ! make/com/sun/java/pack/Makefile Changeset: 9c29dd06e138 Author: xuelei Date: 2011-04-08 02:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9c29dd06e138 6976117: SSLContext.getInstance("TLSv1.1") returns SSLEngines/SSLSockets without TLSv1.1 enabled Summary: Reorg the SSLContext implementation Reviewed-by: weijun ! src/share/classes/sun/security/ssl/CipherSuiteList.java - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java ! src/share/classes/sun/security/ssl/JsseJce.java ! src/share/classes/sun/security/ssl/ProtocolList.java ! src/share/classes/sun/security/ssl/SSLContextImpl.java ! src/share/classes/sun/security/ssl/SSLEngineImpl.java ! src/share/classes/sun/security/ssl/SSLServerSocketFactoryImpl.java ! src/share/classes/sun/security/ssl/SSLServerSocketImpl.java ! src/share/classes/sun/security/ssl/SSLSocketFactoryImpl.java ! src/share/classes/sun/security/ssl/SSLSocketImpl.java ! src/share/classes/sun/security/ssl/SunJSSE.java + test/sun/security/ssl/javax/net/ssl/SSLContextVersion.java Changeset: 8fbd15bd6149 Author: dl Date: 2011-04-08 10:33 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8fbd15bd6149 7035020: ForkJoinPool.invoke may deadlock if parallelism = 1 Reviewed-by: chegar ! src/share/classes/java/util/concurrent/ForkJoinPool.java Changeset: 4de90f390a48 Author: weijun Date: 2011-04-11 10:22 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4de90f390a48 7012160: read SF file in signed jar in streaming mode Reviewed-by: mullan ! src/share/classes/java/util/jar/JarFile.java ! src/share/classes/java/util/jar/JarInputStream.java ! src/share/classes/java/util/jar/JarVerifier.java ! src/share/classes/sun/security/pkcs/PKCS7.java ! src/share/classes/sun/security/pkcs/SignerInfo.java ! src/share/classes/sun/security/util/ManifestEntryVerifier.java + src/share/classes/sun/security/util/SignatureFileManifest.java ! src/share/classes/sun/security/util/SignatureFileVerifier.java Changeset: 50f77a77ffcf Author: weijun Date: 2011-04-11 10:22 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/50f77a77ffcf 7030180: AES 128/256 decrypt exception Reviewed-by: valeriep ! src/share/classes/sun/security/jgss/krb5/InitSecContextToken.java ! src/share/classes/sun/security/jgss/krb5/InitialToken.java + test/sun/security/krb5/KrbCredSubKey.java Changeset: c8f22fc4aa00 Author: sherman Date: 2011-04-10 23:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c8f22fc4aa00 7033561: Missing Unicode Script aliases Summary: added 6.0 aliases Reviewed-by: okutsu, peytoia, alanb ! src/share/classes/java/lang/Character.java ! test/java/lang/Character/CheckScript.java + test/java/lang/Character/PropertyValueAliases.txt Changeset: dc74b14a8753 Author: alanb Date: 2011-04-10 19:45 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dc74b14a8753 7034532: (fs) AssertionError when working directory is UNC Reviewed-by: forax, mduigou ! src/windows/classes/sun/nio/fs/WindowsFileSystem.java Changeset: 36e467e1e8b0 Author: alanb Date: 2011-04-11 12:52 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/36e467e1e8b0 Merge Changeset: a12f142410f2 Author: darcy Date: 2011-04-11 23:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a12f142410f2 7035834: Bad @param tags in LayerUI.java Reviewed-by: rupashka ! src/share/classes/javax/swing/plaf/LayerUI.java Changeset: 54446de9fbb0 Author: rbackman Date: 2011-04-12 09:04 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/54446de9fbb0 7026287: Asynchronous API sample Summary: Implement a chat server using the new asynchronous networking API Reviewed-by: hosterda, alanb ! make/mksample/nio/Makefile + make/mksample/nio/chatserver/Makefile + src/share/sample/nio/chatserver/ChatServer.java + src/share/sample/nio/chatserver/Client.java + src/share/sample/nio/chatserver/ClientReader.java + src/share/sample/nio/chatserver/DataReader.java + src/share/sample/nio/chatserver/MessageReader.java + src/share/sample/nio/chatserver/NameReader.java + src/share/sample/nio/chatserver/README.txt + test/sample/chatserver/ChatTest.java Changeset: 9128eace50f5 Author: rbackman Date: 2011-04-12 13:14 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9128eace50f5 7026304: Fork-Join sample Summary: Implement a merge-sort sample using Fork-Join Reviewed-by: hosterda, chegar, dholmes ! make/mksample/Makefile + make/mksample/forkjoin/Makefile + make/mksample/forkjoin/mergesort/Makefile + src/share/sample/forkjoin/mergesort/MergeDemo.java + src/share/sample/forkjoin/mergesort/MergeSort.java + test/sample/mergesort/MergeSortTest.java Changeset: 6e306c3aa17b Author: xuelei Date: 2011-04-12 08:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6e306c3aa17b 6882437: CertPath/X509CertPathDiscovery/Test fails on jdk7/pit/b62 Summary: Pass trust anchors to CRL certification path building, support CRLs without AKID extension. Reviewed-by: mullan ! src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java ! src/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java Changeset: 1bb95f6ac753 Author: lancea Date: 2011-04-12 12:25 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1bb95f6ac753 7035615: Address lint warnings for javax.sql.rowset & com.sun.rowset Reviewed-by: alanb, darcy ! src/share/classes/com/sun/rowset/CachedRowSetImpl.java ! src/share/classes/com/sun/rowset/JdbcRowSetImpl.java ! src/share/classes/com/sun/rowset/JoinRowSetImpl.java ! src/share/classes/javax/sql/rowset/BaseRowSet.java ! src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java ! src/share/classes/javax/sql/rowset/RowSetProvider.java Changeset: 0bae251b548b Author: lancea Date: 2011-04-12 14:32 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0bae251b548b 7007772: Address typos in javadoc for ResultSet Reviewed-by: ohair, smarks ! src/share/classes/java/sql/ResultSet.java Changeset: 59b2b9a34b3c Author: dcubed Date: 2011-04-12 13:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/59b2b9a34b3c 7035555: 4/4 attach/BasicTests.sh needs another tweak for Cygwin Summary: Test needs to properly detect missing AgentInitializationException. Clarify when exceptions are expected. Another Cygwin tweak. Reviewed-by: dsamersoff, ohair ! test/com/sun/tools/attach/ApplicationSetup.sh ! test/com/sun/tools/attach/BasicTests.java ! test/com/sun/tools/attach/BasicTests.sh Changeset: 5d132f3bfbbf Author: valeriep Date: 2011-04-12 15:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5d132f3bfbbf 7001094: Can't initialize SunPKCS11 more times than PKCS11 driver maxSessionCount Summary: Changed SessionManager to keep track of session count for each instance Reviewed-by: mullan ! src/share/classes/sun/security/pkcs11/SessionManager.java Changeset: a3de1543568b Author: valeriep Date: 2011-04-12 16:09 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a3de1543568b 6986789: Sun pkcs11 provider fails to parse path name containing "+" Summary: Modified to accept '+' as valid character. Reviewed-by: weijun ! src/share/classes/sun/security/pkcs11/Config.java ! test/sun/security/pkcs11/Provider/ConfigShortPath.java + test/sun/security/pkcs11/Provider/cspPlus.cfg Changeset: d9248245a88c Author: lancea Date: 2011-04-13 11:21 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d9248245a88c 7036251: Correct SQLPermission constructor javadocs for permission target names Reviewed-by: alanb ! src/share/classes/java/sql/SQLPermission.java Changeset: c0602036be5d Author: alanb Date: 2011-04-13 18:39 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c0602036be5d 6597112: referential integrity loophole during remote object export Reviewed-by: peterjones Contributed-by: Neil Richards ! src/share/classes/sun/rmi/transport/ObjectTable.java + test/java/rmi/server/UnicastRemoteObject/exportObject/GcDuringExport.java Changeset: 29e88b0c0894 Author: wetmore Date: 2011-04-13 11:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/29e88b0c0894 6914617: JCE framework code signing certificate is expiring at the end of 2010. Reviewed-by: valeriep, weijun, mullan ! make/javax/crypto/Defs-jce.gmk Changeset: 13af7c12c62a Author: wetmore Date: 2011-04-13 11:59 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/13af7c12c62a 7031343: Provide API changes to support future GCM AEAD ciphers Reviewed-by: valeriep, xuelei + src/share/classes/javax/crypto/AEADBadTagException.java ! src/share/classes/javax/crypto/Cipher.java ! src/share/classes/javax/crypto/CipherSpi.java + src/share/classes/javax/crypto/spec/GCMParameterSpec.java + test/javax/crypto/Cipher/GCMAPI.java + test/javax/crypto/spec/GCMParameterSpec/GCMParameterSpecTest.java Changeset: 2dc552b0ebac Author: jjh Date: 2011-04-13 12:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2dc552b0ebac 7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks 7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks 7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks 7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks 7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks 7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks 7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks 7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks 7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks Summary: Removed URLs and 'edition' references Reviewed-by: darcy ! make/docs/Makefile ! make/jpda/jdwp/jdwp.spec ! src/share/classes/com/sun/beans/TypeResolver.java ! src/share/classes/com/sun/java/util/jar/pack/package.html ! src/share/classes/com/sun/jdi/Accessible.java ! src/share/classes/com/sun/jdi/ArrayType.java ! src/share/classes/com/sun/jdi/ClassLoaderReference.java ! src/share/classes/com/sun/jdi/ClassNotLoadedException.java ! src/share/classes/com/sun/jdi/ClassType.java ! src/share/classes/com/sun/jdi/LocalVariable.java ! src/share/classes/com/sun/jdi/Method.java ! src/share/classes/com/sun/jdi/ObjectReference.java ! src/share/classes/com/sun/jdi/ReferenceType.java ! src/share/classes/com/sun/jdi/TypeComponent.java ! src/share/classes/java/awt/doc-files/AWTThreadIssues.html ! src/share/classes/java/io/Console.java ! src/share/classes/java/io/PrintStream.java ! src/share/classes/java/io/PrintWriter.java ! src/share/classes/java/lang/AssertionError.java ! src/share/classes/java/lang/Byte.java ! src/share/classes/java/lang/Class.java ! src/share/classes/java/lang/ClassLoader.java ! src/share/classes/java/lang/Double.java ! src/share/classes/java/lang/Enum.java ! src/share/classes/java/lang/Error.java ! src/share/classes/java/lang/Exception.java ! src/share/classes/java/lang/Float.java ! src/share/classes/java/lang/Integer.java ! src/share/classes/java/lang/Long.java ! src/share/classes/java/lang/Object.java ! src/share/classes/java/lang/Override.java ! src/share/classes/java/lang/Package.java ! src/share/classes/java/lang/RuntimeException.java ! src/share/classes/java/lang/SafeVarargs.java ! src/share/classes/java/lang/Short.java ! src/share/classes/java/lang/String.java ! src/share/classes/java/lang/Throwable.java ! src/share/classes/java/lang/annotation/Annotation.java ! src/share/classes/java/lang/instrument/ClassFileTransformer.java ! src/share/classes/java/lang/instrument/Instrumentation.java ! src/share/classes/java/lang/invoke/package-info.java ! src/share/classes/java/lang/reflect/Constructor.java ! src/share/classes/java/lang/reflect/Field.java ! src/share/classes/java/lang/reflect/GenericDeclaration.java ! src/share/classes/java/lang/reflect/Method.java ! src/share/classes/java/lang/reflect/Modifier.java ! src/share/classes/java/math/BigDecimal.java ! src/share/classes/java/math/BigInteger.java ! src/share/classes/java/security/SecureClassLoader.java ! src/share/classes/java/util/Formatter.java ! src/share/classes/java/util/Properties.java ! src/share/classes/java/util/PropertyResourceBundle.java ! src/share/classes/java/util/concurrent/atomic/package-info.java ! src/share/classes/java/util/concurrent/locks/Lock.java ! src/share/classes/java/util/concurrent/package-info.java ! src/share/classes/java/util/jar/Pack200.java ! src/share/classes/java/util/regex/Pattern.java ! src/share/classes/javax/management/remote/package.html ! src/share/classes/sun/misc/FpUtils.java Changeset: 65b6fe866a6f Author: wetmore Date: 2011-04-13 16:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/65b6fe866a6f 6626257: Update SWAN-specific webcaching to Oracle environment in the regression tests. Reviewed-by: valeriep ! test/sun/net/InetAddress/nameservice/dns/cname.sh Changeset: e9ae2178926a Author: weijun Date: 2011-04-14 12:40 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e9ae2178926a 7036157: TCP connection does not use kdc_timeout Reviewed-by: valeriep ! src/share/classes/sun/security/krb5/internal/NetClient.java Changeset: 2d89d0d1e0ff Author: darcy Date: 2011-04-14 21:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2d89d0d1e0ff 6430675: Math.round has surprising behavior for 0x1.fffffffffffffp-2 Reviewed-by: alanb ! src/share/classes/java/lang/Math.java ! src/share/classes/java/lang/StrictMath.java + test/java/lang/Math/RoundTests.java Changeset: 131ed7967996 Author: valeriep Date: 2011-04-15 15:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/131ed7967996 7035115: sun/security/pkcs11/Provider/ConfigShortPath.java compilation failed Summary: Updated the test to use reflection and skip when SunPKCS11 provider not present. Reviewed-by: weijun ! test/sun/security/pkcs11/Provider/ConfigShortPath.java Changeset: 54d9513f87a4 Author: mchung Date: 2011-04-15 23:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/54d9513f87a4 7032589: FileHandler leaking file descriptor of the file lock Reviewed-by: forax, dcubed ! src/share/classes/java/util/logging/FileHandler.java Changeset: 007b2535a7f5 Author: alanb Date: 2011-04-17 13:49 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/007b2535a7f5 7036582: Improve test coverage of java.math.BigDecimal Reviewed-by: darcy Contributed-by: sergey.kuksenko at oracle.com ! test/ProblemList.txt + 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: 718617820e53 Author: dwanvik Date: 2011-04-15 23:01 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/718617820e53 7036048: Bring the Java DB in JDK7 to the same level as JDK 6 (Java DB v10.6.2.1) Summary: Replace the existing Java DB bundles with newer ones, and move demo dir into JDK's demo dir as db Reviewed-by: ohair ! make/common/Release.gmk Changeset: 6939022fa093 Author: dwanvik Date: 2011-04-17 16:21 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6939022fa093 Merge Changeset: caebdaf362ee Author: lana Date: 2011-04-17 16:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/caebdaf362ee Merge ! make/com/sun/java/pack/Makefile ! make/common/Program.gmk ! make/docs/Makefile ! make/java/main/java/Makefile ! make/javax/crypto/Defs-jce.gmk ! src/share/classes/com/sun/beans/TypeResolver.java ! src/share/classes/java/awt/doc-files/AWTThreadIssues.html ! src/share/classes/java/io/Console.java ! src/share/classes/java/lang/Character.java ! src/share/classes/java/lang/Class.java ! src/share/classes/java/lang/Package.java ! src/share/classes/java/security/SecureClassLoader.java ! src/share/classes/java/util/EnumMap.java ! src/share/classes/java/util/IdentityHashMap.java ! src/share/classes/java/util/logging/FileHandler.java ! src/share/classes/java/util/regex/Pattern.java ! src/share/classes/javax/crypto/Cipher.java ! src/share/classes/javax/swing/plaf/LayerUI.java ! src/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/share/classes/sun/security/pkcs11/Config.java ! src/share/classes/sun/security/ssl/CipherSuiteList.java ! src/share/classes/sun/security/ssl/ProtocolList.java ! src/windows/classes/sun/nio/fs/WindowsFileSystem.java ! test/ProblemList.txt ! test/com/sun/tools/attach/ApplicationSetup.sh ! test/com/sun/tools/attach/BasicTests.sh ! test/sun/security/krb5/auto/KDC.java Changeset: bcc6e4c28684 Author: darcy Date: 2011-04-17 22:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bcc6e4c28684 7021568: Double.parseDouble() returns architecture dependent results Reviewed-by: alanb ! src/share/classes/sun/misc/FloatingDecimal.java ! src/share/classes/sun/misc/FormattedFloatingDecimal.java ! test/java/lang/Double/ParseDouble.java Changeset: 7e7bb0a97c40 Author: chegar Date: 2011-04-18 11:14 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7e7bb0a97c40 7030649: URL.equals() fails to compare jar urls Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/jar/Handler.java ! test/java/net/URL/Equals.java Changeset: 603e70836e74 Author: dl Date: 2011-04-18 15:50 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/603e70836e74 7037436: CR 7035020 fails to check shutdown Reviewed-by: chegar ! src/share/classes/java/util/concurrent/ForkJoinPool.java ! src/share/classes/java/util/concurrent/ForkJoinWorkerThread.java Changeset: 005c0c85b0de Author: dl Date: 2011-04-18 16:10 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/005c0c85b0de 7036559: ConcurrentHashMap footprint and contention improvements Reviewed-by: chegar ! src/share/classes/java/util/concurrent/ConcurrentHashMap.java Changeset: 9b3e6baad033 Author: lancea Date: 2011-04-18 12:07 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9b3e6baad033 7037085: Add hashCode() to Timestamp to address Findbugs warning Reviewed-by: darcy, alanb, emcmanus ! src/share/classes/java/sql/Timestamp.java Changeset: 98688c4be64b Author: sherman Date: 2011-04-18 10:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/98688c4be64b 7031076: Retained ZipFile InputStreams increase heap demand Summary: Allow unreferenced ZipFile InputStreams to be finalized, GC'd Reviewed-by: sherman, dholmes Contributed-by: neil.richards at ngmr.net ! src/share/classes/java/util/zip/ZipFile.java + test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java Changeset: 60a457a944c4 Author: mduigou Date: 2011-04-18 11:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/60a457a944c4 7035160: Disable broken test cases for test/java/lang/reflect/Generics/Probe.java Reviewed-by: alanb ! test/java/lang/reflect/Generics/Probe.java Changeset: b38b204748c1 Author: mduigou Date: 2011-04-18 11:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b38b204748c1 Merge Changeset: e2c6bd53428a Author: lana Date: 2011-04-18 14:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e2c6bd53428a Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java Changeset: ead0ccd4a34e Author: lana Date: 2011-04-25 15:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ead0ccd4a34e Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - src/share/native/sun/font/layout/Features.h - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: d2357f1ccea0 Author: kevinw Date: 2011-04-15 14:42 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d2357f1ccea0 6994753: Optional tracking of JRE usage. Reviewed-by: mchung, ksrini, ohair ! make/sun/Makefile + make/sun/usagetracker/Makefile ! src/share/javavm/export/jvm.h ! src/share/native/common/jdk_util.c Changeset: ec1d769f12d8 Author: ngthomas Date: 2011-04-19 16:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ec1d769f12d8 Merge ! make/sun/Makefile Changeset: 9315c733fb17 Author: ngthomas Date: 2011-04-26 15:48 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9315c733fb17 Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - src/share/native/sun/font/layout/Features.h - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: b715eb9f3d99 Author: ohair Date: 2011-04-21 18:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b715eb9f3d99 7038711: Fix CC_VER checks for compiler options, fix use of -Wno-clobber Reviewed-by: igor ! make/common/Defs-linux.gmk ! make/common/Defs-solaris.gmk ! make/common/shared/Compiler-gcc.gmk ! make/common/shared/Compiler-sun.gmk ! make/sun/jpeg/Makefile Changeset: e926550709c9 Author: ohair Date: 2011-04-22 10:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e926550709c9 6595663: Manifest on jars contain JavaBeans entries Reviewed-by: alanb, mchung ! make/common/Demo.gmk ! make/common/Release-embedded.gmk ! make/common/Release.gmk ! make/javax/crypto/Defs-jce.gmk ! make/tools/manifest.mf Changeset: 02473ee63688 Author: ogino Date: 2011-04-19 20:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/02473ee63688 7025070: man page localization broken in jdk7 Reviewed-by: mfang ! src/linux/doc/man/ja/appletviewer.1 ! src/linux/doc/man/ja/apt.1 ! src/linux/doc/man/ja/extcheck.1 ! src/linux/doc/man/ja/idlj.1 ! src/linux/doc/man/ja/jar.1 ! src/linux/doc/man/ja/jarsigner.1 ! src/linux/doc/man/ja/java.1 ! src/linux/doc/man/ja/javac.1 ! src/linux/doc/man/ja/javadoc.1 ! src/linux/doc/man/ja/javah.1 ! src/linux/doc/man/ja/javap.1 ! src/linux/doc/man/ja/javaws.1 ! src/linux/doc/man/ja/jconsole.1 ! src/linux/doc/man/ja/jdb.1 ! src/linux/doc/man/ja/jhat.1 ! src/linux/doc/man/ja/jinfo.1 ! src/linux/doc/man/ja/jmap.1 ! src/linux/doc/man/ja/jps.1 ! src/linux/doc/man/ja/jrunscript.1 ! src/linux/doc/man/ja/jsadebugd.1 ! src/linux/doc/man/ja/jstack.1 ! src/linux/doc/man/ja/jstat.1 ! src/linux/doc/man/ja/jstatd.1 + src/linux/doc/man/ja/jvisualvm.1 ! src/linux/doc/man/ja/keytool.1 ! src/linux/doc/man/ja/native2ascii.1 ! src/linux/doc/man/ja/orbd.1 ! src/linux/doc/man/ja/pack200.1 ! src/linux/doc/man/ja/policytool.1 ! src/linux/doc/man/ja/rmic.1 ! src/linux/doc/man/ja/rmid.1 ! src/linux/doc/man/ja/rmiregistry.1 ! src/linux/doc/man/ja/schemagen.1 ! src/linux/doc/man/ja/serialver.1 ! src/linux/doc/man/ja/servertool.1 ! src/linux/doc/man/ja/tnameserv.1 ! src/linux/doc/man/ja/unpack200.1 ! src/linux/doc/man/ja/wsgen.1 ! src/linux/doc/man/ja/wsimport.1 ! src/linux/doc/man/ja/xjc.1 ! src/solaris/doc/sun/man/man1/ja/appletviewer.1 ! src/solaris/doc/sun/man/man1/ja/apt.1 ! src/solaris/doc/sun/man/man1/ja/extcheck.1 ! src/solaris/doc/sun/man/man1/ja/idlj.1 ! src/solaris/doc/sun/man/man1/ja/jar.1 ! src/solaris/doc/sun/man/man1/ja/jarsigner.1 ! src/solaris/doc/sun/man/man1/ja/java.1 ! src/solaris/doc/sun/man/man1/ja/javac.1 ! src/solaris/doc/sun/man/man1/ja/javadoc.1 ! src/solaris/doc/sun/man/man1/ja/javah.1 ! src/solaris/doc/sun/man/man1/ja/javap.1 ! src/solaris/doc/sun/man/man1/ja/javaws.1 ! src/solaris/doc/sun/man/man1/ja/jconsole.1 ! src/solaris/doc/sun/man/man1/ja/jdb.1 ! src/solaris/doc/sun/man/man1/ja/jhat.1 ! src/solaris/doc/sun/man/man1/ja/jinfo.1 ! src/solaris/doc/sun/man/man1/ja/jmap.1 ! src/solaris/doc/sun/man/man1/ja/jps.1 ! src/solaris/doc/sun/man/man1/ja/jrunscript.1 ! src/solaris/doc/sun/man/man1/ja/jsadebugd.1 ! src/solaris/doc/sun/man/man1/ja/jstack.1 ! src/solaris/doc/sun/man/man1/ja/jstat.1 ! src/solaris/doc/sun/man/man1/ja/jstatd.1 + src/solaris/doc/sun/man/man1/ja/jvisualvm.1 ! src/solaris/doc/sun/man/man1/ja/keytool.1 ! src/solaris/doc/sun/man/man1/ja/native2ascii.1 ! src/solaris/doc/sun/man/man1/ja/orbd.1 ! src/solaris/doc/sun/man/man1/ja/pack200.1 ! src/solaris/doc/sun/man/man1/ja/policytool.1 ! src/solaris/doc/sun/man/man1/ja/rmic.1 ! src/solaris/doc/sun/man/man1/ja/rmid.1 ! src/solaris/doc/sun/man/man1/ja/rmiregistry.1 ! src/solaris/doc/sun/man/man1/ja/schemagen.1 ! src/solaris/doc/sun/man/man1/ja/serialver.1 ! src/solaris/doc/sun/man/man1/ja/servertool.1 ! src/solaris/doc/sun/man/man1/ja/tnameserv.1 ! src/solaris/doc/sun/man/man1/ja/unpack200.1 ! src/solaris/doc/sun/man/man1/ja/wsgen.1 ! src/solaris/doc/sun/man/man1/ja/wsimport.1 ! src/solaris/doc/sun/man/man1/ja/xjc.1 Changeset: 8bbe05da5656 Author: mfang Date: 2011-04-19 21:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8bbe05da5656 Merge Changeset: 5f5015099e73 Author: mfang Date: 2011-04-20 23:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5f5015099e73 Merge Changeset: 81dacdc9f634 Author: mfang Date: 2011-04-20 20:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/81dacdc9f634 7035843: [zh_CN, ja] JConsole mnemonic keys don't work Reviewed-by: ogino ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_ja.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_zh_CN.java Changeset: 832c57d6557b Author: mfang Date: 2011-04-21 09:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/832c57d6557b Merge Changeset: 158d9d54158f Author: mfang Date: 2011-04-25 16:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/158d9d54158f 7034259: [all] incorrect mnemonic keys in JCP automatic update advanced settings dialog. Reviewed-by: yhuang ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_de.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_es.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_fr.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_it.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_ja.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_ko.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_pt_BR.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_sv.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_zh_CN.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_zh_TW.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_de.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_es.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_fr.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ja.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_pt_BR.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.properties ! src/share/classes/sun/applet/resources/MsgAppletViewer_sv.java Changeset: 4530d9301ce0 Author: mfang Date: 2011-04-25 21:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4530d9301ce0 Merge Changeset: dc63c52bc61f Author: ohair Date: 2011-04-26 16:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dc63c52bc61f 6631003: Add hg tip changeset to build image Reviewed-by: mduigou ! .hgignore ! make/common/Release.gmk ! make/common/shared/Defs-utils.gmk ! make/common/shared/Defs.gmk Changeset: 55d40eea52bb Author: ohair Date: 2011-04-27 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/55d40eea52bb 7040096: Fix broken hg tip for 'make source' Reviewed-by: katleman ! make/common/shared/Defs.gmk Changeset: b871f4cc7d84 Author: cl Date: 2011-04-27 19:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b871f4cc7d84 Merge ! make/common/Release.gmk ! make/javax/crypto/Defs-jce.gmk ! make/sun/jpeg/Makefile Changeset: 1501eb97583c Author: schien Date: 2011-04-29 11:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1501eb97583c 6903609: Max memory of 896 may be too large for typical windows developer environment Reviewed-by: ksrini, katleman ! make/common/shared/Platform.gmk Changeset: 7acc942d7dcc Author: schien Date: 2011-04-28 17:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7acc942d7dcc Added tag jdk7-b140 for changeset 9315c733fb17 ! .hgtags Changeset: 33a139b2a85e Author: schien Date: 2011-05-02 09:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/33a139b2a85e Merge Changeset: d89cf1b45b88 Author: igor Date: 2011-05-01 09:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d89cf1b45b88 7040803: regression: bugster fail to start Reviewed-by: mullan, weijun, ngthomas ! src/share/classes/java/util/jar/JarFile.java ! src/share/classes/java/util/jar/JarInputStream.java ! src/share/classes/java/util/jar/JarVerifier.java ! src/share/classes/sun/security/pkcs/PKCS7.java ! src/share/classes/sun/security/pkcs/SignerInfo.java ! src/share/classes/sun/security/util/ManifestEntryVerifier.java - src/share/classes/sun/security/util/SignatureFileManifest.java ! src/share/classes/sun/security/util/SignatureFileVerifier.java ! test/java/util/jar/JarInputStream/ScanSignedJar.java ! test/java/util/jar/JarInputStream/TestIndexedJarWithBadSignature.java Changeset: 9caec666c577 Author: igor Date: 2011-05-03 15:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9caec666c577 Merge Changeset: 1c31b35e9408 Author: ogino Date: 2011-04-26 21:46 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1c31b35e9408 7036955: Japanese man pages in linux should be in utf-8 encoding Reviewed-by: ohair, mfang ! make/common/Defs-linux.gmk ! make/common/Release.gmk Changeset: 00e485efd9e0 Author: mfang Date: 2011-04-27 23:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/00e485efd9e0 6501385: ColorChooser demo - two elemets have same mnemonic in it locale, GTK L&F Reviewed-by: yhuang ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_de.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_es.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_fr.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_it.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_pt_BR.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_sv.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_sv.properties Changeset: 4fcbaf9fb837 Author: mfang Date: 2011-04-27 23:18 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4fcbaf9fb837 7038803: [CCJK] Incorrect mnemonic key (0) is displayed on cancel button on messagedialog of JOptionPane Reviewed-by: yhuang ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ja.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.properties Changeset: 4b197be687dc Author: mfang Date: 2011-04-27 23:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4b197be687dc Merge Changeset: fddcc29ed8f8 Author: mfang Date: 2011-04-28 14:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fddcc29ed8f8 Merge ! make/common/Defs-linux.gmk ! make/common/Release.gmk - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - src/share/native/sun/font/layout/Features.h - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: 5f0455522852 Author: mfang Date: 2011-04-28 20:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5f0455522852 7040228: [zh_TW] extra (C) on cancel button on File Chooser dialog Reviewed-by: yhuang ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_ja.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_ko.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_zh_CN.properties ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk_zh_TW.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ja.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.properties Changeset: a604668a7a64 Author: mfang Date: 2011-04-28 21:43 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a604668a7a64 7040257: [pt_BR,fr] Print dialog has duplicate mnemonic key. Reviewed-by: psun ! src/share/classes/sun/print/resources/serviceui_fr.properties ! src/share/classes/sun/print/resources/serviceui_pt_BR.properties Changeset: 5b7d35a6e1b3 Author: mfang Date: 2011-05-02 13:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5b7d35a6e1b3 Merge Changeset: 63eeefe118da Author: ohair Date: 2011-05-04 09:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/63eeefe118da Merge Changeset: 631c23c29000 Author: schien Date: 2011-05-05 14:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/631c23c29000 Added tag jdk7-b141 for changeset 63eeefe118da ! .hgtags Changeset: fbe3a3401786 Author: dholmes Date: 2011-05-04 22:16 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fbe3a3401786 7041284: arm/ppc Missing launcher mapfiles prevent build Summary: Disable use of launcher mapfiles when cross-compiling Reviewed-by: ohair, ksrini ! make/common/Program.gmk Changeset: 28c1be91a39f Author: cl Date: 2011-05-05 18:05 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/28c1be91a39f 7026163: gzip tar files Reviewed-by: katleman ! make/common/shared/Defs-utils.gmk Changeset: 8e9e28663c5d Author: andrew Date: 2011-05-06 01:55 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8e9e28663c5d 7042040: Remove disk space sanity check Summary: Remove outdated disk space checks using df Reviewed-by: ohair, omajid ! make/common/shared/Defs-versions.gmk ! make/common/shared/Sanity-Settings.gmk ! make/common/shared/Sanity.gmk Changeset: 87488f98e22d Author: andrew Date: 2011-05-06 02:27 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/87488f98e22d Merge Changeset: ce34293145b1 Author: cl Date: 2011-05-06 10:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ce34293145b1 Merge Changeset: d9571c986c73 Author: jgodinez Date: 2011-04-20 09:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d9571c986c73 6989724: font warnings in the build, native code Reviewed-by: bae, igor ! src/share/native/sun/awt/giflib/dgif_lib.c ! src/share/native/sun/font/fontscalerdefs.h ! src/share/native/sun/font/layout/HangulLayoutEngine.cpp ! src/share/native/sun/font/layout/MPreFixups.cpp ! src/solaris/native/sun/awt/fontpath.c ! src/windows/native/sun/font/fontpath.c Changeset: 0f98d7d98c9f Author: prr Date: 2011-04-22 12:59 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0f98d7d98c9f 7031011: fallbackfont testing failed on OEL 6. Reviewed-by: igor, jgodinez ! src/solaris/classes/sun/font/FcFontConfiguration.java Changeset: a07c9e09b4ca Author: bae Date: 2011-04-27 12:15 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a07c9e09b4ca 7037091: sun/java2d/pipe/Test7027667.java test is not executed Reviewed-by: prr ! test/sun/java2d/pipe/Test7027667.java Changeset: 24f474ad1703 Author: dlila Date: 2011-04-28 08:55 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/24f474ad1703 7036754: NaNs in stroked quadratics. Summary: Check for them and remove them. Reviewed-by: flar ! src/share/classes/sun/java2d/pisces/Stroker.java + test/sun/java2d/pisces/Test7036754.java Changeset: 34056b127c96 Author: flar Date: 2011-04-29 01:40 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/34056b127c96 7020955: No focus point adjustment for RadialGradientPaint Reviewed-by: prr ! src/share/classes/java/awt/RadialGradientPaint.java Changeset: 899d87ec43eb Author: flar Date: 2011-04-29 10:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/899d87ec43eb 6522514: Extending Arc2D.Double and serializing the object causes InvalidClassException Reviewed-by: prr ! src/share/classes/java/awt/geom/Arc2D.java Changeset: 678ce376be35 Author: lana Date: 2011-04-28 17:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/678ce376be35 Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: 3b536b18a6f0 Author: lana Date: 2011-04-29 11:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3b536b18a6f0 Merge Changeset: c5209316e1ab Author: flar Date: 2011-04-29 16:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c5209316e1ab 6982632: closed/java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java fails Reviewed-by: prr + test/java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java Changeset: 55ef0efa2b14 Author: flar Date: 2011-05-02 14:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/55ef0efa2b14 6563734: Path2D.Float and Path2D.Double should have final getPathIterator methods Reviewed-by: prr ! src/share/classes/java/awt/geom/Path2D.java Changeset: 499d216a751e Author: jgodinez Date: 2011-05-03 22:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/499d216a751e Merge Changeset: f805a139c57c Author: anthony Date: 2011-04-19 14:44 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f805a139c57c 7036669: Simplify revalidating component hierarchy with multiple validate roots Summary: Introduce Component.revalidate() method Reviewed-by: art, alexp ! src/share/classes/java/awt/Component.java ! src/share/classes/javax/swing/plaf/basic/BasicSplitPaneDivider.java + test/java/awt/Component/Revalidate/Revalidate.java Changeset: c292ec06529f Author: dav Date: 2011-04-19 18:52 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c292ec06529f 7036733: Regression : NullPointerException when scrolling horizontally on AWT List Reviewed-by: dcherepanov ! src/solaris/classes/sun/awt/X11/XListPeer.java + test/java/awt/List/ScrollOutside/ScrollOut.java Changeset: c9ddd8e0af54 Author: dav Date: 2011-04-25 21:08 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c9ddd8e0af54 7030632: Pasting HTML that was copied from MS Word results in IOException Reviewed-by: uta, denis ! src/windows/classes/sun/awt/windows/WDataTransferer.java Changeset: 673aa770a062 Author: denis Date: 2011-04-25 20:39 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/673aa770a062 6888182: Readable and permitted to delete files could not be transferred through Clipboard and DnD Reviewed-by: uta ! src/windows/native/sun/windows/awt_Clipboard.cpp ! src/windows/native/sun/windows/awt_DnDDS.cpp Changeset: 16f52939fa41 Author: denis Date: 2011-04-27 14:58 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/16f52939fa41 7020922: java.awt.Toolkit.getPropertyChangeListeners() should mention that it returns proxies Reviewed-by: malenkov ! src/share/classes/java/awt/Toolkit.java Changeset: 4c9ea1bf528a Author: denis Date: 2011-04-27 17:18 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4c9ea1bf528a 6998716: client vm crashes making browser fails to respond under some scenarios Reviewed-by: art, denis, uta ! src/windows/native/sun/windows/ObjectList.cpp ! src/windows/native/sun/windows/ObjectList.h ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_MenuItem.cpp ! src/windows/native/sun/windows/awt_Object.cpp ! src/windows/native/sun/windows/awt_Object.h ! src/windows/native/sun/windows/awt_Robot.cpp ! src/windows/native/sun/windows/awt_Toolkit.cpp ! src/windows/native/sun/windows/awt_TrayIcon.cpp ! src/windows/native/sun/windows/awtmsg.h Changeset: 03d764676479 Author: dcherepanov Date: 2011-04-28 13:26 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/03d764676479 7032830: GraphicsDevice.setFullScreenWindow() works strange for decorated windows on OEL. 7016382: GraphicsDevice.setFullScreenWindow() - spec clarification for exclusive mode for dec/undec Frames Reviewed-by: art ! src/share/classes/java/awt/GraphicsDevice.java Changeset: b1567059e4fe Author: dav Date: 2011-04-28 20:14 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b1567059e4fe 6956646: Test: MouseWheelEvent/InfiniteRecursion test receives more MouseWheelEvents than expected Reviewed-by: serb, dcherepanov ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_2.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_3.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_4.java Changeset: 5b001da8768e Author: dcherepanov Date: 2011-04-28 19:23 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5b001da8768e 6853146: Regression: on-the-spot input is broken in AWT Peered components Reviewed-by: art, ant, naoto ! src/windows/native/sun/windows/awt_TextComponent.cpp Changeset: 43be19b7c945 Author: dcherepanov Date: 2011-04-28 19:39 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/43be19b7c945 7034766: closed/java/awt/EmbeddedFrame/EmbeddedFrameGrabTest/EmbeddedFrameGrabTest.java failed on jdk7 b134 Reviewed-by: art, ant ! src/windows/native/sun/windows/awt_Frame.cpp Changeset: 6303d3a93040 Author: dcherepanov Date: 2011-04-29 16:02 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6303d3a93040 7034291: Regression : Preedit String on active client is committed into unexpected component Reviewed-by: art, naoto ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Frame.cpp ! src/windows/native/sun/windows/awt_Frame.h Changeset: 5d8445b532a7 Author: dcherepanov Date: 2011-04-29 16:16 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5d8445b532a7 7026055: Regression : Cannot use IME on JComboBox Japanese Reviewed-by: art, ant, naoto ! src/windows/native/sun/windows/awt_Component.cpp Changeset: 32488e6d3917 Author: lana Date: 2011-04-29 20:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/32488e6d3917 Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - src/share/native/sun/font/layout/Features.h - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: d400711b8cd2 Author: serb Date: 2011-05-03 15:19 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d400711b8cd2 7016528: Deadlock during mutual initialization of DataTransferer and DataTransferer$DataFlavorComparator Reviewed-by: dav, art, denis ! src/share/classes/sun/awt/datatransfer/DataTransferer.java Changeset: 4e6897c7779f Author: jgodinez Date: 2011-05-03 22:13 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4e6897c7779f Merge Changeset: 4719cf8f5ae5 Author: rupashka Date: 2011-04-19 10:11 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4719cf8f5ae5 7036025: java.security.AccessControlException when creating JFileChooser in signed applet Reviewed-by: malenkov ! src/share/classes/sun/swing/WindowsPlacesBar.java + test/javax/swing/JFileChooser/7036025/bug7036025.java + test/javax/swing/JFileChooser/7036025/security.policy Changeset: ea0aed4b75cd Author: amenkov Date: 2011-04-20 16:46 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ea0aed4b75cd 7030629: closed/sun/audio/AudioClipClose/AudioClipClose.java test fails just against jdk7 b134 7033899: SoundTestSuite: test050 fails on Ubuntu Linux Reviewed-by: bae ! src/solaris/native/com/sun/media/sound/PLATFORM_API_LinuxOS_ALSA_PCM.c Changeset: 6c94f33c36d5 Author: rupashka Date: 2011-04-21 14:29 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6c94f33c36d5 7021058: The Create folder button produces error in the Details mode (JFileChooser) Reviewed-by: malenkov ! src/share/classes/sun/swing/FilePane.java Changeset: 91a590306e02 Author: alexp Date: 2011-04-22 20:54 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/91a590306e02 7036871: Some JCK interactive JSplitPane tests that test continuous layout fail with Nimbus L&F Reviewed-by: rupashka ! src/share/classes/javax/swing/JSplitPane.java Changeset: 78890acd99e4 Author: peytoia Date: 2011-04-26 10:46 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/78890acd99e4 7039469: (tz) Support tzdata2011g Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/africa ! make/sun/javazic/tzdata/europe ! make/sun/javazic/tzdata/southamerica Changeset: 1be42326f1c2 Author: rupashka Date: 2011-04-27 13:43 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1be42326f1c2 7039403: Could not compile test/javax/swing/JLabel/6596966/bug6596966.java Reviewed-by: malenkov ! test/javax/swing/JLabel/6596966/bug6596966.java Changeset: 0896c9712cf0 Author: bagiras Date: 2011-04-27 15:26 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0896c9712cf0 7035209: 6u26 ea b01 - running an applet with old plugin crashes in awt.dll Reviewed-by: art, amenkov ! src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp Changeset: 1eaff0300541 Author: dav Date: 2011-04-27 17:46 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1eaff0300541 6888633: test/closed/javax/swing/JPopupMenu/4786415/bug4786415.java fails Reviewed-by: rupashka, alexp ! src/share/classes/javax/swing/JPopupMenu.java Changeset: 015a66da6fcc Author: dav Date: 2011-04-27 18:15 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/015a66da6fcc 6979551: closed/javax/swing/plaf/basic/BasicLabelUI/4798542/bug4798542.java fails Reviewed-by: art, yan, alexp ! src/share/classes/sun/awt/ExtendedKeyCodes.java + test/java/awt/keyboard/EqualKeyCode/EqualKeyCode.java Changeset: bb6594674ffe Author: lana Date: 2011-04-29 16:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bb6594674ffe Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - src/share/native/sun/font/layout/Features.h Changeset: fd428801c7ba Author: jgodinez Date: 2011-05-03 22:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fd428801c7ba Merge Changeset: e9760efb5110 Author: sherman Date: 2011-04-18 21:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e9760efb5110 7027900: (fs) glob syntax under-specified Summary: Clarify how leading dots are treated in nio2 glob Reviewed-by: alanb ! src/share/classes/java/nio/file/FileSystem.java Changeset: 495dcc360214 Author: mduigou Date: 2011-04-19 10:47 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/495dcc360214 7030579: Extra words in documentation of ListIterator may cause confusion Reviewed-by: dholmes, alanb ! src/share/classes/java/util/ListIterator.java Changeset: f8956ba13b37 Author: weijun Date: 2011-04-20 18:41 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f8956ba13b37 6894072: always refresh keytab Reviewed-by: valeriep ! src/share/classes/com/sun/security/auth/module/Krb5LoginModule.java + src/share/classes/javax/security/auth/kerberos/JavaxSecurityAuthKerberosAccessImpl.java ! src/share/classes/javax/security/auth/kerberos/KerberosKey.java + src/share/classes/javax/security/auth/kerberos/KeyTab.java + src/share/classes/sun/misc/JavaxSecurityAuthKerberosAccess.java ! src/share/classes/sun/misc/SharedSecrets.java ! src/share/classes/sun/security/jgss/krb5/Krb5AcceptCredential.java ! src/share/classes/sun/security/jgss/krb5/Krb5Util.java ! src/share/classes/sun/security/jgss/krb5/SubjectComber.java ! src/share/classes/sun/security/krb5/Config.java ! 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/ktab/KeyTab.java ! src/share/classes/sun/security/ssl/ServerHandshaker.java ! src/share/classes/sun/security/ssl/krb5/Krb5ProxyImpl.java ! src/windows/classes/sun/security/krb5/internal/tools/Kinit.java ! src/windows/classes/sun/security/krb5/internal/tools/Klist.java ! src/windows/classes/sun/security/krb5/internal/tools/Ktab.java ! test/sun/security/krb5/auto/Context.java + test/sun/security/krb5/auto/DynamicKeytab.java ! test/sun/security/krb5/auto/KDC.java + test/sun/security/krb5/auto/KeyTabCompat.java ! test/sun/security/krb5/auto/LoginModuleOptions.java ! test/sun/security/krb5/auto/SSL.java + test/sun/security/krb5/auto/TwoPrinces.java ! test/sun/security/krb5/ktab/KeyTabIndex.java Changeset: ed01737a2e9a Author: michaelm Date: 2011-04-20 12:03 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ed01737a2e9a 7034570: java.lang.Runtime.exec(String[] cmd, String[] env) can not work properly if SystemRoot not inherited Reviewed-by: dholmes, alanb ! src/share/classes/java/lang/ProcessBuilder.java ! src/share/classes/java/lang/Runtime.java ! src/windows/classes/java/lang/ProcessEnvironment.java ! test/java/lang/ProcessBuilder/Basic.java Changeset: 31aa8c35a4df Author: michaelm Date: 2011-04-20 12:05 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/31aa8c35a4df Merge Changeset: 00f3997e6aeb Author: smarks Date: 2011-04-20 16:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/00f3997e6aeb 6896297: (rmi) fix ConcurrentModificationException causing TCK failure Reviewed-by: alanb, dholmes, peterjones ! src/share/classes/sun/rmi/log/ReliableLog.java ! src/share/classes/sun/rmi/server/Activation.java Changeset: d5a7ed4e72a4 Author: mduigou Date: 2011-04-20 17:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d5a7ed4e72a4 6546713: link the word (optional) in exception specifications to the text which provides explanation and context. Reviewed-by: dholmes, dl ! src/share/classes/java/util/AbstractSet.java ! src/share/classes/java/util/ArrayList.java ! src/share/classes/java/util/Collection.java ! src/share/classes/java/util/Collections.java ! src/share/classes/java/util/Deque.java ! src/share/classes/java/util/List.java ! src/share/classes/java/util/Map.java ! src/share/classes/java/util/Set.java ! src/share/classes/java/util/Vector.java Changeset: 7fd31e477313 Author: dl Date: 2011-04-21 13:53 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7fd31e477313 7038501: Clarify meaning of "(optional)" in javadoc Reviewed-by: chegar ! src/share/classes/java/util/concurrent/BlockingDeque.java ! src/share/classes/java/util/concurrent/BlockingQueue.java ! src/share/classes/java/util/concurrent/ConcurrentMap.java ! src/share/classes/java/util/concurrent/CopyOnWriteArrayList.java Changeset: 7cd0403492b6 Author: vinnie Date: 2011-04-21 14:23 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7cd0403492b6 6888925: SunMSCAPI's Cipher can't use RSA public keys obtained from other sources. Reviewed-by: mullan ! src/windows/classes/sun/security/mscapi/RSACipher.java ! src/windows/classes/sun/security/mscapi/RSAPublicKey.java ! src/windows/classes/sun/security/mscapi/RSASignature.java + test/sun/security/mscapi/PublicKeyInterop.java + test/sun/security/mscapi/PublicKeyInterop.sh Changeset: 401ef8c488e0 Author: vinnie Date: 2011-04-21 14:25 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/401ef8c488e0 Merge Changeset: e9ec52c63a9f Author: dl Date: 2011-04-21 17:00 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e9ec52c63a9f 7038542: Small performace regression in ConcurrentHashMap on c1 since CR 703655 Reviewed-by: chegar ! src/share/classes/java/util/concurrent/ConcurrentHashMap.java Changeset: 69fead598c1b Author: vinnie Date: 2011-04-21 19:05 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/69fead598c1b 6732372: Some MSCAPI native methods not returning correct exceptions. Reviewed-by: mullan ! src/share/classes/sun/security/ec/ECKeyPairGenerator.java ! src/windows/classes/sun/security/mscapi/KeyStore.java ! src/windows/classes/sun/security/mscapi/RSACipher.java ! src/windows/classes/sun/security/mscapi/RSAKeyPairGenerator.java ! src/windows/classes/sun/security/mscapi/RSAPublicKey.java ! src/windows/classes/sun/security/mscapi/RSASignature.java ! src/windows/native/sun/security/mscapi/security.cpp Changeset: ca4f216c0bae Author: lana Date: 2011-04-21 11:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ca4f216c0bae Merge Changeset: 3669d17e7799 Author: lana Date: 2011-04-21 13:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3669d17e7799 Merge Changeset: 2c46bf0a462c Author: mullan Date: 2011-04-21 17:39 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2c46bf0a462c 7038175: Expired PKITS certificates causing CertPathBuilder and CertPathValidator regression test failures Reviewed-by: xuelei ! src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java ! src/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java Changeset: 34b2c8e0ac85 Author: mullan Date: 2011-04-21 17:44 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/34b2c8e0ac85 Merge Changeset: a5bb55c7cfde Author: darcy Date: 2011-04-21 15:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a5bb55c7cfde 6998871: Support making the Throwable.stackTrace field immutable Reviewed-by: dholmes, mchung, forax ! src/share/classes/java/lang/ArithmeticException.java ! src/share/classes/java/lang/Error.java ! src/share/classes/java/lang/Exception.java ! src/share/classes/java/lang/NullPointerException.java ! src/share/classes/java/lang/OutOfMemoryError.java ! src/share/classes/java/lang/RuntimeException.java ! src/share/classes/java/lang/Throwable.java ! src/share/native/java/lang/Throwable.c ! test/java/lang/Throwable/ChainedExceptions.java ! test/java/lang/Throwable/StackTraceSerialization.java ! test/java/lang/Throwable/SuppressedExceptions.java Changeset: 48f659a09ed4 Author: coffeys Date: 2011-04-22 11:03 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/48f659a09ed4 7025227: SSLSocketImpl does not close the TCP layer socket if a close notify cannot be sent to the peer 6932403: SSLSocketImpl state issue Reviewed-by: xuelei ! src/share/classes/sun/security/ssl/SSLSocketImpl.java Changeset: 7c1cdb9c81a6 Author: dl Date: 2011-04-22 16:33 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7c1cdb9c81a6 7038885: Improved bulk operation disclaimers for concurrent collections Reviewed-by: chegar ! src/share/classes/java/util/concurrent/ConcurrentLinkedDeque.java ! src/share/classes/java/util/concurrent/ConcurrentLinkedQueue.java ! src/share/classes/java/util/concurrent/ConcurrentSkipListMap.java ! src/share/classes/java/util/concurrent/ConcurrentSkipListSet.java ! src/share/classes/java/util/concurrent/LinkedTransferQueue.java Changeset: 7cd61feb3ec6 Author: kamg Date: 2011-04-15 10:17 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7cd61feb3ec6 6519228: JDWP Spec: need references at capability canRequestMonitorEvents for JDWP 1.6 Monitor* events Summary: Add descriptions in event type table Reviewed-by: ohair, jjh, acorn, dcubed ! make/jpda/jdwp/jdwp.spec Changeset: e56922f50d1c Author: kamg Date: 2011-04-22 04:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e56922f50d1c Merge Changeset: 9cc0045191ed Author: kamg Date: 2011-04-22 08:46 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9cc0045191ed Merge Changeset: d64f9348c7ca Author: vinnie Date: 2011-04-22 17:03 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d64f9348c7ca 6931562: Support SunMSCAPI Security Provider in Windows 64-bit releases of JVM Reviewed-by: mullan ! make/java/security/Makefile ! make/sun/security/Makefile ! test/sun/security/mscapi/AccessKeyStore.sh ! test/sun/security/mscapi/IsSunMSCAPIAvailable.sh ! test/sun/security/mscapi/KeyStoreCompatibilityMode.sh ! test/sun/security/mscapi/KeytoolChangeAlias.sh ! test/sun/security/mscapi/RSAEncryptDecrypt.sh Changeset: 8b36b1c4bb7f Author: nloodin Date: 2011-04-26 12:49 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8b36b1c4bb7f 7029383: Refresh of non-client demos Reviewed-by: mchung, ohair ! src/share/classes/com/sun/tools/example/debug/bdi/AccessWatchpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/AmbiguousMethodException.java ! src/share/classes/com/sun/tools/example/debug/bdi/BreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/ChildSession.java ! src/share/classes/com/sun/tools/example/debug/bdi/EvaluationException.java ! src/share/classes/com/sun/tools/example/debug/bdi/EventRequestSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/ExceptionSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/ExecutionManager.java ! src/share/classes/com/sun/tools/example/debug/bdi/FrameIndexOutOfBoundsException.java ! src/share/classes/com/sun/tools/example/debug/bdi/JDIEventSource.java ! src/share/classes/com/sun/tools/example/debug/bdi/LineBreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/LineNotFoundException.java ! src/share/classes/com/sun/tools/example/debug/bdi/MalformedMemberNameException.java ! src/share/classes/com/sun/tools/example/debug/bdi/MethodBreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.java ! src/share/classes/com/sun/tools/example/debug/bdi/ModificationWatchpointSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/NoSessionException.java ! src/share/classes/com/sun/tools/example/debug/bdi/NoThreadException.java ! src/share/classes/com/sun/tools/example/debug/bdi/PatternReferenceTypeSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/ReferenceTypeSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/Session.java ! src/share/classes/com/sun/tools/example/debug/bdi/SourceNameReferenceTypeSpec.java ! src/share/classes/com/sun/tools/example/debug/bdi/SpecErrorEvent.java ! src/share/classes/com/sun/tools/example/debug/bdi/SpecEvent.java ! src/share/classes/com/sun/tools/example/debug/bdi/ThreadGroupIterator.java ! src/share/classes/com/sun/tools/example/debug/bdi/ThreadInfo.java ! src/share/classes/com/sun/tools/example/debug/bdi/ThreadIterator.java ! src/share/classes/com/sun/tools/example/debug/bdi/Utils.java ! src/share/classes/com/sun/tools/example/debug/bdi/VMLaunchFailureException.java ! src/share/classes/com/sun/tools/example/debug/bdi/VMNotInterruptedException.java ! src/share/classes/com/sun/tools/example/debug/bdi/WatchpointSpec.java ! src/share/classes/com/sun/tools/example/debug/event/AbstractEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/AccessWatchpointEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/ClassPrepareEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/ClassUnloadEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/ExceptionEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/JDIAdapter.java ! src/share/classes/com/sun/tools/example/debug/event/LocatableEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/LocationTriggerEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/ModificationWatchpointEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/ThreadDeathEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/ThreadStartEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/VMDeathEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/VMDisconnectEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/VMStartEventSet.java ! src/share/classes/com/sun/tools/example/debug/event/WatchpointEventSet.java ! src/share/classes/com/sun/tools/example/debug/expr/ExpressionParser.java ! src/share/classes/com/sun/tools/example/debug/expr/ExpressionParserTokenManager.java ! src/share/classes/com/sun/tools/example/debug/expr/LValue.java ! src/share/classes/com/sun/tools/example/debug/expr/ParseException.java ! src/share/classes/com/sun/tools/example/debug/expr/Token.java ! src/share/classes/com/sun/tools/example/debug/expr/TokenMgrError.java ! src/share/classes/com/sun/tools/example/debug/gui/ApplicationTool.java ! src/share/classes/com/sun/tools/example/debug/gui/ClassTreeTool.java ! src/share/classes/com/sun/tools/example/debug/gui/CommandInterpreter.java ! src/share/classes/com/sun/tools/example/debug/gui/CommandTool.java ! src/share/classes/com/sun/tools/example/debug/gui/ContextManager.java ! src/share/classes/com/sun/tools/example/debug/gui/CurrentFrameChangedEvent.java ! src/share/classes/com/sun/tools/example/debug/gui/Environment.java ! src/share/classes/com/sun/tools/example/debug/gui/GUI.java ! src/share/classes/com/sun/tools/example/debug/gui/JDBFileFilter.java ! src/share/classes/com/sun/tools/example/debug/gui/JDBMenuBar.java ! src/share/classes/com/sun/tools/example/debug/gui/JDBToolBar.java ! src/share/classes/com/sun/tools/example/debug/gui/LaunchTool.java ! src/share/classes/com/sun/tools/example/debug/gui/MonitorListModel.java ! src/share/classes/com/sun/tools/example/debug/gui/MonitorTool.java ! src/share/classes/com/sun/tools/example/debug/gui/SearchPath.java ! src/share/classes/com/sun/tools/example/debug/gui/SingleLeafTreeSelectionModel.java ! src/share/classes/com/sun/tools/example/debug/gui/SourceManager.java ! src/share/classes/com/sun/tools/example/debug/gui/SourceModel.java ! src/share/classes/com/sun/tools/example/debug/gui/SourceTool.java ! src/share/classes/com/sun/tools/example/debug/gui/SourceTreeTool.java ! src/share/classes/com/sun/tools/example/debug/gui/SourcepathChangedEvent.java ! src/share/classes/com/sun/tools/example/debug/gui/StackTraceTool.java ! src/share/classes/com/sun/tools/example/debug/gui/ThreadTreeTool.java ! src/share/classes/com/sun/tools/example/debug/gui/TypeScript.java ! src/share/classes/com/sun/tools/example/debug/gui/TypeScriptOutputListener.java ! src/share/classes/com/sun/tools/example/debug/gui/TypeScriptWriter.java ! src/share/classes/com/sun/tools/example/debug/tty/AccessWatchpointSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/AmbiguousMethodException.java ! src/share/classes/com/sun/tools/example/debug/tty/BreakpointSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/Commands.java ! src/share/classes/com/sun/tools/example/debug/tty/Env.java ! src/share/classes/com/sun/tools/example/debug/tty/EventHandler.java ! src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/EventRequestSpecList.java ! src/share/classes/com/sun/tools/example/debug/tty/ExceptionSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/LineNotFoundException.java ! src/share/classes/com/sun/tools/example/debug/tty/MalformedMemberNameException.java ! src/share/classes/com/sun/tools/example/debug/tty/ModificationWatchpointSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/PatternReferenceTypeSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/ReferenceTypeSpec.java ! src/share/classes/com/sun/tools/example/debug/tty/SourceMapper.java ! src/share/classes/com/sun/tools/example/debug/tty/TTY.java ! src/share/classes/com/sun/tools/example/debug/tty/TTYResources.java ! src/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java ! src/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java ! src/share/classes/com/sun/tools/example/debug/tty/ThreadGroupIterator.java ! src/share/classes/com/sun/tools/example/debug/tty/ThreadInfo.java ! src/share/classes/com/sun/tools/example/debug/tty/ThreadIterator.java ! src/share/classes/com/sun/tools/example/debug/tty/VMConnection.java ! src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.java ! src/share/classes/com/sun/tools/example/debug/tty/WatchpointSpec.java ! src/share/classes/com/sun/tools/example/trace/EventThread.java ! src/share/classes/com/sun/tools/example/trace/StreamRedirectThread.java ! src/share/classes/com/sun/tools/example/trace/Trace.java ! src/share/demo/jvmti/minst/Minst.java ! src/share/demo/management/FullThreadDump/Deadlock.java ! src/share/demo/management/FullThreadDump/ThreadMonitor.java ! src/share/demo/management/JTop/JTop.java ! src/share/demo/management/JTop/JTopPlugin.java ! src/share/demo/management/MemoryMonitor/MemoryMonitor.java ! src/share/demo/management/VerboseGC/PrintGCStat.java ! src/share/demo/management/VerboseGC/VerboseGC.java ! src/share/demo/nio/zipfs/Demo.java ! src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/EditableAtEndDocument.java ! src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ScriptJConsolePlugin.java ! src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ScriptShellPanel.java Changeset: 147da2c8b749 Author: darcy Date: 2011-04-26 10:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/147da2c8b749 7039369: Limit range of strictfp in FloatingDecimal Summary: Additional reviews by sergey.kuksenko at oracle.com Reviewed-by: alanb ! src/share/classes/sun/misc/FloatingDecimal.java ! src/share/classes/sun/misc/FormattedFloatingDecimal.java ! test/java/lang/Double/ParseDouble.java Changeset: 0e0db3421e8f Author: weijun Date: 2011-04-27 17:11 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0e0db3421e8f 6950929: Failures on Solaris sparc 64bit sun/security/krb5/auto/BadKdc4.java (and linux?) Reviewed-by: xuelei ! test/sun/security/krb5/auto/BadKdc.java Changeset: a0dde3ff1dfd Author: alanb Date: 2011-04-27 13:46 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a0dde3ff1dfd 7039186: (ch) EPoll based asynchronous I/O implementation should be portable to linux-arm and linux-ppc Reviewed-by: dholmes ! make/java/nio/mapfile-linux ! src/solaris/classes/sun/nio/ch/EPoll.java ! src/solaris/classes/sun/nio/fs/LinuxWatchService.java ! src/solaris/native/sun/nio/ch/EPoll.c ! src/solaris/native/sun/nio/fs/LinuxWatchService.c Changeset: 5a4e2a734f1d Author: vinnie Date: 2011-04-27 20:21 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5a4e2a734f1d 6753664: Support SHA256 (and higher) in SunMSCAPI Reviewed-by: mullan ! src/windows/classes/sun/security/mscapi/RSASignature.java ! src/windows/classes/sun/security/mscapi/SunMSCAPI.java ! src/windows/native/sun/security/mscapi/security.cpp + test/sun/security/mscapi/SignUsingSHA2withRSA.java + test/sun/security/mscapi/SignUsingSHA2withRSA.sh Changeset: 7c109d060365 Author: vinnie Date: 2011-04-27 20:24 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7c109d060365 Merge Changeset: 5b05f8d1c0e5 Author: mduigou Date: 2011-04-26 14:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5b05f8d1c0e5 4884238: Adds java.nio.charset.StandardCharset to provide static final constants for the standard charsets. Reviewed-by: alanb, sherman, darcy ! src/share/classes/java/nio/charset/Charset.java + src/share/classes/java/nio/charset/StandardCharset.java ! src/share/classes/java/nio/file/Path.java ! src/share/classes/java/util/zip/ZipCoder.java ! src/share/classes/java/util/zip/ZipFile.java ! src/share/classes/java/util/zip/ZipInputStream.java ! src/share/classes/java/util/zip/ZipOutputStream.java ! src/share/classes/sun/awt/FontDescriptor.java + test/java/nio/charset/StandardCharset/Standard.java Changeset: bf2a12c1ffe3 Author: mduigou Date: 2011-04-27 14:18 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bf2a12c1ffe3 Merge Changeset: 76703c84b3a2 Author: weijun Date: 2011-04-28 20:34 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/76703c84b3a2 7037201: regression: invalid signed jar file not detected Reviewed-by: mullan ! src/share/classes/java/util/jar/JarFile.java ! src/share/classes/java/util/jar/JarInputStream.java ! src/share/classes/java/util/jar/JarVerifier.java ! src/share/classes/sun/security/pkcs/PKCS7.java ! src/share/classes/sun/security/pkcs/SignerInfo.java ! src/share/classes/sun/security/util/ManifestEntryVerifier.java - src/share/classes/sun/security/util/SignatureFileManifest.java ! src/share/classes/sun/security/util/SignatureFileVerifier.java ! test/java/util/jar/JarInputStream/ScanSignedJar.java ! test/java/util/jar/JarInputStream/TestIndexedJarWithBadSignature.java Changeset: 28caa191884a Author: lancea Date: 2011-04-28 09:46 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/28caa191884a 7038565: address Findbugs issue in BatchUpdateException Reviewed-by: alanb, forax ! src/share/classes/java/sql/BatchUpdateException.java Changeset: c3f5333e10e3 Author: mchung Date: 2011-04-28 08:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c3f5333e10e3 7037081: Remove com.sun.tracing from NON_CORE_PKGS Reviewed-by: ohair, jjg, jmasa ! make/docs/Makefile ! make/docs/NON_CORE_PKGS.gmk Changeset: 37722a0a1c65 Author: mduigou Date: 2011-04-28 10:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/37722a0a1c65 7040381: Add StandardCharset.java to FILES_java.gmk Reviewed-by: alanb ! make/java/nio/FILES_java.gmk Changeset: 7b7c1ffd0752 Author: mduigou Date: 2011-04-28 10:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7b7c1ffd0752 Merge - src/share/classes/sun/security/util/SignatureFileManifest.java Changeset: 67f411052dd6 Author: vinnie Date: 2011-04-29 00:21 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/67f411052dd6 6578658: Request for raw RSA (NONEwithRSA) Signature support in SunMSCAPI Reviewed-by: wetmore ! src/windows/classes/sun/security/mscapi/RSASignature.java ! src/windows/classes/sun/security/mscapi/SunMSCAPI.java ! src/windows/native/sun/security/mscapi/security.cpp + test/sun/security/mscapi/SignUsingNONEwithRSA.java + test/sun/security/mscapi/SignUsingNONEwithRSA.sh Changeset: 6c8ae62463a3 Author: darcy Date: 2011-04-28 17:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6c8ae62463a3 7038843: IIOP serialization fails with NullPointerException when serializing Throwable Reviewed-by: dholmes, mchung ! src/share/classes/java/lang/Throwable.java Changeset: 775b77e74bec Author: sherman Date: 2011-04-28 20:18 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/775b77e74bec 7037261: j.l.Character.isLowerCase/isUpperCase need to match the Unicode Standard Summary: updated j.l.c.lsLowerCase/isUpperCase Reviewed-by: okutsu ! make/java/java/FILES_java.gmk ! make/java/java/Makefile ! make/tools/GenerateCharacter/CharacterData00.java.template ! make/tools/GenerateCharacter/CharacterData01.java.template ! make/tools/GenerateCharacter/CharacterData02.java.template ! make/tools/GenerateCharacter/CharacterData0E.java.template ! make/tools/GenerateCharacter/CharacterDataLatin1.java.template + make/tools/UnicodeData/PropList.txt ! make/tools/src/build/tools/generatecharacter/GenerateCharacter.java + make/tools/src/build/tools/generatecharacter/PropList.java ! src/share/classes/java/lang/Character.java ! src/share/classes/java/lang/CharacterData.java + test/java/lang/Character/CheckProp.java + test/java/lang/Character/PropList.txt Changeset: 94d02b3c5ac4 Author: sherman Date: 2011-04-28 20:48 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/94d02b3c5ac4 7039066: j.u.rgex does not match TR18 RL1.4 Simple Word Boundaries and RL1.2 Properties Summary: updated the regex Unicode property support Reviewed-by: alanb ! src/share/classes/java/util/regex/Pattern.java + src/share/classes/java/util/regex/UnicodeProp.java + test/java/util/regex/POSIX_ASCII.java + test/java/util/regex/POSIX_Unicode.java ! test/java/util/regex/RegExTest.java Changeset: 0b1354ecf5a3 Author: lancea Date: 2011-04-29 09:04 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0b1354ecf5a3 7040150: Indexing Error in CachedRowSetImpl.removeCurrentRow Reviewed-by: smarks ! src/share/classes/com/sun/rowset/CachedRowSetImpl.java Changeset: 24ad188dc46c Author: mchung Date: 2011-04-29 08:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/24ad188dc46c 7039809: Remove @ConstructorProperties annotation from java.io.File class Reviewed-by: alanb, malenkov ! src/share/classes/java/io/File.java - test/java/beans/XMLEncoder/java_io_File.java Changeset: 40e2b3a25533 Author: valeriep Date: 2011-04-29 13:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/40e2b3a25533 7036252: sunpkcs11-solaris.cfg needs a review Summary: Updated the disabled mechanisms section since Solaris bug 6306708 has been fixed. Reviewed-by: mullan ! src/share/lib/security/sunpkcs11-solaris.cfg Changeset: 36dd30b5f85d Author: mduigou Date: 2011-04-29 14:09 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/36dd30b5f85d 7040572: Fix broken java/nio/charset/StandardCharset/Standard.java and add more tests. Reviewed-by: alanb ! test/java/nio/charset/StandardCharset/Standard.java Changeset: ca58907a51f7 Author: lana Date: 2011-04-30 16:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ca58907a51f7 Merge ! make/java/java/FILES_java.gmk - src/share/native/sun/font/layout/Features.h - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: aa7c361144bb Author: weijun Date: 2011-05-01 14:22 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/aa7c361144bb 7040916: DynamicKeyTab test fails on Windows Reviewed-by: xuelei ! src/share/classes/sun/security/krb5/internal/ktab/KeyTab.java ! test/sun/security/krb5/auto/DynamicKeytab.java Changeset: 4ac05b50f09c Author: sherman Date: 2011-05-01 11:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4ac05b50f09c 7036522: j.u.r.Pattern documentation errors Summary: updated the Perl related information Reviewed-by: alanb ! src/share/classes/java/util/regex/Pattern.java Changeset: 94551cf150a1 Author: michaelm Date: 2011-05-02 11:02 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/94551cf150a1 6569621: Problem with java/classes_net Reviewed-by: chegar ! src/share/classes/java/net/InetAddress.java ! src/share/classes/java/net/Socket.java ! src/share/classes/java/net/SocketPermission.java ! src/share/classes/sun/net/www/URLConnection.java ! src/share/classes/sun/net/www/http/HttpClient.java Changeset: aee65a629245 Author: michaelm Date: 2011-05-02 11:47 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/aee65a629245 Merge Changeset: c678b0cf5f92 Author: bpatel Date: 2011-05-02 10:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c678b0cf5f92 6553182: Need to modify javadoc doclet for GPL Reviewed-by: jjg ! make/docs/Makefile Changeset: fa17f2b9a6d5 Author: sherman Date: 2011-05-02 11:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fa17f2b9a6d5 7040220: java/char_encodin Optimize UTF-8 charset for String.getBytes()/new String(byte[]) Summary: implement sun.nio.cs.ArrayEn/Decoer in utf8 Reviewed-by: alanb ! src/share/classes/java/lang/StringCoding.java ! src/share/classes/java/util/zip/ZipCoder.java ! src/share/classes/sun/nio/cs/UTF_8.java + test/sun/nio/cs/StrCodingBenchmarkUTF8.java ! test/sun/nio/cs/TestStringCoding.java + test/sun/nio/cs/TestStringCodingUTF8.java ! test/sun/nio/cs/TestUTF8.java Changeset: bd1ffb167be0 Author: darcy Date: 2011-05-02 11:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bd1ffb167be0 7041136: Use Objects.equals in JDK platform classes Reviewed-by: alanb, mduigou ! src/share/classes/java/beans/DefaultPersistenceDelegate.java ! src/share/classes/java/beans/MetaData.java ! src/share/classes/java/net/HttpCookie.java Changeset: d08d77ad2d7b Author: weijun Date: 2011-05-03 02:48 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d08d77ad2d7b 7040151: SPNEGO GSS code does not parse tokens in accordance to RFC 2478 Reviewed-by: valeriep ! src/share/classes/sun/security/jgss/spnego/NegTokenInit.java ! src/share/classes/sun/security/jgss/spnego/NegTokenTarg.java ! src/share/classes/sun/security/jgss/spnego/SpNegoToken.java + test/sun/security/jgss/spnego/NegTokenTargFields.java + test/sun/security/krb5/auto/SPNEGO.java Changeset: 60b4039f60f9 Author: michaelm Date: 2011-05-02 20:11 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/60b4039f60f9 7041044: InetAddress.getByName(String,InetAddress) added in error Reviewed-by: alanb ! src/share/classes/java/net/InetAddress.java ! src/share/classes/java/net/Socket.java ! src/share/classes/java/net/SocketPermission.java ! src/share/classes/sun/net/www/URLConnection.java ! src/share/classes/sun/net/www/http/HttpClient.java Changeset: 36724da65fef Author: michaelm Date: 2011-05-02 20:17 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/36724da65fef Merge Changeset: 827b4bb47da7 Author: jgodinez Date: 2011-05-03 22:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/827b4bb47da7 Merge - test/java/beans/XMLEncoder/java_io_File.java Changeset: 10f6986c84ad Author: jgodinez Date: 2011-05-09 12:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/10f6986c84ad Merge - test/java/beans/XMLEncoder/java_io_File.java Changeset: 32f53b3cbc65 Author: asaha Date: 2011-05-04 11:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/32f53b3cbc65 7035172: Reintroduce LICENSE file in JDK/JRE bundle Reviewed-by: billyh ! make/common/Release.gmk Changeset: 1eb466ffaccf Author: cgruszka Date: 2011-05-10 17:56 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1eb466ffaccf Merge ! make/common/Release.gmk Changeset: 89d3aea9daf2 Author: vinnie Date: 2011-05-04 20:38 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/89d3aea9daf2 6738532: Error in Elliptic Curve NamedCurve determination. (related to PKCS11) Reviewed-by: valeriep ! src/share/classes/java/security/spec/EllipticCurve.java + test/java/security/spec/EllipticCurveMatch.java Changeset: ec6e2b13330f Author: ngthomas Date: 2011-05-10 15:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ec6e2b13330f Merge - test/java/beans/XMLEncoder/java_io_File.java Changeset: 25b72781083c Author: ngthomas Date: 2011-05-10 16:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/25b72781083c Merge Changeset: 28269923b747 Author: fparain Date: 2011-05-06 18:09 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/28269923b747 7028071: Add two attributes to the OperatingSystemMXBean to provide CPU Load info Summary: Add getProcessCpuLoad() and getSystemCpuLoad() to the OperatingSystemMXBean Reviewed-by: acorn, dholmes, mchung ! make/java/management/Makefile ! make/java/management/mapfile-vers ! src/share/classes/com/sun/management/OperatingSystemMXBean.java ! src/solaris/classes/com/sun/management/UnixOperatingSystem.java + src/solaris/native/com/sun/management/LinuxOperatingSystem.c + src/solaris/native/com/sun/management/SolarisOperatingSystem.c ! src/windows/classes/com/sun/management/OperatingSystem.java ! src/windows/native/com/sun/management/OperatingSystem_md.c + test/com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java + test/com/sun/management/OperatingSystemMXBean/GetSystemCpuLoad.java Changeset: 0f4a9ce78cf9 Author: trims Date: 2011-05-10 18:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0f4a9ce78cf9 Merge Changeset: 7d36a6a37251 Author: ohair Date: 2011-05-05 15:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7d36a6a37251 Merge Changeset: 7bb810bddddd Author: ohair Date: 2011-05-06 10:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7bb810bddddd Merge Changeset: 62e8094052eb Author: ohair Date: 2011-05-06 15:49 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/62e8094052eb Merge Changeset: 69a4dd09ba46 Author: ohair Date: 2011-05-10 17:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/69a4dd09ba46 Merge Changeset: a8e0571232c4 Author: mfang Date: 2011-05-06 10:07 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a8e0571232c4 7021691: Most log level words are not translated in java logging Reviewed-by: yhuang ! src/share/classes/sun/util/logging/resources/logging_de.properties ! src/share/classes/sun/util/logging/resources/logging_es.properties ! src/share/classes/sun/util/logging/resources/logging_fr.properties ! src/share/classes/sun/util/logging/resources/logging_it.properties ! src/share/classes/sun/util/logging/resources/logging_ja.properties ! src/share/classes/sun/util/logging/resources/logging_ko.properties ! src/share/classes/sun/util/logging/resources/logging_pt_BR.properties ! src/share/classes/sun/util/logging/resources/logging_sv.properties ! src/share/classes/sun/util/logging/resources/logging_zh_CN.properties ! src/share/classes/sun/util/logging/resources/logging_zh_TW.properties Changeset: 481e358abc98 Author: mfang Date: 2011-05-10 12:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/481e358abc98 7043580: integrate man page translation drop 2 into jdk7 Reviewed-by: yhuang ! src/linux/doc/man/ja/appletviewer.1 ! src/linux/doc/man/ja/apt.1 ! src/linux/doc/man/ja/extcheck.1 ! src/linux/doc/man/ja/idlj.1 ! src/linux/doc/man/ja/jar.1 ! src/linux/doc/man/ja/jarsigner.1 ! src/linux/doc/man/ja/java.1 ! src/linux/doc/man/ja/javac.1 ! src/linux/doc/man/ja/javadoc.1 ! src/linux/doc/man/ja/javah.1 ! src/linux/doc/man/ja/javap.1 ! src/linux/doc/man/ja/javaws.1 ! src/linux/doc/man/ja/jconsole.1 ! src/linux/doc/man/ja/jdb.1 ! src/linux/doc/man/ja/jhat.1 ! src/linux/doc/man/ja/jinfo.1 ! src/linux/doc/man/ja/jmap.1 ! src/linux/doc/man/ja/jps.1 ! src/linux/doc/man/ja/jrunscript.1 ! src/linux/doc/man/ja/jsadebugd.1 ! src/linux/doc/man/ja/jstack.1 ! src/linux/doc/man/ja/jstat.1 ! src/linux/doc/man/ja/jstatd.1 ! src/linux/doc/man/ja/jvisualvm.1 ! src/linux/doc/man/ja/keytool.1 ! src/linux/doc/man/ja/native2ascii.1 ! src/linux/doc/man/ja/orbd.1 ! src/linux/doc/man/ja/pack200.1 ! src/linux/doc/man/ja/policytool.1 ! src/linux/doc/man/ja/rmic.1 ! src/linux/doc/man/ja/rmid.1 ! src/linux/doc/man/ja/rmiregistry.1 ! src/linux/doc/man/ja/schemagen.1 ! src/linux/doc/man/ja/serialver.1 ! src/linux/doc/man/ja/servertool.1 ! src/linux/doc/man/ja/tnameserv.1 ! src/linux/doc/man/ja/unpack200.1 ! src/linux/doc/man/ja/wsgen.1 ! src/linux/doc/man/ja/wsimport.1 ! src/linux/doc/man/ja/xjc.1 ! src/solaris/doc/sun/man/man1/ja/appletviewer.1 ! src/solaris/doc/sun/man/man1/ja/apt.1 ! src/solaris/doc/sun/man/man1/ja/extcheck.1 ! src/solaris/doc/sun/man/man1/ja/idlj.1 ! src/solaris/doc/sun/man/man1/ja/jar.1 ! src/solaris/doc/sun/man/man1/ja/jarsigner.1 ! src/solaris/doc/sun/man/man1/ja/java.1 ! src/solaris/doc/sun/man/man1/ja/javac.1 ! src/solaris/doc/sun/man/man1/ja/javadoc.1 ! src/solaris/doc/sun/man/man1/ja/javah.1 ! src/solaris/doc/sun/man/man1/ja/javap.1 ! src/solaris/doc/sun/man/man1/ja/javaws.1 ! src/solaris/doc/sun/man/man1/ja/jconsole.1 ! src/solaris/doc/sun/man/man1/ja/jdb.1 ! src/solaris/doc/sun/man/man1/ja/jhat.1 ! src/solaris/doc/sun/man/man1/ja/jinfo.1 ! src/solaris/doc/sun/man/man1/ja/jmap.1 ! src/solaris/doc/sun/man/man1/ja/jps.1 ! src/solaris/doc/sun/man/man1/ja/jrunscript.1 ! src/solaris/doc/sun/man/man1/ja/jsadebugd.1 ! src/solaris/doc/sun/man/man1/ja/jstack.1 ! src/solaris/doc/sun/man/man1/ja/jstat.1 ! src/solaris/doc/sun/man/man1/ja/jstatd.1 ! src/solaris/doc/sun/man/man1/ja/jvisualvm.1 ! src/solaris/doc/sun/man/man1/ja/keytool.1 ! src/solaris/doc/sun/man/man1/ja/native2ascii.1 ! src/solaris/doc/sun/man/man1/ja/orbd.1 ! src/solaris/doc/sun/man/man1/ja/pack200.1 ! src/solaris/doc/sun/man/man1/ja/policytool.1 ! src/solaris/doc/sun/man/man1/ja/rmic.1 ! src/solaris/doc/sun/man/man1/ja/rmid.1 ! src/solaris/doc/sun/man/man1/ja/rmiregistry.1 ! src/solaris/doc/sun/man/man1/ja/schemagen.1 ! src/solaris/doc/sun/man/man1/ja/serialver.1 ! src/solaris/doc/sun/man/man1/ja/servertool.1 ! src/solaris/doc/sun/man/man1/ja/tnameserv.1 ! src/solaris/doc/sun/man/man1/ja/unpack200.1 ! src/solaris/doc/sun/man/man1/ja/wsgen.1 ! src/solaris/doc/sun/man/man1/ja/wsimport.1 ! src/solaris/doc/sun/man/man1/ja/xjc.1 Changeset: 357395bc17ab Author: mfang Date: 2011-05-10 13:08 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/357395bc17ab 7042323: [sv, de, es, it] Print dialog has duplicate mnemonic key Reviewed-by: yhuang ! src/share/classes/sun/print/resources/serviceui_de.properties ! src/share/classes/sun/print/resources/serviceui_es.properties ! src/share/classes/sun/print/resources/serviceui_it.properties ! src/share/classes/sun/print/resources/serviceui_sv.properties Changeset: 98292f06cd7e Author: mfang Date: 2011-05-10 14:47 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/98292f06cd7e 7028447: security-related resources Chinese translation errors Reviewed-by: weijun ! src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java ! src/share/classes/sun/security/util/Resources_zh_CN.java Changeset: 2dd7fb82f40e Author: mfang Date: 2011-05-10 14:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2dd7fb82f40e 7042475: [ja,zh_CN] extra mnemonic key in jconsole Reviewed-by: yhuang ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_ja.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_zh_CN.java Changeset: 3d39f994d6ff Author: mfang Date: 2011-05-10 14:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3d39f994d6ff 7038807: [CCJK] OK button on message dialog of JOptionpane is not translated Reviewed-by: yhuang ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_es.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.properties Changeset: be418afb1b2e Author: mfang Date: 2011-05-10 16:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/be418afb1b2e 7043548: message drop 3 translation integration Reviewed-by: yhuang ! src/share/classes/com/sun/accessibility/internal/resources/accessibility_es.properties ! src/share/classes/sun/awt/resources/awt_es.properties ! src/share/classes/sun/launcher/resources/launcher_de.properties ! src/share/classes/sun/launcher/resources/launcher_es.properties ! src/share/classes/sun/launcher/resources/launcher_fr.properties ! src/share/classes/sun/launcher/resources/launcher_it.properties ! src/share/classes/sun/launcher/resources/launcher_ja.properties ! src/share/classes/sun/launcher/resources/launcher_ko.properties ! src/share/classes/sun/launcher/resources/launcher_pt_BR.properties ! src/share/classes/sun/launcher/resources/launcher_sv.properties ! src/share/classes/sun/launcher/resources/launcher_zh_CN.properties ! src/share/classes/sun/launcher/resources/launcher_zh_TW.properties ! src/share/classes/sun/rmi/server/resources/rmid_es.properties ! src/share/classes/sun/security/tools/JarSignerResources_ja.java ! src/share/classes/sun/security/util/AuthResources_de.java ! src/share/classes/sun/security/util/AuthResources_es.java ! src/share/classes/sun/security/util/AuthResources_fr.java ! src/share/classes/sun/security/util/AuthResources_it.java ! src/share/classes/sun/security/util/AuthResources_ja.java ! src/share/classes/sun/security/util/AuthResources_ko.java ! src/share/classes/sun/security/util/AuthResources_pt_BR.java ! src/share/classes/sun/security/util/AuthResources_sv.java ! src/share/classes/sun/security/util/AuthResources_zh_CN.java ! src/share/classes/sun/security/util/AuthResources_zh_TW.java ! src/share/classes/sun/security/util/Resources_de.java ! src/share/classes/sun/security/util/Resources_es.java ! src/share/classes/sun/security/util/Resources_fr.java ! src/share/classes/sun/security/util/Resources_it.java ! src/share/classes/sun/security/util/Resources_ja.java ! src/share/classes/sun/security/util/Resources_ko.java ! src/share/classes/sun/security/util/Resources_pt_BR.java ! src/share/classes/sun/security/util/Resources_sv.java ! src/share/classes/sun/security/util/Resources_zh_TW.java Changeset: 78f2f50bca1f Author: mfang Date: 2011-05-10 19:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/78f2f50bca1f Merge Changeset: 42c22d5a2cd0 Author: bpatel Date: 2011-05-11 08:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/42c22d5a2cd0 7043684: Update man pages for JDK 7 tools Reviewed-by: skannan ! src/linux/doc/man/appletviewer.1 ! src/linux/doc/man/apt.1 ! src/linux/doc/man/extcheck.1 ! src/linux/doc/man/idlj.1 ! src/linux/doc/man/jar.1 ! src/linux/doc/man/jarsigner.1 ! src/linux/doc/man/java.1 ! src/linux/doc/man/javac.1 ! src/linux/doc/man/javadoc.1 ! src/linux/doc/man/javah.1 ! src/linux/doc/man/javap.1 ! src/linux/doc/man/javaws.1 ! src/linux/doc/man/jconsole.1 ! src/linux/doc/man/jdb.1 ! src/linux/doc/man/jhat.1 ! src/linux/doc/man/jinfo.1 ! src/linux/doc/man/jmap.1 ! src/linux/doc/man/jps.1 ! src/linux/doc/man/jrunscript.1 ! src/linux/doc/man/jsadebugd.1 ! src/linux/doc/man/jstack.1 ! src/linux/doc/man/jstat.1 ! src/linux/doc/man/jstatd.1 + src/linux/doc/man/jvisualvm.1 ! src/linux/doc/man/keytool.1 ! src/linux/doc/man/native2ascii.1 ! src/linux/doc/man/orbd.1 ! src/linux/doc/man/pack200.1 ! src/linux/doc/man/policytool.1 ! src/linux/doc/man/rmic.1 ! src/linux/doc/man/rmid.1 ! src/linux/doc/man/rmiregistry.1 ! src/linux/doc/man/schemagen.1 ! src/linux/doc/man/serialver.1 ! src/linux/doc/man/servertool.1 ! src/linux/doc/man/tnameserv.1 ! src/linux/doc/man/unpack200.1 ! src/linux/doc/man/wsgen.1 ! src/linux/doc/man/wsimport.1 ! src/linux/doc/man/xjc.1 ! src/solaris/doc/sun/man/man1/appletviewer.1 ! src/solaris/doc/sun/man/man1/apt.1 ! src/solaris/doc/sun/man/man1/extcheck.1 ! src/solaris/doc/sun/man/man1/idlj.1 ! src/solaris/doc/sun/man/man1/jar.1 ! src/solaris/doc/sun/man/man1/jarsigner.1 ! src/solaris/doc/sun/man/man1/java.1 ! src/solaris/doc/sun/man/man1/javac.1 ! src/solaris/doc/sun/man/man1/javadoc.1 ! src/solaris/doc/sun/man/man1/javah.1 ! src/solaris/doc/sun/man/man1/javap.1 ! src/solaris/doc/sun/man/man1/javaws.1 ! src/solaris/doc/sun/man/man1/jconsole.1 ! src/solaris/doc/sun/man/man1/jdb.1 ! src/solaris/doc/sun/man/man1/jhat.1 ! src/solaris/doc/sun/man/man1/jinfo.1 ! src/solaris/doc/sun/man/man1/jmap.1 ! src/solaris/doc/sun/man/man1/jps.1 ! src/solaris/doc/sun/man/man1/jrunscript.1 ! src/solaris/doc/sun/man/man1/jsadebugd.1 ! src/solaris/doc/sun/man/man1/jstack.1 ! src/solaris/doc/sun/man/man1/jstat.1 ! src/solaris/doc/sun/man/man1/jstatd.1 + src/solaris/doc/sun/man/man1/jvisualvm.1 ! src/solaris/doc/sun/man/man1/keytool.1 ! src/solaris/doc/sun/man/man1/native2ascii.1 ! src/solaris/doc/sun/man/man1/orbd.1 ! src/solaris/doc/sun/man/man1/pack200.1 ! src/solaris/doc/sun/man/man1/policytool.1 ! src/solaris/doc/sun/man/man1/rmic.1 ! src/solaris/doc/sun/man/man1/rmid.1 ! src/solaris/doc/sun/man/man1/rmiregistry.1 ! src/solaris/doc/sun/man/man1/schemagen.1 ! src/solaris/doc/sun/man/man1/serialver.1 ! src/solaris/doc/sun/man/man1/servertool.1 ! src/solaris/doc/sun/man/man1/tnameserv.1 ! src/solaris/doc/sun/man/man1/unpack200.1 ! src/solaris/doc/sun/man/man1/wsgen.1 ! src/solaris/doc/sun/man/man1/wsimport.1 ! src/solaris/doc/sun/man/man1/xjc.1 Changeset: 245d9754f487 Author: mfang Date: 2011-05-11 12:53 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/245d9754f487 7004603: L10n needed for newly added codes in LocaleNames Reviewed-by: naoto ! src/share/classes/sun/util/resources/LocaleNames_de.properties ! src/share/classes/sun/util/resources/LocaleNames_es.properties ! src/share/classes/sun/util/resources/LocaleNames_fr.properties ! src/share/classes/sun/util/resources/LocaleNames_it.properties ! src/share/classes/sun/util/resources/LocaleNames_ja.properties ! src/share/classes/sun/util/resources/LocaleNames_ko.properties ! src/share/classes/sun/util/resources/LocaleNames_sv.properties ! src/share/classes/sun/util/resources/LocaleNames_zh.properties ! src/share/classes/sun/util/resources/LocaleNames_zh_TW.properties Changeset: 2bbb5d2b419f Author: mfang Date: 2011-05-11 12:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2bbb5d2b419f Merge Changeset: caed82420c5d Author: mfang Date: 2011-05-11 14:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/caed82420c5d 7044019: LocaleEnhanceTest.java needs to be updated for 7004603 Reviewed-by: naoto ! test/java/util/Locale/LocaleEnhanceTest.java Changeset: 312612e89ece Author: schien Date: 2011-05-11 18:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/312612e89ece Merge Changeset: 2e430b88b949 Author: schien Date: 2011-05-12 17:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2e430b88b949 Added tag jdk7-b142 for changeset 312612e89ece ! .hgtags Changeset: edcd8209e0ff Author: jrose Date: 2011-05-12 19:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/edcd8209e0ff 7034977: JSR 292 MethodHandle.invokeGeneric should be renamed MethodHandle.invoke Summary: rename invokeGeneric to invoke Reviewed-by: never, twisti ! src/share/classes/java/lang/invoke/CallSite.java ! src/share/classes/java/lang/invoke/FromGeneric.java ! src/share/classes/java/lang/invoke/InvokeGeneric.java ! src/share/classes/java/lang/invoke/Invokers.java ! src/share/classes/java/lang/invoke/MethodHandle.java ! src/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/java/lang/invoke/MethodType.java ! src/share/classes/java/lang/invoke/MethodTypeForm.java ! src/share/classes/java/lang/invoke/package-info.java ! test/java/lang/invoke/InvokeGenericTest.java ! test/java/lang/invoke/JavaDocExamplesTest.java ! test/java/lang/invoke/MethodHandlesTest.java Changeset: 4732a76af216 Author: jrose Date: 2011-05-12 19:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4732a76af216 6939861: JVM should handle more conversion operations Summary: Integrate JDK code with JVM-supplied ricochet frames. Reviewed-by: never, twisti ! src/share/classes/java/lang/invoke/AdapterMethodHandle.java ! src/share/classes/java/lang/invoke/FilterGeneric.java ! src/share/classes/java/lang/invoke/FilterOneArgument.java ! src/share/classes/java/lang/invoke/FromGeneric.java ! src/share/classes/java/lang/invoke/Invokers.java ! src/share/classes/java/lang/invoke/MemberName.java ! src/share/classes/java/lang/invoke/MethodHandle.java ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/share/classes/java/lang/invoke/MethodHandleStatics.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/java/lang/invoke/MethodType.java ! src/share/classes/java/lang/invoke/MethodTypeForm.java ! src/share/classes/java/lang/invoke/SpreadGeneric.java ! src/share/classes/java/lang/invoke/ToGeneric.java ! src/share/classes/sun/invoke/util/ValueConversions.java ! src/share/classes/sun/invoke/util/VerifyType.java ! src/share/classes/sun/invoke/util/Wrapper.java + test/java/lang/invoke/6998541/Test6998541.java ! test/java/lang/invoke/InvokeGenericTest.java ! test/java/lang/invoke/MethodHandlesTest.java + test/java/lang/invoke/RicochetTest.java + test/sun/invoke/util/ValueConversionsTest.java Changeset: 21cd37d96098 Author: trims Date: 2011-05-17 14:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/21cd37d96098 Merge Changeset: 13fa9a0c628f Author: ohair Date: 2011-05-12 07:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/13fa9a0c628f 7043921: generate java-rmi.cgi on 64 bit platform Reviewed-by: omajid, katleman ! make/sun/rmi/rmi/Makefile Changeset: cb71f8f695f5 Author: ohair Date: 2011-05-12 07:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cb71f8f695f5 Merge Changeset: d2c99ad6ab55 Author: ohair Date: 2011-05-12 17:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d2c99ad6ab55 Merge Changeset: 1be8850c7005 Author: schien Date: 2011-05-18 16:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1be8850c7005 Merge Changeset: 85f53467c30c Author: flar Date: 2011-05-10 15:59 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/85f53467c30c 7040717: Test case for 6522514 was not included in bug fix Reviewed-by: prr + test/java/awt/geom/Arc2D/SerializationTest.java Changeset: f290441b0cb7 Author: flar Date: 2011-05-11 16:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f290441b0cb7 7043054: REGRESSION: JDK 7 b126 : Wrong userBounds in Paint.createContext() Reviewed-by: prr ! src/share/classes/sun/java2d/opengl/OGLRenderer.java ! src/share/classes/sun/java2d/pipe/AAShapePipe.java ! src/share/classes/sun/java2d/pipe/AlphaColorPipe.java ! src/share/classes/sun/java2d/pipe/BufferedRenderPipe.java ! src/share/classes/sun/java2d/pipe/LoopPipe.java ! src/share/classes/sun/java2d/pipe/ParallelogramPipe.java ! src/share/classes/sun/java2d/pipe/PixelToParallelogramConverter.java ! src/windows/classes/sun/java2d/d3d/D3DRenderer.java + test/java/awt/Paint/PgramUserBoundsTest.java Changeset: 43e54e60d261 Author: lana Date: 2011-05-14 11:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/43e54e60d261 Merge - src/share/classes/sun/security/util/SignatureFileManifest.java - test/java/beans/XMLEncoder/java_io_File.java Changeset: 59aadf63f2a7 Author: prr Date: 2011-05-16 15:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/59aadf63f2a7 7044682: Image I/O JPEG Metadata spec. should document that PhotoYCC ColorSpace interpretation is optional. Reviewed-by: flar ! src/share/classes/javax/imageio/metadata/doc-files/jpeg_metadata.html Changeset: 1b154e3ab359 Author: dav Date: 2011-05-04 14:46 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1b154e3ab359 7040577: Default implementation of Toolkit.loadSystemColors(int[]) and many others doesn't throw HE in hl env Reviewed-by: dcherepanov, denis ! src/share/classes/java/awt/Toolkit.java + test/java/awt/Toolkit/Headless/ExceptionContract/ExceptionContract.java Changeset: 997f464f8446 Author: bagiras Date: 2011-05-10 17:56 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/997f464f8446 7035053: java/awt/event/MouseWheelEvent/DisabledComponent/DisabledComponent.java fails against jdk7 b134 Reviewed-by: art, denis, ant, dcherepanov ! src/windows/native/sun/windows/awt_Choice.cpp ! src/windows/native/sun/windows/awt_Component.cpp ! src/windows/native/sun/windows/awt_Frame.cpp Changeset: dde5cc0d768c Author: anthony Date: 2011-05-10 18:28 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dde5cc0d768c 7041387: Introduce new boolean system property java.awt.smartInvalidate Summary: The behavior introduced with 6852592 is now enabled by the new system property only Reviewed-by: dcherepanov ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! test/java/awt/Component/Revalidate/Revalidate.java ! test/java/awt/Container/ValidateRoot/InvalidateMustRespectValidateRoots.java Changeset: bcc961336f77 Author: dav Date: 2011-05-11 15:00 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bcc961336f77 7042429: jdk 7 b140: crashes in awt.dll+0xb85fb] Java_sun_awt_Win32GraphicsEnvironment_isVistaOS+0xfdf Reviewed-by: bae, dcherepanov ! src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp ! src/windows/native/sun/windows/Devices.h Changeset: 4a5bb1f16cb4 Author: anthony Date: 2011-05-11 17:51 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4a5bb1f16cb4 7043455: Taking a screenshot may fail on X11 after 6903034 Summary: Backout 6903034 Reviewed-by: art, dcherepanov ! make/sun/xawt/mapfile-vers ! src/solaris/classes/sun/awt/X11/XRobotPeer.java ! src/solaris/native/sun/awt/awt_Robot.c Changeset: 84ad07aece8c Author: dav Date: 2011-05-13 19:49 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/84ad07aece8c 7042537: When press the 'Print' button,the NullPointerException is thrown and printdialog is not pop up. Reviewed-by: dcherepanov, art ! src/share/classes/java/awt/Toolkit.java Changeset: 368e1da134aa Author: lana Date: 2011-05-14 16:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/368e1da134aa Merge - src/share/classes/sun/security/util/SignatureFileManifest.java ! src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp - test/java/beans/XMLEncoder/java_io_File.java Changeset: 0b7f41c14605 Author: dcherepanov Date: 2011-05-16 18:40 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0b7f41c14605 7010721: Frame#setMaximizedbounds not working properly on dual screen environment Reviewed-by: art, anthony ! src/windows/classes/sun/awt/windows/WFramePeer.java Changeset: 52a9555dbbb1 Author: lana Date: 2011-05-16 18:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/52a9555dbbb1 Merge Changeset: ea6bd2607399 Author: rupashka Date: 2011-05-04 10:20 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ea6bd2607399 7031551: Generics: JComboBox Reviewed-by: alexp, malenkov ! src/share/classes/javax/swing/ComboBoxModel.java ! src/share/classes/javax/swing/DefaultComboBoxModel.java ! src/share/classes/javax/swing/JComboBox.java ! src/share/classes/javax/swing/MutableComboBoxModel.java ! src/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java ! src/share/classes/javax/swing/plaf/metal/MetalFileChooserUI.java + test/javax/swing/JComboBox/7031551/bug7031551.java Changeset: adbbfd2e661c Author: dav Date: 2011-05-06 16:01 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/adbbfd2e661c 6894541: javax/swing/JTable/6788484/bug6788484.java fails w/ compilation errors. Reviewed-by: alexp ! test/javax/swing/JTable/6788484/bug6788484.java Changeset: 523ad3855e03 Author: kizune Date: 2011-05-10 17:06 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/523ad3855e03 7034619: Scrollable Tabs don't appear with JDK7 Synth based LaF, different from Java 5/6 Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java Changeset: e122346f8e2d Author: peytoia Date: 2011-05-11 08:02 +0900 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e122346f8e2d 7041232: IllegalArgumentException in sun.text.bidi.BidiBase.setLine starting from JDK 7 b64 Reviewed-by: okutsu ! src/share/classes/sun/text/bidi/BidiBase.java + test/java/text/Bidi/Bug7041232.java Changeset: 5030057f8b4c Author: lana Date: 2011-05-14 15:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5030057f8b4c Merge - src/share/classes/sun/security/util/SignatureFileManifest.java - test/java/beans/XMLEncoder/java_io_File.java Changeset: 2a580e14e428 Author: lana Date: 2011-05-16 18:17 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2a580e14e428 Merge Changeset: 85cbf90d88b9 Author: darcy Date: 2011-05-06 17:06 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/85cbf90d88b9 7011326: Add informative example to @SafeVarargs type or language discussion Reviewed-by: mcimadamore, mduigou ! src/share/classes/java/lang/SafeVarargs.java Changeset: d93f6b6b986b Author: alanb Date: 2011-05-09 01:47 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d93f6b6b986b Merge Changeset: dfe56edc1a1d Author: alanb Date: 2011-05-09 01:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dfe56edc1a1d Merge Changeset: 31fbed875a6b Author: vinnie Date: 2011-05-09 15:58 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/31fbed875a6b 6987652: VM crashed in sun.security.mscapi.RSAKeyPairGenerator.generateRSAKeyPair(...) Reviewed-by: alanb ! src/windows/native/sun/security/mscapi/security.cpp Changeset: c6742d21853b Author: dl Date: 2011-05-09 16:36 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c6742d21853b 7042673: LockSupport.getBlocker(null) crashes Reviewed-by: chegar ! src/share/classes/java/util/concurrent/locks/LockSupport.java Changeset: 7c9780ea0c5a Author: mduigou Date: 2011-05-03 16:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7c9780ea0c5a 7041612: Rename StandardCharset to StandardCharsets Reviewed-by: alanb, mr, darcy ! make/java/nio/FILES_java.gmk ! src/share/classes/java/nio/charset/Charset.java - src/share/classes/java/nio/charset/StandardCharset.java + src/share/classes/java/nio/charset/StandardCharsets.java ! src/share/classes/java/nio/file/Path.java ! src/share/classes/java/util/zip/ZipCoder.java ! src/share/classes/java/util/zip/ZipFile.java ! src/share/classes/java/util/zip/ZipInputStream.java ! src/share/classes/java/util/zip/ZipOutputStream.java ! src/share/classes/sun/awt/FontDescriptor.java Changeset: 5dceeea3bb99 Author: mduigou Date: 2011-05-09 08:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5dceeea3bb99 Merge Changeset: bd8c10d1db87 Author: mduigou Date: 2011-05-09 09:13 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bd8c10d1db87 7043104: disable test java/lang/invoke/InvokeDynamicPrintArgs.java Reviewed-by: alanb ! test/ProblemList.txt Changeset: dc497a55daa1 Author: alanb Date: 2011-05-09 18:45 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dc497a55daa1 7042979: Rename StandardSocketOption and StandardWatchEventKind Reviewed-by: forax, chegar ! make/com/sun/nio/sctp/FILES_java.gmk ! make/java/nio/FILES_java.gmk ! src/share/classes/com/sun/nio/sctp/MessageInfo.java ! src/share/classes/com/sun/nio/sctp/SctpChannel.java ! src/share/classes/com/sun/nio/sctp/SctpMultiChannel.java ! src/share/classes/com/sun/nio/sctp/SctpServerChannel.java ! src/share/classes/com/sun/nio/sctp/SctpSocketOption.java - src/share/classes/com/sun/nio/sctp/SctpStandardSocketOption.java + src/share/classes/com/sun/nio/sctp/SctpStandardSocketOptions.java ! src/share/classes/java/net/SocketOption.java - src/share/classes/java/net/StandardSocketOption.java + src/share/classes/java/net/StandardSocketOptions.java ! src/share/classes/java/nio/channels/AsynchronousServerSocketChannel.java ! src/share/classes/java/nio/channels/AsynchronousSocketChannel.java ! src/share/classes/java/nio/channels/DatagramChannel.java ! src/share/classes/java/nio/channels/MulticastChannel.java ! src/share/classes/java/nio/channels/NetworkChannel.java ! src/share/classes/java/nio/channels/ServerSocketChannel.java ! src/share/classes/java/nio/channels/SocketChannel.java ! src/share/classes/java/nio/file/Path.java - src/share/classes/java/nio/file/StandardWatchEventKind.java + src/share/classes/java/nio/file/StandardWatchEventKinds.java ! src/share/classes/java/nio/file/WatchEvent.java ! src/share/classes/java/nio/file/WatchService.java ! src/share/classes/java/nio/file/Watchable.java ! src/share/classes/sun/nio/ch/AsynchronousServerSocketChannelImpl.java ! src/share/classes/sun/nio/ch/AsynchronousSocketChannelImpl.java ! src/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/share/classes/sun/nio/ch/DatagramSocketAdaptor.java ! src/share/classes/sun/nio/ch/ExtendedSocketOption.java ! src/share/classes/sun/nio/ch/Net.java ! src/share/classes/sun/nio/ch/ServerSocketAdaptor.java ! src/share/classes/sun/nio/ch/ServerSocketChannelImpl.java ! src/share/classes/sun/nio/ch/SocketAdaptor.java ! src/share/classes/sun/nio/ch/SocketChannelImpl.java ! src/share/classes/sun/nio/fs/AbstractPoller.java ! src/share/classes/sun/nio/fs/AbstractWatchKey.java ! src/share/classes/sun/nio/fs/PollingWatchService.java ! src/share/native/sun/nio/ch/genSocketOptionRegistry.c ! src/share/sample/nio/chatserver/ChatServer.java ! src/share/sample/nio/file/WatchDir.java ! src/share/sample/nio/multicast/Reader.java ! src/share/sample/nio/multicast/Sender.java ! src/solaris/classes/sun/nio/ch/SctpChannelImpl.java ! src/solaris/classes/sun/nio/ch/SctpMultiChannelImpl.java ! src/solaris/classes/sun/nio/ch/SctpNet.java ! src/solaris/classes/sun/nio/ch/SctpServerChannelImpl.java ! src/solaris/classes/sun/nio/fs/LinuxWatchService.java ! src/solaris/classes/sun/nio/fs/SolarisWatchService.java ! src/windows/classes/sun/nio/fs/WindowsWatchService.java ! test/com/sun/nio/sctp/SctpChannel/SocketOptionTests.java ! test/com/sun/nio/sctp/SctpMultiChannel/SocketOptionTests.java ! test/java/nio/channels/AsynchronousServerSocketChannel/Basic.java ! test/java/nio/channels/AsynchronousSocketChannel/Basic.java ! test/java/nio/channels/DatagramChannel/BasicMulticastTests.java ! test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java ! test/java/nio/channels/DatagramChannel/SocketOptionTests.java ! test/java/nio/channels/ServerSocketChannel/SocketOptionTests.java ! test/java/nio/channels/SocketChannel/Shutdown.java ! test/java/nio/channels/SocketChannel/SocketOptionTests.java ! test/java/nio/file/Files/CheckPermissions.java ! test/java/nio/file/WatchService/Basic.java ! test/java/nio/file/WatchService/FileTreeModifier.java ! test/java/nio/file/WatchService/LotsOfEvents.java ! test/java/nio/file/WatchService/SensitivityModifier.java ! test/java/nio/file/WatchService/WithSecurityManager.java Changeset: dec7961ff53f Author: alanb Date: 2011-05-09 18:53 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dec7961ff53f Merge Changeset: 05939afe3fc2 Author: naoto Date: 2011-05-09 13:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/05939afe3fc2 7041950: Fix copyright Reviewed-by: okutsu ! src/share/classes/sun/text/resources/BreakIteratorRules_th.java Changeset: 9f56fbc8b6be Author: weijun Date: 2011-05-10 07:00 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9f56fbc8b6be 7041635: GSSContextSpi.java copyright notice error Reviewed-by: valeriep ! src/share/classes/sun/security/jgss/spi/GSSContextSpi.java Changeset: f4d804b21217 Author: darcy Date: 2011-05-09 17:50 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f4d804b21217 7021645: Project Coin: Minor improvements to java.lang.Throwable Reviewed-by: mduigou ! src/share/classes/java/lang/Throwable.java Changeset: 6a3a41e0af88 Author: lancea Date: 2011-05-10 14:41 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6a3a41e0af88 7043443: address missed reason initialization in BatchUpdateException Reviewed-by: alanb ! src/share/classes/java/sql/BatchUpdateException.java Changeset: e941ff30d005 Author: mduigou Date: 2011-05-10 10:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e941ff30d005 7043513: Update test for StandardCharsets Reviewed-by: alanb - test/java/nio/charset/StandardCharset/Standard.java + test/java/nio/charset/StandardCharsets/Standard.java Changeset: 2147ec13c98e Author: mduigou Date: 2011-05-10 12:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2147ec13c98e Merge - test/java/nio/charset/StandardCharset/Standard.java Changeset: 11ef1f1bd7ca Author: alanb Date: 2011-05-11 14:57 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/11ef1f1bd7ca 7043425: (fc) ClosedByInterruptException thrown but interrupt status not set Reviewed-by: dholmes, chegar ! src/share/classes/sun/nio/ch/NativeThreadSet.java ! test/java/nio/channels/FileChannel/ClosedByInterrupt.java Changeset: f91c799f7bfb Author: alanb Date: 2011-05-11 15:00 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f91c799f7bfb 7043788: (fs) PosixFileAttributes.owner() or group() throws NPE if owner/group not in passwd/group database Reviewed-by: chegar ! src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c Changeset: 501ca93ea3ef Author: sherman Date: 2011-05-11 08:54 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/501ca93ea3ef 7043234: (fmt) java.util.Formatter links in javadoc to BigDecimal need to be fixed Summary: fixed the doc miss Reviewed-by: alanb, emcmanus ! src/share/classes/java/util/Formatter.java Changeset: 831017d8fbcf Author: kamg Date: 2011-05-11 20:18 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/831017d8fbcf 6659215: javax.management.timer.Timer frequently fails to start Summary: Copy array to avoid ConcurrentModificationException Reviewed-by: dcubed, alanb ! src/share/classes/javax/management/timer/Timer.java + test/javax/management/timer/StartTest.java Changeset: 99156e4f26ea Author: xuelei Date: 2011-05-11 20:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/99156e4f26ea 7043514: NPE in sun.security.ssl.JsseJce.isEcAvailable Reviewed-by: weijun, vinnie, wetmore ! src/share/classes/sun/security/ssl/JsseJce.java Changeset: d498e50ae62d Author: kamg Date: 2011-05-12 08:17 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d498e50ae62d 7044203: Missing @test tag in test/javax/management/timer/StartTest.java Summary: Add tag Reviewed-by: alanb ! test/javax/management/timer/StartTest.java Changeset: 8daf9e0c9a2e Author: fparain Date: 2011-05-13 13:20 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8daf9e0c9a2e 7031754: javax.management docs need to be updated to replace Java SE 6 occurrences Summary: Remove references to a specific version of the Java Platform Reviewed-by: mchung, kamg ! src/share/classes/javax/management/loading/package.html ! src/share/classes/javax/management/modelmbean/package.html ! src/share/classes/javax/management/monitor/package.html ! src/share/classes/javax/management/openmbean/package.html ! src/share/classes/javax/management/package.html ! src/share/classes/javax/management/relation/package.html ! src/share/classes/javax/management/remote/package.html Changeset: d830ec851cee Author: sherman Date: 2011-05-14 11:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d830ec851cee 7044849: Constructs for Unicode binary properties should be \p{IsXXX} not p{isXXX} Summary: fixed the doc typo Reviewed-by: alanb ! src/share/classes/java/util/regex/Pattern.java Changeset: 07b5cc7d4c84 Author: lana Date: 2011-05-14 11:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/07b5cc7d4c84 Merge Changeset: 55339371da15 Author: lana Date: 2011-05-14 14:55 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/55339371da15 Merge Changeset: cecfcb4dbcaa Author: chegar Date: 2011-05-16 13:10 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cecfcb4dbcaa 7042679: Phaser javadoc example does not compile Reviewed-by: dl ! src/share/classes/java/util/concurrent/Phaser.java Changeset: e0c3fd538f1f Author: fparain Date: 2011-05-16 17:28 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e0c3fd538f1f 7036199: Adding a notification to the implementation of GarbageCollectorMXBeans Summary: Add a JMX notification to GarbageCollectorMXBeans Reviewed-by: acorn, mchung ! make/java/management/mapfile-vers + src/share/classes/com/sun/management/GarbageCollectionNotificationInfo.java + src/share/classes/sun/management/GarbageCollectionNotifInfoCompositeData.java ! src/share/classes/sun/management/GarbageCollectorImpl.java ! src/share/classes/sun/management/GcInfoCompositeData.java ! src/share/classes/sun/management/MemoryManagerImpl.java ! src/share/classes/sun/management/VMManagement.java ! src/share/classes/sun/management/VMManagementImpl.java ! src/share/javavm/export/jmm.h ! src/share/native/sun/management/GarbageCollectorImpl.c ! src/share/native/sun/management/VMManagementImpl.c + test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java + test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java Changeset: 2ecb989b6fcc Author: dcubed Date: 2011-05-16 12:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/2ecb989b6fcc 6977677: 3/2 Deadlock on logging subsystem initialization Summary: Over synchronized Logger.getLogger() deadlocks with LogManager.via PlatformLogger Reviewed-by: dsamersoff, never, acorn, mchung ! src/share/classes/java/util/logging/Logger.java + test/java/util/logging/LoggingDeadlock4.java Changeset: b2db38eb3b13 Author: dcubed Date: 2011-05-16 12:57 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b2db38eb3b13 7016208: 4/3 null sometimes returned by java.util.logging.Logger.getLogger(String name) in -server -Xcomp Summary: Logger can be GC'ed between LogManager.addLogger() and LogManager.getLogger() Reviewed-by: dsamersoff, never, acorn, mchung ! src/share/classes/java/util/logging/LogManager.java Changeset: 9861df231e9e Author: dcubed Date: 2011-05-16 12:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9861df231e9e 7041595: 4/4 add lost test for 6487638 Summary: Add missing LoggingDeadlock3.java and LoggingDeadlock3.props Reviewed-by: dsamersoff, never, acorn, mchung + test/java/util/logging/LoggingDeadlock3.java + test/java/util/logging/LoggingDeadlock3.props Changeset: 5b38ed5f5eb4 Author: lana Date: 2011-05-16 18:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5b38ed5f5eb4 Merge - src/share/classes/com/sun/nio/sctp/SctpStandardSocketOption.java - src/share/classes/java/net/StandardSocketOption.java - src/share/classes/java/nio/charset/StandardCharset.java - src/share/classes/java/nio/file/StandardWatchEventKind.java - test/java/nio/charset/StandardCharset/Standard.java Changeset: 65dd04c9ee64 Author: darcy Date: 2011-05-18 16:49 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/65dd04c9ee64 7045138: OutOfMemoryError thrown without stack trace in jdk7-b142 Reviewed-by: dholmes, mchung ! src/share/classes/java/lang/Throwable.java Changeset: 366fcac7ee01 Author: lana Date: 2011-05-18 17:18 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/366fcac7ee01 Merge Changeset: efbf75c24b0f Author: lana Date: 2011-05-18 18:18 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/efbf75c24b0f Merge - src/share/classes/com/sun/nio/sctp/SctpStandardSocketOption.java - src/share/classes/java/net/StandardSocketOption.java - src/share/classes/java/nio/charset/StandardCharset.java - src/share/classes/java/nio/file/StandardWatchEventKind.java - test/java/nio/charset/StandardCharset/Standard.java Changeset: 5f69702cf570 Author: schien Date: 2011-05-20 16:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5f69702cf570 Added tag jdk7-b143 for changeset efbf75c24b0f ! .hgtags Changeset: 20bf5b0970e9 Author: jrose Date: 2011-05-17 19:48 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/20bf5b0970e9 7032850: MethodHandle.invokeGeneric throws unspecified RuntimeException if parameterized method is called Summary: Implement invocation corner cases, including correct type conversions and interface type enforcement. Reviewed-by: never ! src/share/classes/java/lang/invoke/AdapterMethodHandle.java ! src/share/classes/java/lang/invoke/InvokeGeneric.java ! src/share/classes/java/lang/invoke/MethodHandle.java ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/sun/invoke/util/Wrapper.java ! test/java/lang/invoke/6991596/Test6991596.java ! test/java/lang/invoke/InvokeGenericTest.java Changeset: 9828d98bcf18 Author: jrose Date: 2011-05-17 19:48 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9828d98bcf18 7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one Summary: point-fixes for 7038847, 7038860, 7042656, 7042829, 7041853, and several other reports Reviewed-by: never, kvn ! src/share/classes/java/lang/invoke/AdapterMethodHandle.java ! src/share/classes/java/lang/invoke/BoundMethodHandle.java ! src/share/classes/java/lang/invoke/FilterGeneric.java ! src/share/classes/java/lang/invoke/FilterOneArgument.java ! src/share/classes/java/lang/invoke/FromGeneric.java ! src/share/classes/java/lang/invoke/MethodHandle.java ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandleStatics.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/java/lang/invoke/MethodType.java ! src/share/classes/java/lang/invoke/MethodTypeForm.java ! src/share/classes/java/lang/invoke/SpreadGeneric.java ! src/share/classes/java/lang/invoke/ToGeneric.java ! test/java/lang/invoke/MethodHandlesTest.java Changeset: be4b9e596352 Author: trims Date: 2011-05-20 05:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/be4b9e596352 Merge Changeset: 127560d6f6e6 Author: trims Date: 2011-05-24 14:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/127560d6f6e6 Merge Changeset: 3f760b347d3b Author: mr Date: 2011-05-24 15:28 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3f760b347d3b 7048009: Update .jcheck/conf files for JDK 8 Reviewed-by: jjh ! .jcheck/conf Changeset: 23bdcede4e39 Author: katleman Date: 2011-05-25 13:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/23bdcede4e39 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles Reviewed-by: ohair, trims ! src/linux/doc/man/ja/keytool.1 ! src/linux/doc/man/keytool.1 ! src/share/classes/java/io/SerialCallbackContext.java ! src/share/classes/sun/io/ByteToCharCp833.java ! src/share/classes/sun/io/CharToByteCp833.java ! src/share/classes/sun/misc/FpUtils.java ! src/share/classes/sun/security/provider/certpath/URICertStore.java ! src/solaris/doc/sun/man/man1/ja/keytool.1 ! src/solaris/doc/sun/man/man1/keytool.1 ! test/com/sun/net/httpserver/Test10.java ! test/java/awt/List/ScrollOutside/ScrollOut.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_2.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_3.java ! test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_4.java ! test/java/awt/image/IncorrectSampleMaskTest.java ! test/java/lang/invoke/MethodTypeTest.java ! test/java/rmi/server/UnicastRemoteObject/exportObject/GcDuringExport.java ! test/java/util/EnumMap/DistinctEntrySetElements.java ! test/java/util/EnumMap/EntrySetIteratorRemoveInvalidatesEntry.java ! test/java/util/EnumMap/SimpleSerialization.java ! test/java/util/EnumSet/LargeEnumIteratorRemoveResilience.java ! test/java/util/EnumSet/SmallEnumIteratorRemoveResilience.java ! test/java/util/Hashtable/SerializationDeadlock.java ! test/java/util/Hashtable/SimpleSerialization.java ! test/java/util/IdentityHashMap/DistinctEntrySetElements.java ! test/java/util/IdentityHashMap/EntrySetIteratorRemoveInvalidatesEntry.java ! test/java/util/Vector/SerializationDeadlock.java ! test/java/util/Vector/SimpleSerialization.java ! test/java/util/concurrent/ConcurrentHashMap/DistinctEntrySetElements.java ! test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java ! test/sun/net/InetAddress/nameservice/chaining/META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor ! test/tools/launcher/TestHelper.java ! test/tools/pack200/CommandLineTests.java ! test/tools/pack200/Pack200Test.java ! test/tools/pack200/Utils.java Changeset: c344779fab58 Author: schien Date: 2011-05-26 20:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c344779fab58 Added tag jdk7-b144 for changeset 23bdcede4e39 ! .hgtags Changeset: f09930d526ba Author: jrose Date: 2011-05-26 17:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f09930d526ba 7032323: code changes for JSR 292 EG adjustments to API, through Public Review Summary: API code changes and javadoc changes following JSR 292 Public Review comments, through PFD Reviewed-by: never ! src/share/classes/java/lang/BootstrapMethodError.java ! src/share/classes/java/lang/ClassValue.java ! src/share/classes/java/lang/invoke/AdapterMethodHandle.java ! src/share/classes/java/lang/invoke/BoundMethodHandle.java ! src/share/classes/java/lang/invoke/CallSite.java ! src/share/classes/java/lang/invoke/ConstantCallSite.java ! src/share/classes/java/lang/invoke/Invokers.java ! src/share/classes/java/lang/invoke/MemberName.java ! src/share/classes/java/lang/invoke/MethodHandle.java ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandleNatives.java + src/share/classes/java/lang/invoke/MethodHandleProxies.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/java/lang/invoke/MethodType.java ! src/share/classes/java/lang/invoke/MutableCallSite.java ! src/share/classes/java/lang/invoke/SwitchPoint.java ! src/share/classes/java/lang/invoke/package-info.java ! src/share/classes/sun/invoke/util/ValueConversions.java ! src/share/classes/sun/invoke/util/VerifyAccess.java ! src/share/classes/sun/invoke/util/Wrapper.java ! test/java/lang/invoke/6998541/Test6998541.java ! test/java/lang/invoke/InvokeDynamicPrintArgs.java ! test/java/lang/invoke/InvokeGenericTest.java ! test/java/lang/invoke/JavaDocExamplesTest.java ! test/java/lang/invoke/MethodHandlesTest.java ! test/java/lang/invoke/indify/Indify.java Changeset: 81f957f86ba5 Author: jcoomes Date: 2011-05-27 19:03 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/81f957f86ba5 Merge Changeset: bc97b962330e Author: mfang Date: 2011-05-26 20:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bc97b962330e 7045184: GTK L&F doesn't have hotkeys in jdk7 b141, while b139 has. Reviewed-by: yhuang, ogino ! src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk.properties Changeset: 6943c4d9caa3 Author: mfang Date: 2011-05-31 13:58 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6943c4d9caa3 Merge Changeset: 7c5bc5a807ee Author: dholmes Date: 2011-05-27 19:04 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7c5bc5a807ee 7024120: Verify reduced JRE contents for java 7 Summary: stripped all symbols from libs and executables to reduce JRE size. Restored missing classes needed to pass JCK in headless mode Reviewed-by: bobv, ohair ! make/common/Defs-embedded.gmk ! make/common/Release-embedded.gmk Changeset: f4895b3fe1be Author: dholmes Date: 2011-05-31 17:28 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f4895b3fe1be Merge Changeset: eab27338b3d9 Author: schien Date: 2011-06-01 11:16 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/eab27338b3d9 Merge Changeset: 8d91855a1f4e Author: prr Date: 2011-05-27 13:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8d91855a1f4e 7046587: Outlines in OTF/CFF fonts are misclassified as quadratic curves Reviewed-by: igor ! src/share/classes/sun/font/FileFontStrike.java ! src/share/classes/sun/font/FontScaler.java ! src/share/classes/sun/font/FreetypeFontScaler.java ! src/share/classes/sun/font/NullFontScaler.java Changeset: 0b0b92707cf5 Author: bae Date: 2011-05-30 12:05 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0b0b92707cf5 7032904: XRender: Java2Demo : Infinite loop in Java_sun_java2d_loops_MaskBlit_MaskBlit on OEL 5.6 x64 Reviewed-by: prr ! src/solaris/classes/sun/awt/X11GraphicsEnvironment.java ! src/solaris/native/sun/java2d/x11/XRBackendNative.c Changeset: 290daca0a693 Author: prr Date: 2011-05-30 22:00 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/290daca0a693 7049874: OpenJDK Build breakage fix: freetypescaler.c needs to match updated signature Reviewed-by: lana, igor ! src/share/native/sun/font/freetypeScaler.c Changeset: b351af09bfa3 Author: lana Date: 2011-06-02 13:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b351af09bfa3 Merge Changeset: d2081a1f417f Author: bagiras Date: 2011-05-27 11:45 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d2081a1f417f 7045174: Most of the tests in awt area fails with jdk 7b142 on windows with -Xcheck:jni Reviewed-by: art, denis ! src/windows/native/sun/windows/awt_Object.cpp ! src/windows/native/sun/windows/awt_Toolkit.cpp Changeset: 000a845b1e38 Author: denis Date: 2011-05-28 12:56 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/000a845b1e38 7046325: Broken links in java.awt.Toolkit's javadoc Reviewed-by: dav, yan ! src/share/classes/java/awt/Toolkit.java Changeset: eab94f59b6dc Author: dcherepanov Date: 2011-05-30 13:25 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/eab94f59b6dc 7045354: Korean IME's Hanja candidate window is not displayed on IMFDemo Reviewed-by: art, ant ! src/windows/native/sun/windows/awt_Component.cpp Changeset: f05164caa490 Author: serb Date: 2011-05-30 17:16 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f05164caa490 7045193: interactive JCK tests java_awt/interactive/FileDialogTests fail Reviewed-by: dcherepanov, dav, art, denis ! src/solaris/classes/sun/awt/X11/GtkFileDialogPeer.java Changeset: b955226868af Author: lana Date: 2011-06-02 13:36 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b955226868af Merge Changeset: 1fbaf2b688a6 Author: rupashka Date: 2011-05-24 11:37 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1fbaf2b688a6 7045593: Possible Regression : JTextfield cursor placement behavior algorithm has changed. Reviewed-by: peterz ! src/share/classes/javax/swing/text/Utilities.java + test/javax/swing/text/Utilities/bug7045593.java Changeset: 442237d3ec2c Author: rupashka Date: 2011-05-28 11:55 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/442237d3ec2c 7048204: NPE from NimbusLookAndFeel.addDefault Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/nimbus/NimbusLookAndFeel.java + test/javax/swing/plaf/nimbus/Test7048204.java Changeset: 386516fdf40b Author: lana Date: 2011-06-02 13:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/386516fdf40b Merge Changeset: 0a80650409e1 Author: mullan Date: 2011-05-24 14:15 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0a80650409e1 7044443: Permissions resolved incorrectly for jar protocol (Patch from bugs.openjdk.java.net) Reviewed-by: alanb, chegar Contributed-by: dbhole at redhat.com ! src/share/classes/sun/security/provider/PolicyFile.java + test/java/security/Policy/GetPermissions/JarURL.java Changeset: ace2dfdecda1 Author: mullan Date: 2011-05-24 14:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ace2dfdecda1 Merge Changeset: 70942be348af Author: jeff Date: 2011-05-27 15:02 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/70942be348af 7045697: JDK7 THIRD PARTY README update Reviewed-by: lana ! THIRD_PARTY_README Changeset: b49a0af85821 Author: vinnie Date: 2011-05-30 16:37 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b49a0af85821 7049173: Replace the software license for ECC native code Reviewed-by: alanb ! src/share/native/sun/security/ec/impl/ec.c ! src/share/native/sun/security/ec/impl/ec.h ! src/share/native/sun/security/ec/impl/ec2.h ! src/share/native/sun/security/ec/impl/ec2_163.c ! src/share/native/sun/security/ec/impl/ec2_193.c ! src/share/native/sun/security/ec/impl/ec2_233.c ! src/share/native/sun/security/ec/impl/ec2_aff.c ! src/share/native/sun/security/ec/impl/ec2_mont.c ! src/share/native/sun/security/ec/impl/ec_naf.c ! src/share/native/sun/security/ec/impl/ecc_impl.h ! src/share/native/sun/security/ec/impl/ecdecode.c ! src/share/native/sun/security/ec/impl/ecl-curve.h ! src/share/native/sun/security/ec/impl/ecl-exp.h ! src/share/native/sun/security/ec/impl/ecl-priv.h ! src/share/native/sun/security/ec/impl/ecl.c ! src/share/native/sun/security/ec/impl/ecl.h ! src/share/native/sun/security/ec/impl/ecl_curve.c ! src/share/native/sun/security/ec/impl/ecl_gf.c ! src/share/native/sun/security/ec/impl/ecl_mult.c ! src/share/native/sun/security/ec/impl/ecp.h ! src/share/native/sun/security/ec/impl/ecp_192.c ! src/share/native/sun/security/ec/impl/ecp_224.c ! src/share/native/sun/security/ec/impl/ecp_256.c ! src/share/native/sun/security/ec/impl/ecp_384.c ! src/share/native/sun/security/ec/impl/ecp_521.c ! src/share/native/sun/security/ec/impl/ecp_aff.c ! src/share/native/sun/security/ec/impl/ecp_jac.c ! src/share/native/sun/security/ec/impl/ecp_jm.c ! src/share/native/sun/security/ec/impl/ecp_mont.c ! src/share/native/sun/security/ec/impl/logtab.h ! src/share/native/sun/security/ec/impl/mp_gf2m-priv.h ! src/share/native/sun/security/ec/impl/mp_gf2m.c ! src/share/native/sun/security/ec/impl/mp_gf2m.h ! src/share/native/sun/security/ec/impl/mpi-config.h ! src/share/native/sun/security/ec/impl/mpi-priv.h ! src/share/native/sun/security/ec/impl/mpi.c ! src/share/native/sun/security/ec/impl/mpi.h ! src/share/native/sun/security/ec/impl/mplogic.c ! src/share/native/sun/security/ec/impl/mplogic.h ! src/share/native/sun/security/ec/impl/mpmontg.c ! src/share/native/sun/security/ec/impl/mpprime.h ! src/share/native/sun/security/ec/impl/oid.c ! src/share/native/sun/security/ec/impl/secitem.c ! src/share/native/sun/security/ec/impl/secoidt.h Changeset: 4ed7c877a463 Author: michaelm Date: 2011-05-30 23:36 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4ed7c877a463 7042550: Reintegrate 6569621 Reviewed-by: chegar, alanb ! src/share/classes/java/net/InetAddress.java ! src/share/classes/java/net/Socket.java ! src/share/classes/java/net/SocketPermission.java + src/share/classes/sun/net/RegisteredDomain.java ! src/share/classes/sun/net/www/URLConnection.java ! src/share/classes/sun/net/www/http/HttpClient.java Changeset: c79a089ae13b Author: wetmore Date: 2011-05-31 12:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c79a089ae13b 7042097: JDK 7's Unlimited Cryptographic Policy bundle text files must be updated. Reviewed-by: valeriep ! make/javax/crypto/Makefile Changeset: a00f48c96345 Author: lancea Date: 2011-06-02 12:02 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a00f48c96345 7049107: Cannot call initCause() on BatchUpdateException Reviewed-by: darcy ! src/share/classes/java/sql/BatchUpdateException.java Changeset: 39de8937c1d8 Author: lana Date: 2011-06-02 13:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/39de8937c1d8 Merge Changeset: 8318d03e1766 Author: jrose Date: 2011-06-01 23:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8318d03e1766 7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError Summary: Wrap invokedynamic linkage errors in BootstrapMethodError, as needed. Reviewed-by: never ! src/share/classes/java/lang/invoke/MethodHandleNatives.java Changeset: 0b8b6eace473 Author: jrose Date: 2011-06-01 23:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0b8b6eace473 7050328: (jsr-292) findConstructor throws ExceptionInInitializerError if run under SecurityManager Summary: Wrap system property and reflection accesses under doPrivileged. Ensure constant pool linkage bypasses the SM as specified. Reviewed-by: kvn, never ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/share/classes/java/lang/invoke/MethodHandleStatics.java ! src/share/classes/java/lang/invoke/MethodHandles.java ! src/share/classes/sun/invoke/util/ValueConversions.java ! test/java/lang/invoke/InvokeDynamicPrintArgs.java Changeset: 34481a4012c3 Author: jrose Date: 2011-06-01 23:56 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/34481a4012c3 7049122: java/lang/invoke/RicochetTest.java with MAX_ARITY=255 in -Xcomp mode overflows code cache Summary: reduce the scope of the unit test (mark high water mark of testing with @ignore tags) Reviewed-by: never ! test/java/lang/invoke/RicochetTest.java Changeset: 802994506203 Author: jrose Date: 2011-06-03 11:20 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/802994506203 7051206: JSR 292 method name SwitchPoint.isValid is misleading to unwary users; should be hasBeenInvalidated Reviewed-by: kvn, never, ysr ! src/share/classes/java/lang/invoke/SwitchPoint.java ! test/java/lang/invoke/JavaDocExamplesTest.java Changeset: e8e6cdff5995 Author: trims Date: 2011-06-03 20:13 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e8e6cdff5995 Merge Changeset: 8f19b165347b Author: bae Date: 2011-06-04 23:08 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/8f19b165347b 7042594: 3 testis api/java_awt/Color/ICC_ProfileRGB/index.html fail against RI b138 OEL6x64. Reviewed-by: prr ! src/share/classes/java/awt/color/ICC_Profile.java ! src/share/native/sun/java2d/cmm/lcms/LCMS.c ! src/share/native/sun/java2d/cmm/lcms/cmsio0.c ! test/sun/java2d/cmm/ProfileOp/ReadWriteProfileTest.java + test/sun/java2d/cmm/ProfileOp/SetDataTest.java Changeset: bbb4cef2208b Author: lana Date: 2011-06-04 17:30 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/bbb4cef2208b Merge Changeset: 03a828e368ca Author: rupashka Date: 2011-06-04 01:13 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/03a828e368ca 6977587: GTK L&F: jnlp: java.io.IOException thrown when choosing more than 1 file in the dialog Reviewed-by: alexp ! src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java Changeset: 6c9c55ae313b Author: lana Date: 2011-06-03 22:14 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6c9c55ae313b Merge Changeset: e81d259442ed Author: lana Date: 2011-06-04 17:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e81d259442ed Merge Changeset: 53d759eb580c Author: alanb Date: 2011-06-04 11:18 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/53d759eb580c 7050358: (fs spec) Path.toUri doesn't allow custom providers to use opaque URIs Reviewed-by: sherman ! src/share/classes/java/nio/file/Path.java Changeset: 49aef5a5416e Author: mullan Date: 2011-06-04 06:45 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/49aef5a5416e 7050329: test/java/security/Policy/GetPermissions/JarURL.java fails on Windows Reviewed-by: alanb ! test/java/security/Policy/GetPermissions/JarURL.java + test/java/security/Policy/GetPermissions/JarURL.policy Changeset: 1f39ca0b9598 Author: mullan Date: 2011-06-04 06:52 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1f39ca0b9598 Merge Changeset: 1e04b38b3824 Author: lana Date: 2011-06-04 17:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1e04b38b3824 Merge Changeset: 7a341c412ea9 Author: schien Date: 2011-06-07 14:01 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7a341c412ea9 Added tag jdk7-b145 for changeset 1e04b38b3824 ! .hgtags Changeset: e7493c32e598 Author: schien Date: 2011-06-08 10:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e7493c32e598 Merge Changeset: ae731399e525 Author: dav Date: 2011-06-07 22:58 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ae731399e525 7048568: Crash in Java_sun_awt_Win32GraphicsEnvironment_isVistaOS Reviewed-by: dcherepanov, art, amenkov ! src/windows/native/sun/windows/awt_Win32GraphicsDevice.cpp Changeset: f08fcae94813 Author: lana Date: 2011-06-10 11:43 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f08fcae94813 Merge Changeset: 6e961c328276 Author: michaelm Date: 2011-06-08 10:56 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6e961c328276 7050028: ISE "zip file closed" from JarURLConnection.getInputStream on JDK 7 when !useCaches Reviewed-by: chegar, alanb ! src/share/classes/sun/misc/URLClassPath.java + test/java/net/URLClassLoader/B7050028.java Changeset: b6ced5ad7a62 Author: dwanvik Date: 2011-06-10 17:44 +0200 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b6ced5ad7a62 7046557: Changes to the Java DB README files in JDK7 Summary: Update /README.html with correct mention of Java DB, add JDK specific README files to /db and /demo/db. Reviewed-by: ohair ! make/common/Release.gmk Changeset: 646ab254ff80 Author: lana Date: 2011-06-10 11:44 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/646ab254ff80 Merge Changeset: aca0dc2b921c Author: weijun Date: 2011-02-09 11:50 +0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/aca0dc2b921c 6618658: Deserialization allows creation of mutable SignedObject Reviewed-by: hawtin, mullan ! src/share/classes/java/security/SignedObject.java + test/java/security/SignedObject/Correctness.java Changeset: df445f522425 Author: bae Date: 2011-02-17 12:21 +0300 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/df445f522425 7013519: [parfait] Integer overflows in 2D code Reviewed-by: prr, valeriep ! src/share/native/sun/awt/image/jpeg/imageioJPEG.c ! src/share/native/sun/font/layout/SunLayoutEngine.cpp Changeset: ccb2fcfb6d6b Author: chegar Date: 2011-02-18 13:31 +0000 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/ccb2fcfb6d6b 7013969: NetworkInterface.toString can reveal bindings Reviewed-by: alanb, michaelm, hawtin ! src/share/classes/java/net/NetworkInterface.java Changeset: 026adaac71f1 Author: dcherepanov Date: 2011-02-25 15:54 +0300 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/026adaac71f1 7012520: Heap overflow vulnerability in FileDialog.show() Reviewed-by: art, anthony ! src/windows/native/sun/windows/awt_FileDialog.cpp Changeset: d489f00d6c65 Author: flar Date: 2011-03-02 05:35 -0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/d489f00d6c65 7016495: Crash in Java 2D transforming an image with scale close to zero Reviewed-by: prr, bae ! src/share/classes/sun/java2d/pipe/DrawImage.java ! src/share/native/sun/java2d/loops/TransformHelper.c + test/java/awt/image/BufferedImage/TinyScale.java Changeset: fe27fe44ac51 Author: ksrini Date: 2011-03-03 14:16 -0800 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fe27fe44ac51 7016985: (launcher) implement safe secure dll loading Reviewed-by: mchung ! src/windows/bin/java_md.c Changeset: 0efa64f13302 Author: chegar Date: 2011-04-05 14:49 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0efa64f13302 7033865: JDK: Add private API for secure/restrictive loading of system dlls Reviewed-by: alanb ! src/share/native/common/jdk_util.h + src/solaris/native/common/jdk_util_md.h ! src/windows/native/common/jdk_util_md.c + src/windows/native/common/jdk_util_md.h Changeset: 67992a58bfba Author: ksrini Date: 2011-04-05 16:19 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/67992a58bfba 7032593: DLL_LOADING: Upgrade solution to 7016985 to reflect JDK7 solution Reviewed-by: mchung, asaha ! src/windows/bin/java_md.c Changeset: 7181441faf72 Author: dcherepanov Date: 2011-04-08 16:44 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7181441faf72 7003962: AWT: securely load DLLs and launch executables using fully qualified path Reviewed-by: art, bae, alanb ! src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp ! src/windows/native/sun/java2d/opengl/OGLFuncs_md.h ! src/windows/native/sun/windows/DllUtil.cpp ! src/windows/native/sun/windows/DllUtil.h ! src/windows/native/sun/windows/ShellFolder2.cpp ! src/windows/native/sun/windows/ThemeReader.cpp ! src/windows/native/sun/windows/awt_Mlib.cpp ! src/windows/native/sun/windows/awt_TextArea.cpp ! src/windows/native/sun/windows/awt_TrayIcon.cpp ! src/windows/native/sun/windows/awt_Win32GraphicsEnv.cpp ! src/windows/native/sun/windows/stdhdrs.h Changeset: 05a3923f516f Author: dcherepanov Date: 2011-04-08 17:58 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/05a3923f516f 7035077: Minor addition to the changes for 7003962 Reviewed-by: chegar ! src/windows/native/sun/windows/DllUtil.cpp Changeset: afcc1530e68b Author: asaha Date: 2011-04-08 10:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/afcc1530e68b Merge - make/java/dyn/Makefile - src/share/classes/java/dyn/CallSite.java - src/share/classes/java/dyn/ClassValue.java - src/share/classes/java/dyn/ConstantCallSite.java - src/share/classes/java/dyn/InvokeDynamic.java - src/share/classes/java/dyn/InvokeDynamicBootstrapError.java - src/share/classes/java/dyn/Linkage.java - src/share/classes/java/dyn/MethodHandle.java - src/share/classes/java/dyn/MethodHandles.java - src/share/classes/java/dyn/MethodType.java - src/share/classes/java/dyn/MethodTypeForm.java - src/share/classes/java/dyn/MutableCallSite.java - src/share/classes/java/dyn/SwitchPoint.java - src/share/classes/java/dyn/VolatileCallSite.java - src/share/classes/java/dyn/WrongMethodTypeException.java - src/share/classes/java/dyn/package-info.java - src/share/classes/sun/dyn/Access.java - src/share/classes/sun/dyn/AdapterMethodHandle.java - src/share/classes/sun/dyn/BoundMethodHandle.java - src/share/classes/sun/dyn/CallSiteImpl.java - src/share/classes/sun/dyn/DirectMethodHandle.java - src/share/classes/sun/dyn/FilterGeneric.java - src/share/classes/sun/dyn/FilterOneArgument.java - src/share/classes/sun/dyn/FromGeneric.java - src/share/classes/sun/dyn/InvokeGeneric.java - src/share/classes/sun/dyn/Invokers.java - src/share/classes/sun/dyn/MemberName.java - src/share/classes/sun/dyn/MethodHandleImpl.java - src/share/classes/sun/dyn/MethodHandleNatives.java - src/share/classes/sun/dyn/MethodTypeImpl.java - src/share/classes/sun/dyn/SpreadGeneric.java - src/share/classes/sun/dyn/ToGeneric.java - src/share/classes/sun/dyn/WrapperInstance.java - src/share/classes/sun/dyn/anon/AnonymousClassLoader.java - src/share/classes/sun/dyn/anon/ConstantPoolParser.java - src/share/classes/sun/dyn/anon/ConstantPoolPatch.java - src/share/classes/sun/dyn/anon/ConstantPoolVisitor.java - src/share/classes/sun/dyn/anon/InvalidConstantPoolFormatException.java - src/share/classes/sun/dyn/empty/Empty.java - src/share/classes/sun/dyn/package-info.java - src/share/classes/sun/dyn/util/BytecodeDescriptor.java - src/share/classes/sun/dyn/util/BytecodeName.java - src/share/classes/sun/dyn/util/ValueConversions.java - src/share/classes/sun/dyn/util/VerifyAccess.java - src/share/classes/sun/dyn/util/VerifyType.java - src/share/classes/sun/dyn/util/Wrapper.java - src/share/classes/sun/dyn/util/package-info.java ! src/share/native/sun/awt/image/jpeg/imageioJPEG.c - test/java/dyn/ClassValueTest.java - test/java/dyn/InvokeDynamicPrintArgs.java - test/java/dyn/InvokeGenericTest.java - test/java/dyn/JavaDocExamplesTest.java - test/java/dyn/MethodHandlesTest.java - test/java/dyn/MethodTypeTest.java - test/java/dyn/indify/Indify.java Changeset: 557bd9b5d92f Author: asaha Date: 2011-04-08 10:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/557bd9b5d92f Merge Changeset: e142148d8b54 Author: asaha Date: 2011-04-12 14:23 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e142148d8b54 Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java Changeset: 76e0e562b617 Author: dcherepanov Date: 2011-04-15 17:06 +0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/76e0e562b617 7036952: build warning after the changes for 7003962 Reviewed-by: art, bae ! src/windows/native/sun/java2d/opengl/OGLFuncs_md.h Changeset: f8eddc85cc02 Author: zgu Date: 2011-04-15 09:53 -0400 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f8eddc85cc02 7003964: SERV: securely load DLLs and launch executables using fully qualified path Summary: Linked in Windows libraries that are available on jdk7 supported platforms, and used GetModuleHandle instead of LoadLibrary for already loaded Dlls. Reviewed-by: dcubed, alanb ! make/com/sun/tools/attach/Makefile ! src/windows/classes/sun/tools/attach/WindowsAttachProvider.java ! src/windows/native/sun/tools/attach/WindowsAttachProvider.c ! src/windows/native/sun/tools/attach/WindowsVirtualMachine.c ! src/windows/native/sun/tracing/dtrace/jvm_symbols_md.c ! src/windows/npt/npt_md.h Changeset: 0865aa0ad9b2 Author: zgu Date: 2011-04-19 10:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0865aa0ad9b2 Merge Changeset: 6f8a4d334fb2 Author: asaha Date: 2011-04-20 09:31 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6f8a4d334fb2 Merge ! make/com/sun/tools/attach/Makefile ! src/share/classes/java/net/NetworkInterface.java ! src/share/native/sun/awt/image/jpeg/imageioJPEG.c ! src/windows/bin/java_md.c ! src/windows/native/sun/windows/awt_TrayIcon.cpp ! src/windows/native/sun/windows/awt_Win32GraphicsEnv.cpp Changeset: f3645b5d6e62 Author: asaha Date: 2011-04-20 21:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f3645b5d6e62 Merge Changeset: b626f78c57e1 Author: asaha Date: 2011-04-21 08:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b626f78c57e1 Merge Changeset: cec45f3353be Author: asaha Date: 2011-04-21 08:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cec45f3353be Merge Changeset: 6133c9ee3a01 Author: asaha Date: 2011-04-21 08:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/6133c9ee3a01 Merge Changeset: dd06e8d3da91 Author: asaha Date: 2011-04-21 15:43 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dd06e8d3da91 Merge Changeset: b2295905901a Author: asaha Date: 2011-04-21 16:42 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b2295905901a Merge - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java Changeset: 3fedf261fb4f Author: valeriep Date: 2011-04-26 15:59 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3fedf261fb4f 7003952: SEC: securely load DLLs and launch executables using fully qualified path Summary: Enforce full path when specifying library locations. Reviewed-by: wetmore, ohair ! make/sun/security/pkcs11/Makefile ! src/share/classes/sun/security/pkcs11/Config.java ! src/share/classes/sun/security/pkcs11/Secmod.java ! src/share/native/sun/security/pkcs11/j2secmod.c + test/sun/security/pkcs11/Provider/Absolute.cfg + test/sun/security/pkcs11/Provider/Absolute.java Changeset: 94ea3b8288f1 Author: alexp Date: 2011-05-04 11:35 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/94ea3b8288f1 7020198: ImageIcon creates Component with null acc Reviewed-by: rupashka, hawtin ! src/share/classes/javax/swing/ImageIcon.java Changeset: e6fdfb249e31 Author: asaha Date: 2011-05-04 16:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e6fdfb249e31 Merge - src/share/native/sun/font/layout/Features.h ! src/windows/native/sun/windows/awt_FileDialog.cpp - test/javax/swing/text/GlyphView/6539700/bug6539700.java Changeset: 49244980d692 Author: asaha Date: 2011-05-05 22:29 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/49244980d692 Merge - src/share/classes/sun/security/util/SignatureFileManifest.java Changeset: 647b031200f0 Author: asaha Date: 2011-05-06 14:33 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/647b031200f0 Merge Changeset: 92b5197e9ff5 Author: asaha Date: 2011-05-26 21:37 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/92b5197e9ff5 Merge ! src/windows/native/sun/java2d/d3d/D3DPipelineManager.cpp ! src/windows/native/sun/windows/awt_TrayIcon.cpp Changeset: cca9ea306c6e Author: asaha Date: 2011-05-26 21:51 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cca9ea306c6e Merge Changeset: dab3e66ebda7 Author: lana Date: 2011-06-06 19:04 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/dab3e66ebda7 Merge Changeset: 9f17be5136d1 Author: wetmore Date: 2011-06-09 14:24 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9f17be5136d1 7052537: java/security/Security/NotInstalledProviders.java is causing -samevm tests to fail. Reviewed-by: valeriep, asaha, alanb ! test/java/security/Security/NoInstalledProviders.java Changeset: 4961be00d3b5 Author: lana Date: 2011-06-15 16:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4961be00d3b5 Merge Changeset: cf0632d2db2c Author: jrose Date: 2011-06-14 22:47 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cf0632d2db2c 7052202: JSR 292: Crash in sun.invoke.util.ValueConversions.fillArray Summary: Fix corner cases involving MethodHandles.permuteArguments with long or double argument lists. Reviewed-by: twisti, never ! src/share/classes/java/lang/invoke/AdapterMethodHandle.java ! src/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/share/classes/java/lang/invoke/MethodHandleNatives.java ! src/share/classes/java/lang/invoke/SwitchPoint.java + test/java/lang/invoke/PermuteArgsTest.java Changeset: a65fa0f6717e Author: trims Date: 2011-06-17 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a65fa0f6717e Merge Changeset: c46f97579fe6 Author: alanb Date: 2011-06-17 16:47 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c46f97579fe6 7055508: (aio) EXCEPTION_ACCESS_VIOLATION in AsynchronousSocketChannel.connect on Windows 7 Reviewed-by: chegar ! src/windows/native/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.c Changeset: c102e1221afa Author: lana Date: 2011-06-17 10:27 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/c102e1221afa Merge Changeset: 539e576793a8 Author: lana Date: 2011-06-18 10:12 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/539e576793a8 Merge Changeset: 7b4f4230fecf Author: schien Date: 2011-06-20 16:25 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/7b4f4230fecf Added tag jdk7-b146 for changeset 539e576793a8 ! .hgtags Changeset: f2928d86aab0 Author: schien Date: 2011-06-20 17:38 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f2928d86aab0 Merge Changeset: cfd7602f5c52 Author: jeff Date: 2011-06-22 10:11 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/cfd7602f5c52 7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana ! THIRD_PARTY_README Changeset: f097ca2434b1 Author: lana Date: 2011-06-22 12:41 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f097ca2434b1 Merge Changeset: 9b8c96f96a0f Author: schien Date: 2011-06-27 13:21 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9b8c96f96a0f Added tag jdk7-b147 for changeset f097ca2434b1 ! .hgtags Changeset: fc350fd41f31 Author: schien Date: 2011-06-27 14:10 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/fc350fd41f31 Merge Changeset: 634984eeed47 Author: mcimadamore Date: 2011-07-05 17:14 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/634984eeed47 merge with jdk8 ! make/docs/NON_CORE_PKGS.gmk - src/share/classes/com/sun/nio/sctp/SctpStandardSocketOption.java - src/share/classes/java/net/StandardSocketOption.java - src/share/classes/java/nio/file/StandardWatchEventKind.java - src/share/classes/sun/security/ssl/DefaultSSLContextImpl.java - src/share/native/sun/font/layout/Features.h - test/java/beans/XMLEncoder/java_io_File.java - test/javax/swing/text/GlyphView/6539700/bug6539700.java From maurizio.cimadamore at oracle.com Wed Jul 6 09:53:08 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 06 Jul 2011 16:53:08 +0000 Subject: hg: lambda/lambda/langtools: Cleanup of the lambda translation code. Message-ID: <20110706165312.561E147210@hg.openjdk.java.net> Changeset: 6ffce356c35f Author: mcimadamore Date: 2011-07-06 17:52 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/6ffce356c35f Cleanup of the lambda translation code. *) Use java.lang.invoke.MethodHandleProxies instead of ProxyHelper (which can be forced by using the flag -XDuseProxy) *) Translation of both lambdas and method references is now done in Unlambda.java *) Lower.java has been reverted to its original JDK7/8 form (except from few bits related to extension method support) ! src/share/classes/com/sun/runtime/ProxyHelper.java ! src/share/classes/com/sun/tools/javac/code/Symtab.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/comp/Unlambda.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/util/Names.java ! test/tools/javac/lambda/MethodReference13.java ! test/tools/javac/lambda/MethodReference27.java From maurizio.cimadamore at oracle.com Thu Jul 7 06:55:21 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Thu, 07 Jul 2011 13:55:21 +0000 Subject: hg: lambda/lambda/langtools: Revised accessibility check for SAM descriptor as per latest lambda spec draft. Message-ID: <20110707135530.A16ED47252@hg.openjdk.java.net> Changeset: 777491a7c4e1 Author: mcimadamore Date: 2011-07-07 14:51 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/777491a7c4e1 Revised accessibility check for SAM descriptor as per latest lambda spec draft. *) Target SAM descriptor cannot mention types that are not accessible from given context *) Updated combo test to stress test the lambda/method reference accessibility check ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Infer.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/diags/examples.not-yet.txt ! test/tools/javac/lambda/LambdaConversionTest.java From jim.holmlund at sun.com Mon Jul 11 13:44:03 2011 From: jim.holmlund at sun.com (jim.holmlund at sun.com) Date: Mon, 11 Jul 2011 20:44:03 +0000 Subject: hg: lambda/lambda/langtools: Initial check-in of test code for lambda and method references Message-ID: <20110711204409.75FEB47363@hg.openjdk.java.net> Changeset: fff19d71854a Author: jjh Date: 2011-07-11 13:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/fff19d71854a Initial check-in of test code for lambda and method references Reviewed-by: mcimadamore Contributed-by: Sue Wye + test/tools/javac/lambda/sqe/lambdaExpression/AbstractClass_neg.java + test/tools/javac/lambda/sqe/lambdaExpression/AbstractClass_neg.out + test/tools/javac/lambda/sqe/lambdaExpression/AccessNonStatic_neg.java + test/tools/javac/lambda/sqe/lambdaExpression/AccessNonStatic_neg.out + test/tools/javac/lambda/sqe/lambdaExpression/EffectivelyFinal_neg.java + test/tools/javac/lambda/sqe/lambdaExpression/EffectivelyFinal_neg.out + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression1.java + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression1.out + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression3.java + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression3.out + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression4.java + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression4.out + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression5.java + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression5.out + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression6.java + test/tools/javac/lambda/sqe/lambdaExpression/InvalidExpression6.out + test/tools/javac/lambda/sqe/lambdaExpression/LambdaTest1.java + test/tools/javac/lambda/sqe/lambdaExpression/LambdaTest2.java + test/tools/javac/lambda/sqe/lambdaExpression/LambdaTest3.java + test/tools/javac/lambda/sqe/lambdaExpression/LambdaTest4.java + test/tools/javac/lambda/sqe/lambdaExpression/LambdaTest5.java + test/tools/javac/lambda/sqe/lambdaExpression/LambdaTest6.java + test/tools/javac/lambda/sqe/methodReference/MethodRef1.java + test/tools/javac/lambda/sqe/methodReference/MethodRef2.java + test/tools/javac/lambda/sqe/methodReference/MethodRef3.java + test/tools/javac/lambda/sqe/methodReference/MethodRef4.java + test/tools/javac/lambda/sqe/methodReference/MethodRef5.java + test/tools/javac/lambda/sqe/methodReference/MethodRef6.java + test/tools/javac/lambda/sqe/methodReference/MethodRef7.java + test/tools/javac/lambda/sqe/methodReference/MethodRef_neg.java + test/tools/javac/lambda/sqe/methodReference/MethodRef_neg.out From robert.field at oracle.com Mon Jul 11 22:41:28 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Tue, 12 Jul 2011 05:41:28 +0000 Subject: hg: lambda/defender-prototype: Bridge search Message-ID: <20110712054129.2EFF74738C@hg.openjdk.java.net> Changeset: 78dfe7433bda Author: Robert Field Date: 2011-07-11 22:41 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/78dfe7433bda Bridge search ! .hgignore ! src/jsr335/agent/WeaveClassAdapter.java ! src/jsr335/agent/bridge/ArrayType.java ! src/jsr335/agent/bridge/ClassDescriptor.java ! src/jsr335/agent/bridge/ClassType.java + src/jsr335/agent/bridge/MethodDescriptor.java ! src/jsr335/agent/bridge/PrimitiveType.java + src/jsr335/agent/bridge/SignatureReader.java ! src/jsr335/agent/top/ClassModel.java ! src/jsr335/agent/top/MappingVisitor.java From robert.field at oracle.com Tue Jul 12 11:55:19 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Tue, 12 Jul 2011 18:55:19 +0000 Subject: hg: lambda/defender-prototype: Flesh out BridgeDetect Message-ID: <20110712185519.C741C473AB@hg.openjdk.java.net> Changeset: 961d3b2f5513 Author: Robert Field Date: 2011-07-12 11:55 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/961d3b2f5513 Flesh out BridgeDetect ! src/jsr335/agent/WeaveClassAdapter.java ! src/jsr335/agent/bridge/BridgeDetect.java ! src/jsr335/agent/top/WeaveClassVisitor.java + test/jsr335/agent/junit/GenericTest.java From ali.ebrahimi1781 at gmail.com Tue Jul 12 21:01:47 2011 From: ali.ebrahimi1781 at gmail.com (Ali Ebrahimi) Date: Wed, 13 Jul 2011 07:31:47 +0330 Subject: compiler accepts incompatible method reference for Sam conversion Message-ID: Hi, I found following bug in current compiler build: my build relates to before Changeset: 777491a7c4e1: Revised accessibility check for SAM descriptor as per latest lambda spec draft. class MethodHandleTest{ interface Sam1{ void m(MethodHandleTest m); } public void test(int i){ // System.out.println("test"); } ... public static void main(String[] args) throws Throwable { Sam1 sam1=MethodHandleTest#test(int); <===================== sam1.m(null); } ... } result: Exception in thread "main" java.lang.invoke.WrongMethodTypeException: cannot convert MethodHandle(MethodHandleTest,int)void to (MethodHandleTest)void Also an trouble jvm crash: I know this not relates to this thread. public static void sTest(int x,int y){ // System.out.println("stest"); } interface Sam{ void m(int x,int y); } Sam sam = MethodHandleTest#sTest; sam.m(1,1); <===============crash MethodHandle mh = MethodHandles.lookup().findStatic(MethodHandleTest.class, "sTest", MethodType.methodType(void.class,int.class,int.class)); MethodHandle smh = mh.asSpreader(Object[].class, mh.type().parameterCount()); smh.invoke(new Object[]{i,i}); <===============crash main cause: mh.asSpreader I don't known this crash appears in jdkb147. Best Regards, Ali Ebrahimi From forax at univ-mlv.fr Wed Jul 13 01:06:44 2011 From: forax at univ-mlv.fr (=?ISO-8859-1?Q?R=E9mi_Forax?=) Date: Wed, 13 Jul 2011 10:06:44 +0200 Subject: compiler accepts incompatible method reference for Sam conversion In-Reply-To: References: Message-ID: <4E1D5214.70004@univ-mlv.fr> On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: Hi Ali, ... > MethodHandle mh = MethodHandles.lookup().findStatic(MethodHandleTest.class, > "sTest", MethodType.methodType(void.class,int.class,int.class)); > MethodHandle smh = mh.asSpreader(Object[].class, > mh.type().parameterCount()); > > smh.invoke(new Object[]{i,i});<===============crash > > main cause: mh.asSpreader > > I don't known this crash appears in jdkb147. What you want here is to use asCollector, not asSpreader. asSpreader requires that the method as already an object array and extract the value from it. In your example, the call to mh.asSpreader should return a runtime exception, I will investigate why it's not the case when I will be at my office :) > Best Regards, > Ali Ebrahimi regards, R?mi From ali.ebrahimi1781 at gmail.com Wed Jul 13 02:36:06 2011 From: ali.ebrahimi1781 at gmail.com (Ali Ebrahimi) Date: Wed, 13 Jul 2011 13:06:06 +0330 Subject: compiler accepts incompatible method reference for Sam conversion In-Reply-To: References: <4E1D5214.70004@univ-mlv.fr> Message-ID: Hi Remi, On 7/13/11, R?mi Forax wrote: > On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: > > Hi Ali, > > ... >> MethodHandle mh = >> MethodHandles.lookup().findStatic(MethodHandleTest.class, >> "sTest", MethodType.methodType(void.class,int.class,int.class)); >> MethodHandle smh = mh.asSpreader(Object[].class, >> mh.type().parameterCount()); >> >> smh.invoke(new Object[]{i,i});<===============crash >> >> main cause: mh.asSpreader >> >> I don't known this crash appears in jdkb147. > > What you want here is to use asCollector, not asSpreader. > asSpreader requires that the method as already an object array > and extract the value from it. May be i'm wrong. but this code picked from MethodHandleProxies class public static T asInterfaceInstance(final Class intfc, final MethodHandle target) { final Method sm = getSingleMethod(intfc); if (sm == null) throw new IllegalArgumentException("not a single-method interface: "+intfc.getName()); MethodType smMT = MethodType.methodType(sm.getReturnType(), sm.getParameterTypes()); MethodHandle checkTarget = target.asType(smMT); // make throw WMT checkTarget = checkTarget.asType(checkTarget.type().changeReturnType(Object.class)); final MethodHandle vaTarget = checkTarget.asSpreader(Object[].class, smMT.parameterCount()); return intfc.cast(Proxy.newProxyInstance( intfc.getClassLoader(), new Class[]{ intfc, WrapperInstance.class }, new InvocationHandler() { private Object getArg(String name) { if ((Object)name == "getWrapperInstanceTarget") return target; if ((Object)name == "getWrapperInstanceType") return intfc; throw new AssertionError(); } public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { if (method.getDeclaringClass() == WrapperInstance.class) return getArg(method.getName()); if (method.equals(sm)) return vaTarget.invokeExact(args); if (isObjectMethod(method)) return callObjectMethod(this, method, args); throw new InternalError(); } })); } and this results in this crash: class MethodHandleTest{ ... public static void sTest(int x,int y){ // System.out.println("stest"); } static interface Sam{ void m(int x,int y); } .. Sam sam = MethodHandleTest#sTest; sam.m(1,1);<========== > > In your example, the call to mh.asSpreader should return a runtime > exception, > I will investigate why it's not the case when I will be at my office :) > >> Best Regards, >> Ali Ebrahimi > > regards, > R?mi > > > _______________________________________________ > mlvm-dev mailing list > mlvm-dev at openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > Best Regards, Ali Ebrahimi From maurizio.cimadamore at oracle.com Wed Jul 13 02:52:26 2011 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 13 Jul 2011 10:52:26 +0100 Subject: compiler accepts incompatible method reference for Sam conversion In-Reply-To: References: <4E1D5214.70004@univ-mlv.fr> Message-ID: <4E1D6ADA.2060705@oracle.com> Ali, this works for me (using b147 - or the VM bundled in the lambda repo). There have been tons of fixes in the MH area lately, so make sure you grab a more recent JDK 7 snapshot (I used to see those problems too before the latest lambda merge, but now ost of them went away). Note also that, in cases in which 292 code is still unstable, you can switch back to the old generation logic using the -XDuseProxy flag, which should remove all 292-related problems (as, by doing so, java.lang.reflect.Proxy will be used instead). I will be pushing a fix for the other issue (incompatible method ref erroneously accepted by javac) shortly. Thanks Maurizio On 13/07/11 10:36, Ali Ebrahimi wrote: > Hi Remi, > > On 7/13/11, R?mi Forax wrote: >> On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: >> >> Hi Ali, >> >> ... >>> MethodHandle mh = >>> MethodHandles.lookup().findStatic(MethodHandleTest.class, >>> "sTest", MethodType.methodType(void.class,int.class,int.class)); >>> MethodHandle smh = mh.asSpreader(Object[].class, >>> mh.type().parameterCount()); >>> >>> smh.invoke(new Object[]{i,i});<===============crash >>> >>> main cause: mh.asSpreader >>> >>> I don't known this crash appears in jdkb147. >> What you want here is to use asCollector, not asSpreader. >> asSpreader requires that the method as already an object array >> and extract the value from it. > May be i'm wrong. but this code picked from MethodHandleProxies class > > public static > T asInterfaceInstance(final Class intfc, final MethodHandle target) { > final Method sm = getSingleMethod(intfc); > if (sm == null) > throw new IllegalArgumentException("not a single-method > interface: "+intfc.getName()); > MethodType smMT = MethodType.methodType(sm.getReturnType(), > sm.getParameterTypes()); > MethodHandle checkTarget = target.asType(smMT); // make throw WMT > checkTarget = > checkTarget.asType(checkTarget.type().changeReturnType(Object.class)); > final MethodHandle vaTarget = > checkTarget.asSpreader(Object[].class, smMT.parameterCount()); > return intfc.cast(Proxy.newProxyInstance( > intfc.getClassLoader(), > new Class[]{ intfc, WrapperInstance.class }, > new InvocationHandler() { > private Object getArg(String name) { > if ((Object)name == > "getWrapperInstanceTarget") return target; > if ((Object)name == "getWrapperInstanceType") > return intfc; > throw new AssertionError(); > } > public Object invoke(Object proxy, Method method, > Object[] args) throws Throwable { > if (method.getDeclaringClass() == WrapperInstance.class) > return getArg(method.getName()); > if (method.equals(sm)) > return vaTarget.invokeExact(args); > if (isObjectMethod(method)) > return callObjectMethod(this, method, args); > throw new InternalError(); > } > })); > } > > and this results in this crash: > class MethodHandleTest{ > ... > public static void sTest(int x,int y){ > // System.out.println("stest"); > } > > static interface Sam{ > void m(int x,int y); > } > .. > Sam sam = MethodHandleTest#sTest; > sam.m(1,1);<========== > >> In your example, the call to mh.asSpreader should return a runtime >> exception, >> I will investigate why it's not the case when I will be at my office :) >> >>> Best Regards, >>> Ali Ebrahimi >> regards, >> R?mi >> >> >> _______________________________________________ >> mlvm-dev mailing list >> mlvm-dev at openjdk.java.net >> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev >> > Best Regards, > Ali Ebrahimi > From maurizio.cimadamore at oracle.com Wed Jul 13 04:15:49 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Wed, 13 Jul 2011 11:15:49 +0000 Subject: hg: lambda/lambda/langtools: Fix: Non-compatible method references with explicit parameter types are erroneously accepted Message-ID: <20110713111553.81885473D7@hg.openjdk.java.net> Changeset: 397b7ba6e0b9 Author: mcimadamore Date: 2011-07-13 12:14 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/397b7ba6e0b9 Fix: Non-compatible method references with explicit parameter types are erroneously accepted ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! test/tools/javac/lambda/MethodReference09.out + test/tools/javac/lambda/MethodReference28.java + test/tools/javac/lambda/MethodReference28.out From robert.field at oracle.com Wed Jul 13 13:27:00 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Wed, 13 Jul 2011 20:27:00 +0000 Subject: hg: lambda/defender-prototype: Type map defenders. Generate bridges. Revamp TypeVariable handling. BridgeTest and GenericTest now pass, but CovariantOverrideTest fails. Message-ID: <20110713202701.4F8B7473EC@hg.openjdk.java.net> Changeset: c92864a54447 Author: Robert Field Date: 2011-07-13 13:27 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/c92864a54447 Type map defenders. Generate bridges. Revamp TypeVariable handling. BridgeTest and GenericTest now pass, but CovariantOverrideTest fails. ! build.xml ! src/jsr335/agent/WeaveClassAdapter.java ! src/jsr335/agent/bridge/ArrayType.java ! src/jsr335/agent/bridge/BridgeDetect.java ! src/jsr335/agent/bridge/ClassDescriptor.java ! src/jsr335/agent/bridge/ClassType.java ! src/jsr335/agent/bridge/MethodDescriptor.java ! src/jsr335/agent/bridge/PrimitiveType.java ! src/jsr335/agent/bridge/SignatureReader.java ! src/jsr335/agent/bridge/Type.java ! src/jsr335/agent/bridge/TypeVariable.java + src/jsr335/agent/bridge/TypeVariableDecl.java ! src/jsr335/agent/bridge/TypeVariableMap.java ! src/jsr335/agent/top/Defender.java ! src/jsr335/agent/top/MappingVisitor.java ! src/jsr335/agent/top/WeaveClassVisitor.java ! test/jsr335/agent/junit/BridgeTest.java From maurizio.cimadamore at oracle.com Thu Jul 14 03:10:34 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Thu, 14 Jul 2011 10:10:34 +0000 Subject: hg: lambda/lambda/langtools: Fix: access to final variables from lambda expressions is erroneously rejected Message-ID: <20110714101047.AE58A4740E@hg.openjdk.java.net> Changeset: cb09efd9e158 Author: mcimadamore Date: 2011-07-14 11:10 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/cb09efd9e158 Fix: access to final variables from lambda expressions is erroneously rejected Un-ignore previously ignored test LambdaCapture05.java ! src/share/classes/com/sun/tools/javac/comp/Flow.java ! test/tools/javac/lambda/LambdaCapture05.java + test/tools/javac/lambda/LambdaExpr08.java From maurizio.cimadamore at oracle.com Thu Jul 14 07:53:35 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Thu, 14 Jul 2011 14:53:35 +0000 Subject: hg: lambda/lambda/langtools: Add option to desugar lambda expressions into static methods Message-ID: <20110714145339.D469247418@hg.openjdk.java.net> Changeset: a7e6203a332d Author: mcimadamore Date: 2011-07-14 15:52 +0100 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/a7e6203a332d Add option to desugar lambda expressions into static methods *) Created top visitor for desugaring lambdas with basic translation support *) Created two subclasses of the above vistor, implementing different desugaring strategies for lambda expressions *) The new visitor (LambdaToMethod) can be enabled by using the -XDlambdaToMethod flag *) All regression tests pass with both translation strategies ! src/share/classes/com/sun/runtime/ProxyHelper.java + src/share/classes/com/sun/tools/javac/comp/LambdaToInnerClass.java + src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java + src/share/classes/com/sun/tools/javac/comp/LambdaTranslator.java - src/share/classes/com/sun/tools/javac/comp/Unlambda.java ! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/share/classes/com/sun/tools/javac/util/Names.java From robert.field at oracle.com Fri Jul 15 13:01:24 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Fri, 15 Jul 2011 20:01:24 +0000 Subject: hg: lambda/defender-prototype: 2 new changesets Message-ID: <20110715200124.863CF4746B@hg.openjdk.java.net> Changeset: 26ac3d32317e Author: Robert Field Date: 2011-07-13 15:42 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/26ac3d32317e Differentiate type models + src/jsr335/agent/bridge/ArrayDType.java - src/jsr335/agent/bridge/ArrayType.java ! src/jsr335/agent/bridge/BridgeDetect.java + src/jsr335/agent/bridge/ClassDType.java ! src/jsr335/agent/bridge/ClassDescriptor.java - src/jsr335/agent/bridge/ClassType.java + src/jsr335/agent/bridge/DType.java + src/jsr335/agent/bridge/DTypeVariable.java ! src/jsr335/agent/bridge/MethodDescriptor.java + src/jsr335/agent/bridge/PrimitiveDType.java - src/jsr335/agent/bridge/PrimitiveType.java ! src/jsr335/agent/bridge/SignatureReader.java - src/jsr335/agent/bridge/Type.java - src/jsr335/agent/bridge/TypeVariable.java ! src/jsr335/agent/bridge/TypeVariableDecl.java ! src/jsr335/agent/bridge/TypeVariableMap.java Changeset: 007d110730dc Author: Robert Field Date: 2011-07-15 13:01 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/007d110730dc Structural reorg ! src/jsr335/agent/Agent.java + src/jsr335/agent/AgentClassModelMap.java + src/jsr335/agent/ClassModel.java + src/jsr335/agent/ClassModelMap.java + src/jsr335/agent/DelegatingWeaveAnalyzer.java + src/jsr335/agent/ExtensionMethod.java + src/jsr335/agent/MappingVisitor.java + src/jsr335/agent/Weave.java - src/jsr335/agent/WeaveClassAdapter.java + src/jsr335/agent/WeaveClassVisitor.java ! src/jsr335/agent/batch/BatchClassModelMap.java ! src/jsr335/agent/batch/BatchExecute.java ! src/jsr335/agent/batch/Entry.java ! src/jsr335/agent/bridge/BridgeDetect.java - src/jsr335/agent/top/AgentClassModelMap.java - src/jsr335/agent/top/ClassModel.java - src/jsr335/agent/top/ClassModelMap.java - src/jsr335/agent/top/Defender.java - src/jsr335/agent/top/DelegatingWeaveAnalyzer.java - src/jsr335/agent/top/MappingVisitor.java - src/jsr335/agent/top/Weave.java - src/jsr335/agent/top/WeaveClassVisitor.java + test/jsr335/agent/junit/DualingTest.java From robert.field at oracle.com Fri Jul 15 13:06:11 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Fri, 15 Jul 2011 20:06:11 +0000 Subject: hg: lambda/defender-prototype: Generalize package Message-ID: <20110715200611.95CB44746C@hg.openjdk.java.net> Changeset: 7e5ead6914cd Author: Robert Field Date: 2011-07-15 13:06 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/7e5ead6914cd Generalize package ! src/jsr335/agent/AgentClassModelMap.java ! src/jsr335/agent/ClassModel.java ! src/jsr335/agent/ClassModelMap.java ! src/jsr335/agent/DelegatingWeaveAnalyzer.java ! src/jsr335/agent/Weave.java ! src/jsr335/agent/WeaveClassVisitor.java - src/jsr335/agent/bridge/ArrayDType.java - src/jsr335/agent/bridge/BridgeDetect.java - src/jsr335/agent/bridge/ClassDType.java - src/jsr335/agent/bridge/ClassDescriptor.java - src/jsr335/agent/bridge/DType.java - src/jsr335/agent/bridge/DTypeVariable.java - src/jsr335/agent/bridge/MethodDescriptor.java - src/jsr335/agent/bridge/PrimitiveDType.java - src/jsr335/agent/bridge/SignatureReader.java - src/jsr335/agent/bridge/TypeVariableDecl.java - src/jsr335/agent/bridge/TypeVariableMap.java + src/jsr335/agent/generic/ArrayDType.java + src/jsr335/agent/generic/BridgeDetect.java + src/jsr335/agent/generic/ClassDType.java + src/jsr335/agent/generic/ClassDescriptor.java + src/jsr335/agent/generic/DType.java + src/jsr335/agent/generic/DTypeVariable.java + src/jsr335/agent/generic/MethodDescriptor.java + src/jsr335/agent/generic/PrimitiveDType.java + src/jsr335/agent/generic/SignatureReader.java + src/jsr335/agent/generic/TypeVariableDecl.java + src/jsr335/agent/generic/TypeVariableMap.java From robert.field at oracle.com Fri Jul 15 13:26:55 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Fri, 15 Jul 2011 20:26:55 +0000 Subject: hg: lambda/defender-prototype: More clean-up Message-ID: <20110715202655.95A794746E@hg.openjdk.java.net> Changeset: 87bc7f1ce03c Author: Robert Field Date: 2011-07-15 13:27 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/87bc7f1ce03c More clean-up ! src/jsr335/agent/Agent.java ! src/jsr335/agent/ClassModel.java ! src/jsr335/agent/DelegatingWeaveAnalyzer.java ! src/jsr335/agent/MappingVisitor.java - src/jsr335/agent/Util.java ! src/jsr335/agent/WeaveClassVisitor.java ! src/jsr335/agent/batch/BatchExecute.java ! src/jsr335/agent/batch/Main.java From robert.field at oracle.com Fri Jul 15 14:29:44 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Fri, 15 Jul 2011 21:29:44 +0000 Subject: hg: lambda/defender-prototype: Collapse away DelegatingWeaveAnalyzer Message-ID: <20110715212944.B0DFB47471@hg.openjdk.java.net> Changeset: 98567d4da3ca Author: Robert Field Date: 2011-07-15 14:28 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/98567d4da3ca Collapse away DelegatingWeaveAnalyzer ! src/jsr335/agent/Agent.java ! src/jsr335/agent/ClassModel.java - src/jsr335/agent/DelegatingWeaveAnalyzer.java ! src/jsr335/agent/batch/BatchExecute.java From ali.ebrahimi1781 at gmail.com Sat Jul 16 00:59:57 2011 From: ali.ebrahimi1781 at gmail.com (Ali Ebrahimi) Date: Sat, 16 Jul 2011 11:29:57 +0330 Subject: compiler accepts incompatible method reference for Sam conversion In-Reply-To: <4E1D6ADA.2060705@oracle.com> References: <4E1D5214.70004@univ-mlv.fr> <4E1D6ADA.2060705@oracle.com> Message-ID: Hi, for me this still crash with full lambda repo build. The main reason for this, i think, is that hotspot sub-repo of lambda repository is not sync with jdkb147(currently, latest tag is jdkb143). Best Regards, Ali Ebrahimi On Wed, Jul 13, 2011 at 1:22 PM, Maurizio Cimadamore < maurizio.cimadamore at oracle.com> wrote: > Ali, > this works for me (using b147 - or the VM bundled in the lambda repo). > There have been tons of fixes in the MH area lately, so make sure you grab a > more recent JDK 7 snapshot (I used to see those problems too before the > latest lambda merge, but now ost of them went away). > > Note also that, in cases in which 292 code is still unstable, you can > switch back to the old generation logic using the -XDuseProxy flag, which > should remove all 292-related problems (as, by doing so, > java.lang.reflect.Proxy will be used instead). > > I will be pushing a fix for the other issue (incompatible method ref > erroneously accepted by javac) shortly. > > Thanks > Maurizio > > > On 13/07/11 10:36, Ali Ebrahimi wrote: > >> Hi Remi, >> >> On 7/13/11, R?mi Forax wrote: >> >>> On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: >>> >>> Hi Ali, >>> >>> ... >>> >>>> MethodHandle mh = >>>> MethodHandles.lookup().**findStatic(MethodHandleTest.**class, >>>> "sTest", MethodType.methodType(void.**class,int.class,int.class)); >>>> MethodHandle smh = mh.asSpreader(Object[].class, >>>> mh.type().parameterCount()); >>>> >>>> smh.invoke(new Object[]{i,i});<==============**=crash >>>> >>>> main cause: mh.asSpreader >>>> >>>> I don't known this crash appears in jdkb147. >>>> >>> What you want here is to use asCollector, not asSpreader. >>> asSpreader requires that the method as already an object array >>> and extract the value from it. >>> >> May be i'm wrong. but this code picked from MethodHandleProxies class >> >> public static >> T asInterfaceInstance(final Class intfc, final MethodHandle >> target) { >> final Method sm = getSingleMethod(intfc); >> if (sm == null) >> throw new IllegalArgumentException("not a single-method >> interface: "+intfc.getName()); >> MethodType smMT = MethodType.methodType(sm.**getReturnType(), >> sm.getParameterTypes()); >> MethodHandle checkTarget = target.asType(smMT); // make throw WMT >> checkTarget = >> checkTarget.asType(**checkTarget.type().**changeReturnType(Object.class)* >> *); >> final MethodHandle vaTarget = >> checkTarget.asSpreader(Object[**].class, smMT.parameterCount()); >> return intfc.cast(Proxy.**newProxyInstance( >> intfc.getClassLoader(), >> new Class[]{ intfc, WrapperInstance.class }, >> new InvocationHandler() { >> private Object getArg(String name) { >> if ((Object)name == >> "getWrapperInstanceTarget") return target; >> if ((Object)name == "getWrapperInstanceType") >> return intfc; >> throw new AssertionError(); >> } >> public Object invoke(Object proxy, Method method, >> Object[] args) throws Throwable { >> if (method.getDeclaringClass() == >> WrapperInstance.class) >> return getArg(method.getName()); >> if (method.equals(sm)) >> return vaTarget.invokeExact(args); >> if (isObjectMethod(method)) >> return callObjectMethod(this, method, args); >> throw new InternalError(); >> } >> })); >> } >> >> and this results in this crash: >> class MethodHandleTest{ >> ... >> public static void sTest(int x,int y){ >> // System.out.println("stest"); >> } >> >> static interface Sam{ >> void m(int x,int y); >> } >> .. >> Sam sam = MethodHandleTest#sTest; >> sam.m(1,1);<========== >> >> In your example, the call to mh.asSpreader should return a runtime >>> exception, >>> I will investigate why it's not the case when I will be at my office :) >>> >>> Best Regards, >>>> Ali Ebrahimi >>>> >>> regards, >>> R?mi >>> >>> >>> ______________________________**_________________ >>> mlvm-dev mailing list >>> mlvm-dev at openjdk.java.net >>> http://mail.openjdk.java.net/**mailman/listinfo/mlvm-dev >>> >>> Best Regards, >> Ali Ebrahimi >> >> > From maurizio.cimadamore at oracle.com Sat Jul 16 04:26:13 2011 From: maurizio.cimadamore at oracle.com (maurizio cimadamore) Date: Sat, 16 Jul 2011 12:26:13 +0100 Subject: compiler accepts incompatible method reference for Sam conversion In-Reply-To: References: <4E1D5214.70004@univ-mlv.fr> <4E1D6ADA.2060705@oracle.com> Message-ID: <4E217555.8060701@oracle.com> On 16/07/2011 08:59, Ali Ebrahimi wrote: > Hi, > for me this still crash with full lambda repo build. > The main reason for this, i think, is that hotspot sub-repo of lambda > repository is not sync with jdkb147(currently, latest tag is jdkb143). Yeah - I noticed the weird tag in hotspot - I merged it against the JDK 8 repo, which seems to have the same problem (all subrepos have b147 tag but hotspot, which has b143). I will investigate about this. Maurizio > > Best Regards, > Ali Ebrahimi > > On Wed, Jul 13, 2011 at 1:22 PM, Maurizio Cimadamore > > wrote: > > Ali, > this works for me (using b147 - or the VM bundled in the lambda > repo). There have been tons of fixes in the MH area lately, so > make sure you grab a more recent JDK 7 snapshot (I used to see > those problems too before the latest lambda merge, but now ost of > them went away). > > Note also that, in cases in which 292 code is still unstable, you > can switch back to the old generation logic using the -XDuseProxy > flag, which should remove all 292-related problems (as, by doing > so, java.lang.reflect.Proxy will be used instead). > > I will be pushing a fix for the other issue (incompatible method > ref erroneously accepted by javac) shortly. > > Thanks > Maurizio > > > On 13/07/11 10:36, Ali Ebrahimi wrote: > > Hi Remi, > > On 7/13/11, R?mi Forax > wrote: > > On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: > > Hi Ali, > > ... > > MethodHandle mh = > MethodHandles.lookup().findStatic(MethodHandleTest.class, > "sTest", > MethodType.methodType(void.class,int.class,int.class)); > MethodHandle smh = mh.asSpreader(Object[].class, > mh.type().parameterCount()); > > smh.invoke(new Object[]{i,i});<===============crash > > main cause: mh.asSpreader > > I don't known this crash appears in jdkb147. > > What you want here is to use asCollector, not asSpreader. > asSpreader requires that the method as already an object array > and extract the value from it. > > May be i'm wrong. but this code picked from > MethodHandleProxies class > > public static > T asInterfaceInstance(final Class intfc, final > MethodHandle target) { > final Method sm = getSingleMethod(intfc); > if (sm == null) > throw new IllegalArgumentException("not a > single-method > interface: "+intfc.getName()); > MethodType smMT = > MethodType.methodType(sm.getReturnType(), > sm.getParameterTypes()); > MethodHandle checkTarget = target.asType(smMT); // > make throw WMT > checkTarget = > checkTarget.asType(checkTarget.type().changeReturnType(Object.class)); > final MethodHandle vaTarget = > checkTarget.asSpreader(Object[].class, smMT.parameterCount()); > return intfc.cast(Proxy.newProxyInstance( > intfc.getClassLoader(), > new Class[]{ intfc, WrapperInstance.class }, > new InvocationHandler() { > private Object getArg(String name) { > if ((Object)name == > "getWrapperInstanceTarget") return target; > if ((Object)name == > "getWrapperInstanceType") > return intfc; > throw new AssertionError(); > } > public Object invoke(Object proxy, Method > method, > Object[] args) throws Throwable { > if (method.getDeclaringClass() == > WrapperInstance.class) > return getArg(method.getName()); > if (method.equals(sm)) > return vaTarget.invokeExact(args); > if (isObjectMethod(method)) > return callObjectMethod(this, > method, args); > throw new InternalError(); > } > })); > } > > and this results in this crash: > class MethodHandleTest{ > ... > public static void sTest(int x,int y){ > // System.out.println("stest"); > } > > static interface Sam{ > void m(int x,int y); > } > .. > Sam sam = MethodHandleTest#sTest; > sam.m(1,1);<========== > > In your example, the call to mh.asSpreader should return a > runtime > exception, > I will investigate why it's not the case when I will be at > my office :) > > Best Regards, > Ali Ebrahimi > > regards, > R?mi > > > _______________________________________________ > mlvm-dev mailing list > mlvm-dev at openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > > Best Regards, > Ali Ebrahimi > > > From John.Coomes at oracle.com Sat Jul 16 13:07:24 2011 From: John.Coomes at oracle.com (John Coomes) Date: Sat, 16 Jul 2011 13:07:24 -0700 Subject: compiler accepts incompatible method reference for Sam conversion In-Reply-To: <4E217555.8060701@oracle.com> References: <4E1D5214.70004@univ-mlv.fr> <4E1D6ADA.2060705@oracle.com> <4E217555.8060701@oracle.com> Message-ID: <20001.61308.895726.491496@oracle.com> maurizio cimadamore (maurizio.cimadamore at oracle.com) wrote: > On 16/07/2011 08:59, Ali Ebrahimi wrote: > > Hi, > > for me this still crash with full lambda repo build. > > The main reason for this, i think, is that hotspot sub-repo of lambda > > repository is not sync with jdkb147(currently, latest tag is jdkb143). > Yeah - I noticed the weird tag in hotspot - I merged it against the JDK > 8 repo, which seems to have the same problem (all subrepos have b147 tag > but hotspot, which has b143). The hotspot in jdk8 is missing some fixes that went in late to jdk7 as well as the latest build tags. This is due to the way changes were restricted/managed at the end of jdk7. The missing fixes should be pushed up to jdk8/jdk8/hotspot next week. The fate of the tags is less clear, since the hotspot repo in jdk7 diverged from jdk8. I'll see what can be done about the tags. -John > I will investigate about this. > > Maurizio > > > > Best Regards, > > Ali Ebrahimi > > > > On Wed, Jul 13, 2011 at 1:22 PM, Maurizio Cimadamore > > > > wrote: > > > > Ali, > > this works for me (using b147 - or the VM bundled in the lambda > > repo). There have been tons of fixes in the MH area lately, so > > make sure you grab a more recent JDK 7 snapshot (I used to see > > those problems too before the latest lambda merge, but now ost of > > them went away). > > > > Note also that, in cases in which 292 code is still unstable, you > > can switch back to the old generation logic using the -XDuseProxy > > flag, which should remove all 292-related problems (as, by doing > > so, java.lang.reflect.Proxy will be used instead). > > > > I will be pushing a fix for the other issue (incompatible method > > ref erroneously accepted by javac) shortly. > > > > Thanks > > Maurizio > > > > > > On 13/07/11 10:36, Ali Ebrahimi wrote: > > > > Hi Remi, > > > > On 7/13/11, R?mi Forax > > wrote: > > > > On 07/13/2011 06:01 AM, Ali Ebrahimi wrote: > > > > Hi Ali, > > > > ... > > > > MethodHandle mh = > > MethodHandles.lookup().findStatic(MethodHandleTest.class, > > "sTest", > > MethodType.methodType(void.class,int.class,int.class)); > > MethodHandle smh = mh.asSpreader(Object[].class, > > mh.type().parameterCount()); > > > > smh.invoke(new Object[]{i,i});<===============crash > > > > main cause: mh.asSpreader > > > > I don't known this crash appears in jdkb147. > > > > What you want here is to use asCollector, not asSpreader. > > asSpreader requires that the method as already an object array > > and extract the value from it. > > > > May be i'm wrong. but this code picked from > > MethodHandleProxies class > > > > public static > > T asInterfaceInstance(final Class intfc, final > > MethodHandle target) { > > final Method sm = getSingleMethod(intfc); > > if (sm == null) > > throw new IllegalArgumentException("not a > > single-method > > interface: "+intfc.getName()); > > MethodType smMT = > > MethodType.methodType(sm.getReturnType(), > > sm.getParameterTypes()); > > MethodHandle checkTarget = target.asType(smMT); // > > make throw WMT > > checkTarget = > > checkTarget.asType(checkTarget.type().changeReturnType(Object.class)); > > final MethodHandle vaTarget = > > checkTarget.asSpreader(Object[].class, smMT.parameterCount()); > > return intfc.cast(Proxy.newProxyInstance( > > intfc.getClassLoader(), > > new Class[]{ intfc, WrapperInstance.class }, > > new InvocationHandler() { > > private Object getArg(String name) { > > if ((Object)name == > > "getWrapperInstanceTarget") return target; > > if ((Object)name == > > "getWrapperInstanceType") > > return intfc; > > throw new AssertionError(); > > } > > public Object invoke(Object proxy, Method > > method, > > Object[] args) throws Throwable { > > if (method.getDeclaringClass() == > > WrapperInstance.class) > > return getArg(method.getName()); > > if (method.equals(sm)) > > return vaTarget.invokeExact(args); > > if (isObjectMethod(method)) > > return callObjectMethod(this, > > method, args); > > throw new InternalError(); > > } > > })); > > } > > > > and this results in this crash: > > class MethodHandleTest{ > > ... > > public static void sTest(int x,int y){ > > // System.out.println("stest"); > > } > > > > static interface Sam{ > > void m(int x,int y); > > } > > .. > > Sam sam = MethodHandleTest#sTest; > > sam.m(1,1);<========== > > > > In your example, the call to mh.asSpreader should return a > > runtime > > exception, > > I will investigate why it's not the case when I will be at > > my office :) > > > > Best Regards, > > Ali Ebrahimi > > > > regards, > > R?mi > > > > > > _______________________________________________ > > mlvm-dev mailing list > > mlvm-dev at openjdk.java.net > > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > > > > Best Regards, > > Ali Ebrahimi > > > > > > > > From jim.holmlund at sun.com Mon Jul 18 14:40:14 2011 From: jim.holmlund at sun.com (jim.holmlund at sun.com) Date: Mon, 18 Jul 2011 21:40:14 +0000 Subject: hg: lambda/lambda/langtools: Added methodReference/BridgeMethod.java. Includes workarounds for 7054590, 7028808 and 7067623 Message-ID: <20110718214021.BDD9E47512@hg.openjdk.java.net> Changeset: 305594037adf Author: jjh Date: 2011-07-18 14:39 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/305594037adf Added methodReference/BridgeMethod.java. Includes workarounds for 7054590, 7028808 and 7067623 Reviewed-by: mcimadamore Contributed-by: Sue Wei + test/tools/javac/lambda/sqe/methodReference/BridgeMethod.java From robert.field at oracle.com Mon Jul 18 23:37:15 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Tue, 19 Jul 2011 06:37:15 +0000 Subject: hg: lambda/defender-prototype: Implement handling of generic handling of extension methods. Remove previous defender and bridge analysis. Replace with generic method analysis. Move towards reflection based and VM control flow. All tests now pass. Agent entry cannot find method return type variable in java.util.ServiceLoader inner classes -- does not effect result. Message-ID: <20110719063715.767FE47528@hg.openjdk.java.net> Changeset: 9260635b0f8e Author: Robert Field Date: 2011-07-18 23:37 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/9260635b0f8e Implement handling of generic handling of extension methods. Remove previous defender and bridge analysis. Replace with generic method analysis. Move towards reflection based and VM control flow. All tests now pass. Agent entry cannot find method return type variable in java.util.ServiceLoader inner classes -- does not effect result. ! build.xml ! src/jsr335/agent/Agent.java ! src/jsr335/agent/ClassModel.java ! src/jsr335/agent/ClassModelMap.java + src/jsr335/agent/ComputeWeaves.java - src/jsr335/agent/ExtensionMethod.java ! src/jsr335/agent/MappingVisitor.java + src/jsr335/agent/Method.java - src/jsr335/agent/MethodKey.java + src/jsr335/agent/ProjectedMethod.java + src/jsr335/agent/RawMethod.java ! src/jsr335/agent/Weave.java ! src/jsr335/agent/WeaveClassVisitor.java ! src/jsr335/agent/batch/BatchExecute.java - src/jsr335/agent/generic/BridgeDetect.java ! src/jsr335/agent/generic/SignatureReader.java + src/jsr335/agent/generic/WildCardMinusDType.java + src/jsr335/agent/generic/WildCardPlusDType.java + src/jsr335/agent/generic/WildCardStarDType.java ! test/jsr335/agent/junit/BridgeTest.java ! test/jsr335/agent/junit/DualingTest.java From maurizio.cimadamore at oracle.com Thu Jul 21 16:28:24 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Thu, 21 Jul 2011 23:28:24 +0000 Subject: hg: lambda/lambda/langtools: Allow lambdas/method references in array initializers Message-ID: <20110721232833.514AC47628@hg.openjdk.java.net> Changeset: 655f4ec01337 Author: mcimadamore Date: 2011-07-21 16:26 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/655f4ec01337 Allow lambdas/method references in array initializers ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/lambda/LambdaExpr09.java + test/tools/javac/lambda/LambdaExpr10.java + test/tools/javac/lambda/LambdaExpr10.out From maurizio.cimadamore at oracle.com Thu Jul 21 23:33:21 2011 From: maurizio.cimadamore at oracle.com (maurizio.cimadamore at oracle.com) Date: Fri, 22 Jul 2011 06:33:21 +0000 Subject: hg: lambda/lambda/langtools: Clean up code for detecting whether a lambda expression should be allowed in given context Message-ID: <20110722063327.0F4E447639@hg.openjdk.java.net> Changeset: 73baee568e9e Author: mcimadamore Date: 2011-07-21 23:32 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/73baee568e9e Clean up code for detecting whether a lambda expression should be allowed in given context ! src/share/classes/com/sun/tools/javac/comp/Attr.java From wayne.furmidge at ba.com Fri Jul 22 12:15:06 2011 From: wayne.furmidge at ba.com (Wayne Furmidge) Date: Fri, 22 Jul 2011 20:15:06 +0100 Subject: Wayne Furmidge is out of the office. Message-ID: I will be out of the office starting 22/07/2011 and will not return until 25/07/2011. I will respond to your message when I return. -- This message is private and confidential and may also be legally privileged. If you have received this message in error, please email it back to the sender and immediately permanently delete it from your computer system. Please do not read, print, re-transmit, store or act in reliance on it or any attachments. British Airways may monitor email traffic data and also the content of emails, where permitted by law, for the purposes of security and staff training and in order to prevent or detect unauthorised use of the British Airways email system. Virus checking of emails (including attachments) is the responsibility of the recipient. British Airways Plc is a public limited company registered in England and Wales. Registered number: 1777777. Registered office: Waterside, PO Box 365, Harmondsworth, West Drayton, Middlesex, England, UB7 0GB. Additional terms and conditions are available on our website: www.ba.com From lucas at cavalcanti.me Fri Jul 22 13:24:52 2011 From: lucas at cavalcanti.me (Lucas Cavalcanti) Date: Fri, 22 Jul 2011 17:24:52 -0300 Subject: Wayne Furmidge is out of the office. In-Reply-To: References: Message-ID: Thank you for the spam ;) On Fri, Jul 22, 2011 at 4:15 PM, Wayne Furmidge wrote: > > I will be out of the office starting 22/07/2011 and will not return until > 25/07/2011. > > I will respond to your message when I return. > > -- > This message is private and confidential and may also be legally > privileged. If you have received this message in error, please email it > back to the sender and immediately permanently delete it from your computer > system. Please do not read, print, re-transmit, store or act in reliance on > it or any attachments. > > British Airways may monitor email traffic data and also the content of > emails, where permitted by law, for the purposes of security and staff > training and in order to prevent or detect unauthorised use of the British > Airways email system. > > Virus checking of emails (including attachments) is the responsibility of > the recipient. > > British Airways Plc is a public limited company registered in England and > Wales. Registered number: 1777777. Registered office: Waterside, PO Box > 365, Harmondsworth, West Drayton, Middlesex, England, UB7 0GB. > > Additional terms and conditions are available on our website: www.ba.com > > > > From robert.field at oracle.com Sun Jul 24 21:39:27 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Mon, 25 Jul 2011 04:39:27 +0000 Subject: hg: lambda/defender-prototype: Fix descriptor parsing for inner classes of generic classes -- as encountered in full JDK weave Message-ID: <20110725043928.62012476E5@hg.openjdk.java.net> Changeset: 250f6f22aadc Author: Robert Field Date: 2011-07-24 21:39 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/250f6f22aadc Fix descriptor parsing for inner classes of generic classes -- as encountered in full JDK weave ! src/jsr335/agent/ComputeWeaves.java ! src/jsr335/agent/generic/ClassDType.java ! src/jsr335/agent/generic/SignatureReader.java ! src/jsr335/agent/generic/TypeVariableMap.java From robert.field at oracle.com Mon Jul 25 19:12:34 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Tue, 26 Jul 2011 02:12:34 +0000 Subject: hg: lambda/defender-prototype: Infrastructure for inner class access to outer type variables Message-ID: <20110726021235.0DF4747713@hg.openjdk.java.net> Changeset: f3f629989d78 Author: Robert Field Date: 2011-07-25 19:11 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/f3f629989d78 Infrastructure for inner class access to outer type variables ! src/jsr335/agent/Agent.java ! src/jsr335/agent/ClassModel.java ! src/jsr335/agent/ComputeWeaves.java ! src/jsr335/agent/MappingVisitor.java ! src/jsr335/agent/generic/ClassDType.java From forax at univ-mlv.fr Tue Jul 26 07:29:31 2011 From: forax at univ-mlv.fr (=?ISO-8859-1?Q?R=E9mi_Forax?=) Date: Tue, 26 Jul 2011 16:29:31 +0200 Subject: JDK 8 inclusion plan ? In-Reply-To: <15b8fed2-1bb9-4498-bcc5-26fb8a7143e8@v12g2000vby.googlegroups.com> References: <15b8fed2-1bb9-4498-bcc5-26fb8a7143e8@v12g2000vby.googlegroups.com> Message-ID: <4E2ECF4B.9080101@univ-mlv.fr> On 07/26/2011 08:35 AM, Martin Skurla wrote: > Hi, > > > JDK 7 will be soon released and we there will be preparation for JDK 8 > soon. I want to ask if type annotations will be part of JDK 8, if > there is official state from Oracle. > > The question is if the type system after adding lambda expressions/ > closures + type annotations will not be way too complex to understand. > > And I want to ask if you support or plan to support type annotations > within lambdas? > > > Bye, > M. CC to lambda-dev list, I may be wrong. Lambda spec adds new syntax but no new kind of type, a lambda is converted to be seen as an instance of an interface with one method. Runnable r = #{ System.out.println("hello lambda"); }; You can see it as a better inner class, a better classless inner class is in fact a more accurate picture. Because the lambda spec use interfaces to type lambdas there is no new kind of type for JSR 308. I see only one interaction between JSR335 and JSR308, JSR308 allows you to specify annotation on return type but the lambda syntax doesn't specify any return type (the return type is inferred from the return type of the method of the interface). Comparator c = #{ s1, s2 -> Integer.compare(s1.hashCode(), s2.hashCode()) }; Here, the return type of the lambda is int because the method compare of Comparator returns an int. The open question is how to specify a type annotation of this implicit return type ? So to answer to your question, introducing lambdas as it's currently specified doesn't change the type system (still only use nominal types, no structural type) but lambda spec introduces a new syntax that will require JSR308 to specify where to put the type annotation corresponding to the implicit return type. cheers, R?mi From robert.field at oracle.com Tue Jul 26 11:30:59 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Tue, 26 Jul 2011 18:30:59 +0000 Subject: hg: lambda/defender-prototype: Move type descriptor processing into completion phase so the inner class info can be used Message-ID: <20110726183059.EB3C047736@hg.openjdk.java.net> Changeset: 13a167d64020 Author: Robert Field Date: 2011-07-26 11:31 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/13a167d64020 Move type descriptor processing into completion phase so the inner class info can be used ! src/jsr335/agent/ClassKey.java ! src/jsr335/agent/ClassModel.java ! src/jsr335/agent/ClassModelMap.java ! src/jsr335/agent/ComputeWeaves.java ! src/jsr335/agent/MappingVisitor.java ! src/jsr335/agent/Method.java ! src/jsr335/agent/ProjectedMethod.java ! src/jsr335/agent/RawMethod.java ! src/jsr335/agent/WeaveClassVisitor.java ! src/jsr335/agent/batch/Entry.java From robert.field at oracle.com Wed Jul 27 13:40:22 2011 From: robert.field at oracle.com (robert.field at oracle.com) Date: Wed, 27 Jul 2011 20:40:22 +0000 Subject: hg: lambda/defender-prototype: Handle nested class references to outer class type variables (TODO: local inner classes) Message-ID: <20110727204023.147CE47783@hg.openjdk.java.net> Changeset: 53f2b4be5796 Author: Robert Field Date: 2011-07-27 13:40 -0700 URL: http://hg.openjdk.java.net/lambda/defender-prototype/rev/53f2b4be5796 Handle nested class references to outer class type variables (TODO: local inner classes) ! src/jsr335/agent/Agent.java ! src/jsr335/agent/ComputeWeaves.java ! src/jsr335/agent/MappingVisitor.java ! src/jsr335/agent/generic/ClassDType.java ! src/jsr335/agent/generic/TypeVariableMap.java + test/jsr335/agent/junit/InnerGenericTest.java From jim.holmlund at sun.com Wed Jul 27 15:50:30 2011 From: jim.holmlund at sun.com (jim.holmlund at sun.com) Date: Wed, 27 Jul 2011 22:50:30 +0000 Subject: hg: lambda/lambda/langtools: Removed .jcheck/conf so that jcheck won't be run even if named in ~/.hgrc Message-ID: <20110727225038.2E8CE47788@hg.openjdk.java.net> Changeset: b81b670567c4 Author: jjh Date: 2011-07-27 15:49 -0700 URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/b81b670567c4 Removed .jcheck/conf so that jcheck won't be run even if named in ~/.hgrc - .jcheck/conf From brian.goetz at oracle.com Wed Jul 27 17:23:34 2011 From: brian.goetz at oracle.com (Brian Goetz) Date: Wed, 27 Jul 2011 17:23:34 -0700 Subject: Simple syntax survey Message-ID: <56140BA4-F55C-49AD-89D4-3609755C567F@oracle.com> I promised a while back a series of one-question A/B syntax surveys, here is the first one: https://www.surveymonkey.com/s/R366LXZ Feel free to publish this link. Thanks! From john at milsson.nu Wed Jul 27 18:07:22 2011 From: john at milsson.nu (John Nilsson) Date: Thu, 28 Jul 2011 03:07:22 +0200 Subject: Simple syntax survey In-Reply-To: <56140BA4-F55C-49AD-89D4-3609755C567F@oracle.com> References: <56140BA4-F55C-49AD-89D4-3609755C567F@oracle.com> Message-ID: Do you intend for scores to be inferred from the option descriptions (1-3) or do you literally interpret the option descriptions? I'm asking because none of the three options in the first questions captured "Good enough, but could be even more compact" array.replaceAll( *2 );BR, John On Thu, Jul 28, 2011 at 2:23 AM, Brian Goetz wrote: > I promised a while back a series of one-question A/B syntax surveys, here > is the first one: > https://www.surveymonkey.com/s/R366LXZ > > Feel free to publish this link. > > Thanks! > > From brian.goetz at oracle.com Wed Jul 27 18:11:44 2011 From: brian.goetz at oracle.com (Brian Goetz) Date: Wed, 27 Jul 2011 18:11:44 -0700 Subject: Simple syntax survey In-Reply-To: References: <56140BA4-F55C-49AD-89D4-3609755C567F@oracle.com> Message-ID: <1842D719-828A-457B-9691-E8DCE2405013@oracle.com> The idea is to pick the description that most closely matches your feelings. This is simply a sentiment poll. On Jul 27, 2011, at 6:07 PM, John Nilsson wrote: > Do you intend for scores to be inferred from the option descriptions (1-3) or do you literally interpret the option descriptions? > > I'm asking because none of the three options in the first questions captured "Good enough, but could be even more compact" > array.replaceAll( *2 ); > > BR, > John > > On Thu, Jul 28, 2011 at 2:23 AM, Brian Goetz wrote: > I promised a while back a series of one-question A/B syntax surveys, here is the first one: > https://www.surveymonkey.com/s/R366LXZ > > Feel free to publish this link. > > Thanks! > > From timvolpe at gmail.com Fri Jul 29 04:31:09 2011 From: timvolpe at gmail.com (Tim Fox) Date: Fri, 29 Jul 2011 12:31:09 +0100 Subject: Effectively final Message-ID: <4E3299FD.7020309@gmail.com> Hello All, I was just looking at Brian Goetz's proposal "State of the Lambda". Firstly, I'd like to say that adding lambdas/closures to the Java language will be a huge win. However I do have some concerns with the proposal that lambdas will not be able to modify captured local variables. To give some background, the angle I am coming from is someone who is writing an asynchronous programming framework which makes have use of callbacks. Similar frameworks exist in other languages, e.g. node.js is a very popular one right now. AIUI most languages which support closures/lambdas do allow local variables to be mutated from within the closure. This allows a local variable to co-ordinate the results from different callbacks and allows asynchronous control flow to be composed in a clear and simple way. I fully understand that if multiple threads are involved then allowing such access can result in race conditions. However these frameworks typically guarantee that all access to a co-ordinated set of objects is accessed by at most one thread (event loop / reactor pattern), so race conditions are not an issue. Right now, because of lack of lambdas/closures such a style of programming is clunky using Java (since anonymous classes are required), but even with the proposed lambdas it would still be difficult since it would require co-operating closures to interact via final object references (e.g. using AtomicLong, AtomicReference or some other object), which will result in ugly and clunky code (compared to other programming languages). This seems really unnecessary when the framework can guaranteed the same thread always executes the code. IMHO it would be nice, and a big win for such a programming style, to, perhaps default to final variable access only (for safety with multiple threads), but to allow this rule to be relaxed when the framework can guarantee that thread safety is not a concern, thus allowing much simpler code. From brian.goetz at oracle.com Fri Jul 29 11:08:09 2011 From: brian.goetz at oracle.com (Brian Goetz) Date: Fri, 29 Jul 2011 14:08:09 -0400 Subject: Effectively final In-Reply-To: <4E3299FD.7020309@gmail.com> References: <4E3299FD.7020309@gmail.com> Message-ID: <4E32F709.6060205@oracle.com> You are right to have these concerns. The canonical example is: int fooSum = 0; list.forEach(#{ x -> sum += x.getFoo() }); You are correct that there are purely sequential use cases that benefit from this approach, which are not subject to data races. (On the other hand, it is nearly impossible to write the above primitive-using code so that it is not subject to data races in a parallel environment.) We have explored approaches of capturing this constraint in the language, so that we could prevent or detect when such a "thread-confined" lambda is used from the wrong thread. While these are likely feasible, they add complexity. Examples like the above have been around for 50+ years. However, it is worth noting that they became popular in the context of a sequential, uni-processor world. Rather than expend energy and introduce additional complexity to prop up an aging and increasingly irrelevant programming idiom, we instead are directing our energies towards providing more modern, parallel-friendly idioms, like: int fooSum = list.reduce(0, Reducers.INT_SUM); which is more compact, more readable (once you learn what "reduce" means), less error-prone, and can be parallelized by the library. You state that "most languages that support closures do allow capture of mutable local variables." However, most of them have {little,no,bad} support for safe concurrency or parallelism. If Java were a strictly sequential language, the story might be different, but that isn't the reality -- or desirable. We had three basic choices here: 1. Allow arbitrary mutable capture, and leave it to the user to not create data races. 2. Complicate the language further by introducing a notion of thread-confined lambdas, and allow mutable local capture by thread-confined lambdas. 3. Prohibit mutable local capture entirely. To do (1) in 2011 would be foolish; this effectively opens a whole new category of concurrency hazards -- data races on locals -- that didn't exist before. If I know anything about concurrency in Java, I know that it is already too hard to write correct concurrent code and to verify that concurrent code is correct. (Local variables are one bastion of safety in this analysis.) Making it harder would be dumb; making it harder just to prop up an aging idiom that has good alternatives would be dumber. We could do (2) but we felt that we were better off delivering a simpler language feature earlier rather than complicating/delaying to support this use case. So we chose (3), which still provides the option to do (1) or (2) in the future. > I was just looking at Brian Goetz's proposal "State of the Lambda". > Firstly, I'd like to say that adding lambdas/closures to the Java > language will be a huge win. However I do have some concerns with the > proposal that lambdas will not be able to modify captured local variables. > > To give some background, the angle I am coming from is someone who is > writing an asynchronous programming framework which makes have use of > callbacks. Similar frameworks exist in other languages, e.g. node.js is > a very popular one right now. > > AIUI most languages which support closures/lambdas do allow local > variables to be mutated from within the closure. This allows a local > variable to co-ordinate the results from different callbacks and allows > asynchronous control flow to be composed in a clear and simple way. > > I fully understand that if multiple threads are involved then allowing > such access can result in race conditions. However these frameworks > typically guarantee that all access to a co-ordinated set of objects is > accessed by at most one thread (event loop / reactor pattern), so race > conditions are not an issue. > > Right now, because of lack of lambdas/closures such a style of > programming is clunky using Java (since anonymous classes are required), > but even with the proposed lambdas it would still be difficult since it > would require co-operating closures to interact via final object > references (e.g. using AtomicLong, AtomicReference or some other > object), which will result in ugly and clunky code (compared to other > programming languages). This seems really unnecessary when the framework > can guaranteed the same thread always executes the code. > > IMHO it would be nice, and a big win for such a programming style, to, > perhaps default to final variable access only (for safety with multiple > threads), but to allow this rule to be relaxed when the framework can > guarantee that thread safety is not a concern, thus allowing much > simpler code. > > > From per at bothner.com Fri Jul 29 11:33:08 2011 From: per at bothner.com (Per Bothner) Date: Fri, 29 Jul 2011 11:33:08 -0700 Subject: Effectively final In-Reply-To: <4E3299FD.7020309@gmail.com> References: <4E3299FD.7020309@gmail.com> Message-ID: <4E32FCE4.2000909@bothner.com> On 07/29/2011 04:31 AM, Tim Fox wrote: > AIUI most languages which support closures/lambdas do allow local > variables to be mutated from within the closure. As mentioned before one problem with this is capturing loop control variables, because you could end up capturing the last value, rather than the value of the corresponding iteration. It's worth noting this is not an issue for the Scheme language (which basically introduced closures) because each iteration is defined to create a *new* set of the loop control variables. That is because the loop is syntactic sugar for a recursive function definition and call, and the "loop control variables" are function parameters: Each iteration is a tail-call, with a new set of parameter instances. (Conceptually: Of course this is normally optimized to a loop, and the loop variables reused.) There is an ambiguity with mutable loop control variables: Are they local to a specific iteration, or is there a single variable shared across all iterations? Sometimes you want one; sometimes you want the other. Unfortunately, the traditional for-loop has IMO the default the wrong way, and we can't fix it (The Java 5 enhance for loop correctly makes the iteration variable local to each iteration.) Unfortunately this mess is because of one of the "features" that helped make Java successful when it first appeared: Using C syntax and control structures. -- --Per Bothner per at bothner.com http://per.bothner.com/ From timvolpe at gmail.com Fri Jul 29 11:42:56 2011 From: timvolpe at gmail.com (Tim Fox) Date: Fri, 29 Jul 2011 19:42:56 +0100 Subject: Effectively final In-Reply-To: <4E32F709.6060205@oracle.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> Message-ID: <4E32FF30.40206@gmail.com> Brian, Thanks for your reply. Comments below On 29/07/2011 19:08, Brian Goetz wrote: > You are right to have these concerns. > > The canonical example is: > > int fooSum = 0; > list.forEach(#{ x -> sum += x.getFoo() }); > > You are correct that there are purely sequential use cases that > benefit from this approach, which are not subject to data races. (On > the other hand, it is nearly impossible to write the above > primitive-using code so that it is not subject to data races in a > parallel environment.) We have explored approaches of capturing this > constraint in the language, so that we could prevent or detect when > such a "thread-confined" lambda is used from the wrong thread. While > these are likely feasible, they add complexity. > > Examples like the above have been around for 50+ years. However, it > is worth noting that they became popular in the context of a > sequential, uni-processor world. Rather than expend energy and > introduce additional complexity to prop up an aging and increasingly > irrelevant programming idiom, I'd have to disagree that this approach is aging, the success of node.js and ruby event machine are good counter-examples. They both use the reactor pattern (i.e. a single event loop which executes everything), so the developer does not have to worry about concurrency concerns. This is a huge win in terms of simplicity for the developer. Frameworks like node and eventmachine scale over cores by spinning up more processes, not threads (since there's only one event loop per process). This is less than ideal when you want to share state between event loops. New frameworks like node.x https://github.com/purplefox/node.x (which is what I am working on) allow multiple event loops per process (typically one event loop per core), and then partition objects so they are "owned" by one of the event loops. The framework will then guarantee that all callbacks on those objects are always executed by the same event loop. What you get out of this is the user can write all their code as single threaded, but the system as a whole scales well over available cores without having to spin up more processes. If the framework can guarantee this code is always executed by the same thread, it seems wrong to force users to use AtomicReferences (or whatever) to co-ordinate results from different callbacks. > we instead are directing our energies towards providing more modern, > parallel-friendly idioms, like: > > int fooSum = list.reduce(0, Reducers.INT_SUM); > > which is more compact, more readable (once you learn what "reduce" > means), less error-prone, and can be parallelized by the library. > > You state that "most languages that support closures do allow capture > of mutable local variables." However, most of them have > {little,no,bad} support for safe concurrency or parallelism. If Java > were a strictly sequential language, the story might be different, but > that isn't the reality -- or desirable. > > We had three basic choices here: > 1. Allow arbitrary mutable capture, and leave it to the user to not > create data races. > 2. Complicate the language further by introducing a notion of > thread-confined lambdas, and allow mutable local capture by > thread-confined lambdas. > 3. Prohibit mutable local capture entirely. > > To do (1) in 2011 would be foolish; I agree that 3) should be the default, since most people won't be using frameworks that guarantee access is always by the same thread. But I think it would be great if 2) was an option for those frameworks (and I think they will be a growing trend) which would benefit from a simpler programming style that it would allow. From neal at gafter.com Fri Jul 29 13:39:18 2011 From: neal at gafter.com (Neal Gafter) Date: Fri, 29 Jul 2011 13:39:18 -0700 Subject: Effectively final In-Reply-To: <4E32FF30.40206@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> Message-ID: Asynchronous support can be much more usable when supported more directly by the language. But until the language does provide that support you are forced to do it in a less expressive way using libraries. It is true that mutable locals make that less onerous. And I personally prefer that lambdas are usable to organize sequential code as well as concurrent code (remember, method bodies are always sequential today), which may require mutable locals in a language like Java. But on the other hand I believe it is better to provide more direct language support for asynchronous rather then doing it through libraries, and that reduces asynchronous as a motivation for having mutable locals in lambdas. Cheers, Neal On Friday, July 29, 2011, Tim Fox wrote: > Brian, > > Thanks for your reply. Comments below > > On 29/07/2011 19:08, Brian Goetz wrote: >> You are right to have these concerns. >> >> The canonical example is: >> >> int fooSum = 0; >> list.forEach(#{ x -> sum += x.getFoo() }); >> >> You are correct that there are purely sequential use cases that >> benefit from this approach, which are not subject to data races. (On >> the other hand, it is nearly impossible to write the above >> primitive-using code so that it is not subject to data races in a >> parallel environment.) We have explored approaches of capturing this >> constraint in the language, so that we could prevent or detect when >> such a "thread-confined" lambda is used from the wrong thread. While >> these are likely feasible, they add complexity. >> >> Examples like the above have been around for 50+ years. However, it >> is worth noting that they became popular in the context of a >> sequential, uni-processor world. Rather than expend energy and >> introduce additional complexity to prop up an aging and increasingly >> irrelevant programming idiom, > I'd have to disagree that this approach is aging, the success of node.js > and ruby event machine are good counter-examples. They both use the > reactor pattern (i.e. a single event loop which executes everything), so > the developer does not have to worry about concurrency concerns. This is > a huge win in terms of simplicity for the developer. > > Frameworks like node and eventmachine scale over cores by spinning up > more processes, not threads (since there's only one event loop per > process). This is less than ideal when you want to share state between > event loops. > > New frameworks like node.x https://github.com/purplefox/node.x (which is > what I am working on) allow multiple event loops per process (typically > one event loop per core), and then partition objects so they are "owned" > by one of the event loops. The framework will then guarantee that all > callbacks on those objects are always executed by the same event loop. > > What you get out of this is the user can write all their code as single > threaded, but the system as a whole scales well over available cores > without having to spin up more processes. > > If the framework can guarantee this code is always executed by the same > thread, it seems wrong to force users to use AtomicReferences (or > whatever) to co-ordinate results from different callbacks. >> we instead are directing our energies towards providing more modern, >> parallel-friendly idioms, like: >> >> int fooSum = list.reduce(0, Reducers.INT_SUM); >> >> which is more compact, more readable (once you learn what "reduce" >> means), less error-prone, and can be parallelized by the library. >> >> You state that "most languages that support closures do allow capture >> of mutable local variables." However, most of them have >> {little,no,bad} support for safe concurrency or parallelism. If Java >> were a strictly sequential language, the story might be different, but >> that isn't the reality -- or desirable. >> >> We had three basic choices here: >> 1. Allow arbitrary mutable capture, and leave it to the user to not >> create data races. >> 2. Complicate the language further by introducing a notion of >> thread-confined lambdas, and allow mutable local capture by >> thread-confined lambdas. >> 3. Prohibit mutable local capture entirely. >> >> To do (1) in 2011 would be foolish; > I agree that 3) should be the default, since most people won't be using > frameworks that guarantee access is always by the same thread. But I > think it would be great if 2) was an option for those frameworks (and I > think they will be a growing trend) which would benefit from a simpler > programming style that it would allow. > > > From forax at univ-mlv.fr Fri Jul 29 16:27:52 2011 From: forax at univ-mlv.fr (=?ISO-8859-1?Q?R=E9mi_Forax?=) Date: Sat, 30 Jul 2011 01:27:52 +0200 Subject: Effectively final In-Reply-To: <4E32FF30.40206@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> Message-ID: <4E3341F8.9040408@univ-mlv.fr> Hi Tim, see below On 07/29/2011 08:42 PM, Tim Fox wrote: > Brian, > > Thanks for your reply. Comments below > > On 29/07/2011 19:08, Brian Goetz wrote: >> You are right to have these concerns. >> >> The canonical example is: >> >> int fooSum = 0; >> list.forEach(#{ x -> sum += x.getFoo() }); >> >> You are correct that there are purely sequential use cases that >> benefit from this approach, which are not subject to data races. (On >> the other hand, it is nearly impossible to write the above >> primitive-using code so that it is not subject to data races in a >> parallel environment.) We have explored approaches of capturing this >> constraint in the language, so that we could prevent or detect when >> such a "thread-confined" lambda is used from the wrong thread. While >> these are likely feasible, they add complexity. >> >> Examples like the above have been around for 50+ years. However, it >> is worth noting that they became popular in the context of a >> sequential, uni-processor world. Rather than expend energy and >> introduce additional complexity to prop up an aging and increasingly >> irrelevant programming idiom, > I'd have to disagree that this approach is aging, the success of node.js > and ruby event machine are good counter-examples. They both use the > reactor pattern (i.e. a single event loop which executes everything), so > the developer does not have to worry about concurrency concerns. This is > a huge win in terms of simplicity for the developer. > > Frameworks like node and eventmachine scale over cores by spinning up > more processes, not threads (since there's only one event loop per > process). This is less than ideal when you want to share state between > event loops. > > New frameworks like node.x https://github.com/purplefox/node.x (which is > what I am working on) allow multiple event loops per process (typically > one event loop per core), and then partition objects so they are "owned" > by one of the event loops. The framework will then guarantee that all > callbacks on those objects are always executed by the same event loop. > > What you get out of this is the user can write all their code as single > threaded, but the system as a whole scales well over available cores > without having to spin up more processes. > > If the framework can guarantee this code is always executed by the same > thread, it seems wrong to force users to use AtomicReferences (or > whatever) to co-ordinate results from different callbacks. Then you will realize that if the computation that you have to do dominate the read phase and write phase, you will need worker threads (by example, the HTTP parser (even an async one) can take more time than a read or a write) otherwise your server will be stuck waiting because you need to access to a particular thread which is not available (because parsing another request). So you will refine again your model saying it's ok to have a context object (a scope) that contains the results of each phases (read, decode, work, encode, write, etc) that is passed from thread to thread because only one thread can access to that context at a time. This model restricts side effect to only one object and you will be cheerful that Java lambda is not able to capture local state :) Note that you can still refine the model above by adding work stealing between all reader (resp. writer) threads and fork/join between worker thread. >> we instead are directing our energies towards providing more modern, >> parallel-friendly idioms, like: >> >> int fooSum = list.reduce(0, Reducers.INT_SUM); >> >> which is more compact, more readable (once you learn what "reduce" >> means), less error-prone, and can be parallelized by the library. >> >> You state that "most languages that support closures do allow capture >> of mutable local variables." However, most of them have >> {little,no,bad} support for safe concurrency or parallelism. If Java >> were a strictly sequential language, the story might be different, but >> that isn't the reality -- or desirable. >> >> We had three basic choices here: >> 1. Allow arbitrary mutable capture, and leave it to the user to not >> create data races. >> 2. Complicate the language further by introducing a notion of >> thread-confined lambdas, and allow mutable local capture by >> thread-confined lambdas. >> 3. Prohibit mutable local capture entirely. >> >> To do (1) in 2011 would be foolish; > I agree that 3) should be the default, since most people won't be using > frameworks that guarantee access is always by the same thread. But I > think it would be great if 2) was an option for those frameworks (and I > think they will be a growing trend) which would benefit from a simpler > programming style that it would allow. R?mi From timvolpe at gmail.com Sat Jul 30 00:10:07 2011 From: timvolpe at gmail.com (Tim Fox) Date: Sat, 30 Jul 2011 08:10:07 +0100 Subject: Effectively final In-Reply-To: <4E3341F8.9040408@univ-mlv.fr> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> Message-ID: <4E33AE4F.7030703@gmail.com> Remi, Please see comments below On 30/07/2011 00:27, R?mi Forax wrote: > Hi Tim, > see below > > On 07/29/2011 08:42 PM, Tim Fox wrote: >> Brian, >> >> Thanks for your reply. Comments below >> >> On 29/07/2011 19:08, Brian Goetz wrote: >>> You are right to have these concerns. >>> >>> The canonical example is: >>> >>> int fooSum = 0; >>> list.forEach(#{ x -> sum += x.getFoo() }); >>> >>> You are correct that there are purely sequential use cases that >>> benefit from this approach, which are not subject to data races. (On >>> the other hand, it is nearly impossible to write the above >>> primitive-using code so that it is not subject to data races in a >>> parallel environment.) We have explored approaches of capturing this >>> constraint in the language, so that we could prevent or detect when >>> such a "thread-confined" lambda is used from the wrong thread. While >>> these are likely feasible, they add complexity. >>> >>> Examples like the above have been around for 50+ years. However, it >>> is worth noting that they became popular in the context of a >>> sequential, uni-processor world. Rather than expend energy and >>> introduce additional complexity to prop up an aging and increasingly >>> irrelevant programming idiom, >> I'd have to disagree that this approach is aging, the success of node.js >> and ruby event machine are good counter-examples. They both use the >> reactor pattern (i.e. a single event loop which executes everything), so >> the developer does not have to worry about concurrency concerns. This is >> a huge win in terms of simplicity for the developer. >> >> Frameworks like node and eventmachine scale over cores by spinning up >> more processes, not threads (since there's only one event loop per >> process). This is less than ideal when you want to share state between >> event loops. >> >> New frameworks like node.x https://github.com/purplefox/node.x (which is >> what I am working on) allow multiple event loops per process (typically >> one event loop per core), and then partition objects so they are "owned" >> by one of the event loops. The framework will then guarantee that all >> callbacks on those objects are always executed by the same event loop. >> >> What you get out of this is the user can write all their code as single >> threaded, but the system as a whole scales well over available cores >> without having to spin up more processes. >> >> If the framework can guarantee this code is always executed by the same >> thread, it seems wrong to force users to use AtomicReferences (or >> whatever) to co-ordinate results from different callbacks. > Then you will realize that if the computation that you have to do > dominate the read phase and write phase, you will need worker threads > (by example, the HTTP parser (even an async one) can take more time > than a read or a write) > otherwise your server will be stuck waiting because you need to > access to a particular thread which is not available (because parsing > another request). I'm not really sure what you're getting at here. Frameworks like these are typically used to write network servers, that support many connections, e.g. an HTTP server, the "computation" is in creating the response. Nothing should get "stuck". Can you elaborate? > > > So you will refine again your model saying it's ok to have a context > object (a scope) > that contains the results of each phases (read, decode, work, encode, > write, etc) > that is passed from thread to thread because only one thread can access > to that context at a time. I don't see why that would be necessary. > > This model restricts side effect to only one object It restricts side effects to a set of objects. Typically the set of objects is all the objects created by a specific connection. I.e. all the objects that comes off a specific connection lives in an "island of single-threadedness". Since you typically have many more connections than cores, this is how you scale. All callbacks registered in that island will subsequently be invoked by the system in the same context (i.e. with the same event loop thread). The dev can therefore write their code as single threaded. In many (most?) cases connections never need to talk to each other, (again, e.g. an HTTP server), however, if they do, we allow them to communicate via sending messages (kind of like the actor model). Again this is done with callbacks, you register a callback with the system and get a handle. Given the handle you can send a message to a specific callback. The callback is executed in the context of the callee, so everything is still nice and single threaded from the PoV of the dev. Everything is done via callbacks, which always execute on the context of the callee. We also provide helpers which allow you to compose the results of callbacks in nice ways e.g. Something like: int callback1Result; int callback2Result; Composer.when(callback1, callback2).do(#{sendResponse(callback1Result+callback2Result)}) I.e. when both callback1 and callback2 have fired create a response and write it back to the client. Note, no thread blocks during this. > and > you will be cheerful that Java lambda is not able to capture local state :) > > Note that you can still refine the model above by adding work stealing > between all reader (resp. writer) threads and fork/join between worker > thread. We don't have a distinction between "reader" or "writer" threads. If you're interested in hearing more about how node.x works (or discuss reactor or multi-reactor model in more detail, I suggest the node.x forum is the appropriate place, rather than this list. :) Cheers From ss at comp.lancs.ac.uk Sat Jul 30 01:24:03 2011 From: ss at comp.lancs.ac.uk (Steven Simpson) Date: Sat, 30 Jul 2011 09:24:03 +0100 Subject: Effectively final In-Reply-To: <4E33AE4F.7030703@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> Message-ID: <4E33BFA3.1040101@comp.lancs.ac.uk> Hi, On 30/07/11 08:10, Tim Fox wrote: > Everything is done via callbacks, which always execute on the context of > the callee. We also provide helpers which allow you to compose the > results of callbacks in nice ways e.g. > > Something like: > > int callback1Result; > int callback2Result; > Composer.when(callback1, > callback2).do(#{sendResponse(callback1Result+callback2Result)}) > > I.e. when both callback1 and callback2 have fired create a response and > write it back to the client. Note, no thread blocks during this. I'll try rewriting that without mutable locals. To fill in the blanks, I'm assuming there's some domain-specific scheduling methods that take one or more SAM-type callbacks: class Services { static Completion foo(Some args, FooResponseHandler action); static Completion bar(Some args, BarResponseHandler action); } interface Completion { void act(Runnable action); } I've also made them conventionally return 'Completion' so they can be plugged into your helper: class Composer { static Completion when(Completion... parts); } Finally, to translate your code: void context() { class Anon { int result1, result2; void callback1(Some args) { // Set result1. } void callback2(Some args) { // Set result2. } void complete() { sendResponse(result1 + result2); } } Anon anon = new Anon(); Composer.when(Services.foo(args, anon#callback1), Services.bar(args, anon#callback2)) .act(anon#complete); } I dare say, it's not as convenient as mutable locals, but does it meet your needs without being too ugly/clunky? Cheers, Steven From timvolpe at gmail.com Sat Jul 30 02:32:47 2011 From: timvolpe at gmail.com (Tim Fox) Date: Sat, 30 Jul 2011 10:32:47 +0100 Subject: Effectively final In-Reply-To: <4E33BFA3.1040101@comp.lancs.ac.uk> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E33BFA3.1040101@comp.lancs.ac.uk> Message-ID: <4E33CFBF.90303@gmail.com> On 30/07/2011 09:24, Steven Simpson wrote: > Hi, > > On 30/07/11 08:10, Tim Fox wrote: >> Everything is done via callbacks, which always execute on the context of >> the callee. We also provide helpers which allow you to compose the >> results of callbacks in nice ways e.g. >> >> Something like: >> >> int callback1Result; >> int callback2Result; >> Composer.when(callback1, >> callback2).do(#{sendResponse(callback1Result+callback2Result)}) >> >> I.e. when both callback1 and callback2 have fired create a response and >> write it back to the client. Note, no thread blocks during this. > I'll try rewriting that without mutable locals. To fill in the blanks, > I'm assuming there's some domain-specific scheduling methods that take > one or more SAM-type callbacks: > > class Services { > static Completion foo(Some args, FooResponseHandler action); > static Completion bar(Some args, BarResponseHandler action); > } > > interface Completion { > void act(Runnable action); > } > > I've also made them conventionally return 'Completion' so they can be > plugged into your helper: > > class Composer { > static Completion when(Completion... parts); > } Yes, that's more or less what we do in node.x > > Finally, to translate your code: > > void context() { > class Anon { > int result1, result2; > > void callback1(Some args) { > // Set result1. > } > > void callback2(Some args) { > // Set result2. > } > > void complete() { > sendResponse(result1 + result2); > } > } > > Anon anon = new Anon(); > Composer.when(Services.foo(args, anon#callback1), > Services.bar(args, anon#callback2)) > .act(anon#complete); > } > > I dare say, it's not as convenient as mutable locals, but does it meet > your needs without being too ugly/clunky? You can take a look how we do it, the code is in github, here's an example. (This example actually does a lot of other stuff, but the relevant stuff is around line 195: https://github.com/purplefox/node.x/blob/master/src/examples/java/org/nodex/examples/composition/CompositionExample.java Compare the above Java to the exact same example written in Ruby (node.x is not just Java, the idea is we provide the same (similar) API in multiple JVM languages, including JRuby, Jython, Javascript (Nashorn/Rhino?), Groovy, etc) https://github.com/purplefox/node.x/blob/master/src/examples/ruby/composition/composition_example.rb (around line 138) Your examples works, but yes it's too clunky (for me anyway). Consider another example written in Ruby: def foo(socket) timed_out = false system.set_timeout(100) { timed_out = true } socket.on_data{ puts "Got data" if !timed_out} end This case would be overkill to use your technique in Java (an AtomicBoolean would do), but then I have to explain to the user why they have to use an AtomicBoolean when there's only one thread executing it :( > > Cheers, > > Steven > > From forax at univ-mlv.fr Sat Jul 30 06:04:34 2011 From: forax at univ-mlv.fr (=?ISO-8859-1?Q?R=E9mi_Forax?=) Date: Sat, 30 Jul 2011 15:04:34 +0200 Subject: Effectively final In-Reply-To: <4E33AE4F.7030703@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> Message-ID: <4E340162.1040207@univ-mlv.fr> On 07/30/2011 09:10 AM, Tim Fox wrote: > Remi, > > Please see comments below > > On 30/07/2011 00:27, R?mi Forax wrote: >> Hi Tim, >> see below >> >> On 07/29/2011 08:42 PM, Tim Fox wrote: >>> Brian, >>> >>> Thanks for your reply. Comments below >>> >>> On 29/07/2011 19:08, Brian Goetz wrote: >>>> You are right to have these concerns. >>>> >>>> The canonical example is: >>>> >>>> int fooSum = 0; >>>> list.forEach(#{ x -> sum += x.getFoo() }); >>>> >>>> You are correct that there are purely sequential use cases that >>>> benefit from this approach, which are not subject to data races. (On >>>> the other hand, it is nearly impossible to write the above >>>> primitive-using code so that it is not subject to data races in a >>>> parallel environment.) We have explored approaches of capturing this >>>> constraint in the language, so that we could prevent or detect when >>>> such a "thread-confined" lambda is used from the wrong thread. While >>>> these are likely feasible, they add complexity. >>>> >>>> Examples like the above have been around for 50+ years. However, it >>>> is worth noting that they became popular in the context of a >>>> sequential, uni-processor world. Rather than expend energy and >>>> introduce additional complexity to prop up an aging and increasingly >>>> irrelevant programming idiom, >>> I'd have to disagree that this approach is aging, the success of node.js >>> and ruby event machine are good counter-examples. They both use the >>> reactor pattern (i.e. a single event loop which executes everything), so >>> the developer does not have to worry about concurrency concerns. This is >>> a huge win in terms of simplicity for the developer. >>> >>> Frameworks like node and eventmachine scale over cores by spinning up >>> more processes, not threads (since there's only one event loop per >>> process). This is less than ideal when you want to share state between >>> event loops. >>> >>> New frameworks like node.x https://github.com/purplefox/node.x (which is >>> what I am working on) allow multiple event loops per process (typically >>> one event loop per core), and then partition objects so they are "owned" >>> by one of the event loops. The framework will then guarantee that all >>> callbacks on those objects are always executed by the same event loop. >>> >>> What you get out of this is the user can write all their code as single >>> threaded, but the system as a whole scales well over available cores >>> without having to spin up more processes. >>> >>> If the framework can guarantee this code is always executed by the same >>> thread, it seems wrong to force users to use AtomicReferences (or >>> whatever) to co-ordinate results from different callbacks. >> Then you will realize that if the computation that you have to do >> dominate the read phase and write phase, you will need worker threads >> (by example, the HTTP parser (even an async one) can take more time >> than a read or a write) >> otherwise your server will be stuck waiting because you need to >> access to a particular thread which is not available (because parsing >> another request). > I'm not really sure what you're getting at here. Frameworks like these > are typically used to write network servers, that support many > connections, e.g. an HTTP server, the "computation" is in creating the > response. Nothing should get "stuck". Can you elaborate? Your HTTP server will deliver services like generating a SHA key, computing a shortest path, etc. Sometime the network is the bottleneck but sometime the service is the bottleneck. The reactor pattern works well if the network is the bottleneck not if the service you deliver takes time to be computed. >> >> So you will refine again your model saying it's ok to have a context >> object (a scope) >> that contains the results of each phases (read, decode, work, encode, >> write, etc) >> that is passed from thread to thread because only one thread can access >> to that context at a time. > I don't see why that would be necessary. >> This model restricts side effect to only one object > It restricts side effects to a set of objects. Typically the set of > objects is all the objects created by a specific connection. I.e. all > the objects that comes off a specific connection lives in an "island of > single-threadedness". Since you typically have many more connections > than cores, this is how you scale. All callbacks registered in that > island will subsequently be invoked by the system in the same context > (i.e. with the same event loop thread). The dev can therefore write > their code as single threaded. The question is why your set of objects is stored in the callbacks ? You have more freedom if you decouple the set of objects and the callback. Basically, you only need to ensure that only one thread access to the set of objects at a time (+ some publication trouble that comes from the memory model), reusing the same thread as you do in your framework is a simplification, not a generic model. If you take a look to the AIO API provided in JDK7, http://download.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousByteChannel.html#read%28java.nio.ByteBuffer,%20A,%20java.nio.channels.CompletionHandler%29 a read takes a callback *and* an object (here called attachment) that encapsulates your set of objects. When the callback will be called, you will by example starts a write sending the same attachment or a newly created object computed from the value of the current attachment as a new attachment. The write may be done by another thread but it's ok because the two threads will not access to the same object at the same time. So my point is this pattern is better than the reactor pattern (multi or not) because you can transform your data between a read and a write using a thread-pool. This pattern failed if you modify any state which is accessible not from the attachment but by example bound to the callback so it's better to use lambda here, because lambda aren't object (read has no field) and doesn't allow to capture mutable local variable. > In many (most?) cases connections never need to talk to each other, > (again, e.g. an HTTP server), however, if they do, we allow them to > communicate via sending messages (kind of like the actor model). Again > this is done with callbacks, you register a callback with the system and > get a handle. Given the handle you can send a message to a specific > callback. The callback is executed in the context of the callee, so > everything is still nice and single threaded from the PoV of the dev. > > Everything is done via callbacks, which always execute on the context of > the callee. We also provide helpers which allow you to compose the > results of callbacks in nice ways e.g. > > Something like: > > int callback1Result; > int callback2Result; > Composer.when(callback1, > callback2).do(#{sendResponse(callback1Result+callback2Result)}) > > I.e. when both callback1 and callback2 have fired create a response and > write it back to the client. Note, no thread blocks during this. >> and >> you will be cheerful that Java lambda is not able to capture local state :) >> >> Note that you can still refine the model above by adding work stealing >> between all reader (resp. writer) threads and fork/join between worker >> thread. > We don't have a distinction between "reader" or "writer" threads. > > If you're interested in hearing more about how node.x works (or discuss > reactor or multi-reactor model in more detail, I suggest the node.x > forum is the appropriate place, rather than this list. :) > > Cheers cheers, R?mi From forax at univ-mlv.fr Sat Jul 30 06:18:25 2011 From: forax at univ-mlv.fr (=?ISO-8859-1?Q?R=E9mi_Forax?=) Date: Sat, 30 Jul 2011 15:18:25 +0200 Subject: Effectively final In-Reply-To: <4E33CFBF.90303@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E33BFA3.1040101@comp.lancs.ac.uk> <4E33CFBF.90303@gmail.com> Message-ID: <4E3404A1.9040001@univ-mlv.fr> On 07/30/2011 11:32 AM, Tim Fox wrote: > Consider another example written in Ruby: > > def foo(socket) > timed_out = false > system.set_timeout(100) { timed_out = true } > socket.on_data{ puts "Got data" if !timed_out} > end > > This case would be overkill to use your technique in Java (an > AtomicBoolean would do), but then I have to explain to the user why they > have to use an AtomicBoolean when there's only one thread executing it:( Java 8 is more verbose, but not much: void foo(AsyncSocket socket) { int[] timeout = {false }; AsyncSystem.setTimeout(100, #{ timeout[0] = true; }); socket.onData(#{ socket -> if (!timeout[0]) socket.write("Got data"); }); } BTW, why your framework doesn't manage the timeout by itself instead of letting the users create bad and sluggish webserver because they forget to set a timeout. R?mi From timvolpe at gmail.com Sat Jul 30 07:54:06 2011 From: timvolpe at gmail.com (Tim Fox) Date: Sat, 30 Jul 2011 15:54:06 +0100 Subject: Effectively final In-Reply-To: <4E340162.1040207@univ-mlv.fr> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E340162.1040207@univ-mlv.fr> Message-ID: <4E341B0E.5060103@gmail.com> On 30/07/2011 14:04, R?mi Forax wrote: > On 07/30/2011 09:10 AM, Tim Fox wrote: >> I'm not really sure what you're getting at here. Frameworks like these >> are typically used to write network servers, that support many >> connections, e.g. an HTTP server, the "computation" is in creating the >> response. Nothing should get "stuck". Can you elaborate? > Your HTTP server will deliver services like generating a SHA key, > computing a shortest path, etc. > Sometime the network is the bottleneck but sometime the service > is the bottleneck. > > The reactor pattern works well if the network is the bottleneck > not if the service you deliver takes time to be computed. Ah, you're referring to a small number of connections (perhaps less than number of cores), that are doing long running computations? In such a case, yes, it might make sense to so try to parallelize the computation over multiple threads (e.g. fork/join). However, there's no point in doing that if you've got many connections, all doing long running computations, in that case you may as well do the whole computation on one thread (you'll get less context switching for one thing). Number of connections > number of cores is the normal case, so I consider this an edge case for the kinds of systems people this framework is aimed at. Having said that, if people do want to do this kind of thing, nothing is stopping them sending messages to other contexts and composing the results back asynchronously using the composition facilities that I described earlier. (Similar to fork/join) > >>> So you will refine again your model saying it's ok to have a context >>> object (a scope) >>> that contains the results of each phases (read, decode, work, encode, >>> write, etc) >>> that is passed from thread to thread because only one thread can access >>> to that context at a time. >> I don't see why that would be necessary. >>> This model restricts side effect to only one object >> It restricts side effects to a set of objects. Typically the set of >> objects is all the objects created by a specific connection. I.e. all >> the objects that comes off a specific connection lives in an "island of >> single-threadedness". Since you typically have many more connections >> than cores, this is how you scale. All callbacks registered in that >> island will subsequently be invoked by the system in the same context >> (i.e. with the same event loop thread). The dev can therefore write >> their code as single threaded. > The question is why your set of objects is stored in the callbacks ? > You have more freedom if you decouple the set of objects and > the callback. > Basically, you only need to ensure that only one thread access > to the set of objects at a time (+ some publication trouble > that comes from the memory model), reusing the same thread > as you do in your framework is a simplification, not a generic model. That's not quite true. It's advantageous to use the exact same thread, rather than just ensure that no more than one thread at any one time accesses the objects, since if it's the same thread each time we don't have to execute any memory barriers (and subsequent cache flushing on multi-core systems) between invocations as we would have to do if we were using multiple threads. > > If you take a look to the AIO API provided in JDK7, > http://download.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousByteChannel.html#read%28java.nio.ByteBuffer,%20A,%20java.nio.channels.CompletionHandler%29 > a read takes a callback *and* an object (here called attachment) that > encapsulates > your set of objects. > When the callback will be called, you will by example starts a write > sending the same > attachment or a newly created object computed from the value of the > current attachment > as a new attachment. > The write may be done by another thread but it's ok because the two > threads will not access > to the same object at the same time. > > So my point is this pattern is better than the reactor pattern (multi or > not) > because you can transform your data between a read and a write using > a thread-pool. This pattern failed if you modify any state which is > accessible > not from the attachment but by example bound to the callback > so it's better to use lambda here, because lambda aren't object (read > has no field) > and doesn't allow to capture mutable local variable. I'm sorry, I am having trouble parsing this :( From timvolpe at gmail.com Sat Jul 30 08:02:02 2011 From: timvolpe at gmail.com (Tim Fox) Date: Sat, 30 Jul 2011 16:02:02 +0100 Subject: Effectively final In-Reply-To: <4E3404A1.9040001@univ-mlv.fr> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E33BFA3.1040101@comp.lancs.ac.uk> <4E33CFBF.90303@gmail.com> <4E3404A1.9040001@univ-mlv.fr> Message-ID: <4E341CEA.5000100@gmail.com> On 30/07/2011 14:18, R?mi Forax wrote: > On 07/30/2011 11:32 AM, Tim Fox wrote: >> Consider another example written in Ruby: >> >> def foo(socket) >> timed_out = false >> system.set_timeout(100) { timed_out = true } >> socket.on_data{ puts "Got data" if !timed_out} >> end >> >> This case would be overkill to use your technique in Java (an >> AtomicBoolean would do), but then I have to explain to the user why they >> have to use an AtomicBoolean when there's only one thread executing it:( > Java 8 is more verbose, but not much: > > void foo(AsyncSocket socket) { > int[] timeout = {false }; > AsyncSystem.setTimeout(100, #{ timeout[0] = true; }); > socket.onData(#{ socket -> if (!timeout[0]) socket.write("Got data"); > }); > } I would consider the use of an array like that as ugly cruft. And even worse, if this was multi-threaded (which thankfully it isn't) it would still be subject to race conditions, which goes to show that requiring final locals in closures doesn't actually protect you from races since you can do ugly workarounds like this (or just use some final ref to an arbitrary object) ;) > > BTW, why your framework doesn't manage the timeout by itself > instead of letting the users create bad and sluggish webserver because > they forget to set a timeout. That snippet was nothing to do with a web server. It was just a contrived example using timeout. Most eventing systems allow users to set arbitrary timeouts, that can do anything they want. > > R?mi > > From brian.goetz at oracle.com Sat Jul 30 09:16:25 2011 From: brian.goetz at oracle.com (Brian Goetz) Date: Sat, 30 Jul 2011 12:16:25 -0400 Subject: Effectively final In-Reply-To: <4E341CEA.5000100@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E33BFA3.1040101@comp.lancs.ac.uk> <4E33CFBF.90303@gmail.com> <4E3404A1.9040001@univ-mlv.fr> <4E341CEA.5000100@gmail.com> Message-ID: <4E342E59.9080902@oracle.com> >> void foo(AsyncSocket socket) { >> int[] timeout = {false }; >> AsyncSystem.setTimeout(100, #{ timeout[0] = true; }); >> socket.onData(#{ socket -> if (!timeout[0]) socket.write("Got data"); >> }); >> } > I would consider the use of an array like that as ugly cruft. Yes, Remi should have known better :) > And even > worse, if this was multi-threaded (which thankfully it isn't) it would > still be subject to race conditions, which goes to show that requiring > final locals in closures doesn't actually protect you from races since > you can do ugly workarounds like this (or just use some final ref to an > arbitrary object) ;) This argument has been extensively raised, rejected, reraised, and re-rejected: just because any safety mechanism can be subverted does not mean that such safety mechanisms are silly. From brian.goetz at oracle.com Sat Jul 30 09:18:07 2011 From: brian.goetz at oracle.com (Brian Goetz) Date: Sat, 30 Jul 2011 12:18:07 -0400 Subject: Effectively final In-Reply-To: References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> Message-ID: <4E342EBF.7040903@oracle.com> Reading between the lines, what Neal and I are both saying is: from where we are now, adding support for mutable local capture in lambdas is nowhere near our highest language priority. On 7/29/2011 4:39 PM, Neal Gafter wrote: > Asynchronous support can be much more usable when supported more > directly by the language. But until the language does provide that > support you are forced to do it in a less expressive way using > libraries. It is true that mutable locals make that less onerous. And > I personally prefer that lambdas are usable to organize sequential code > as well as concurrent code (remember, method bodies are always > sequential today), which may require mutable locals in a language like > Java. But on the other hand I believe it is better to provide more > direct language support for asynchronous rather then doing it through > libraries, and that reduces asynchronous as a motivation for having > mutable locals in lambdas. > > Cheers, > Neal > > On Friday, July 29, 2011, Tim Fox > wrote: > > Brian, > > > > Thanks for your reply. Comments below > > > > On 29/07/2011 19:08, Brian Goetz wrote: > >> You are right to have these concerns. > >> > >> The canonical example is: > >> > >> int fooSum = 0; > >> list.forEach(#{ x -> sum += x.getFoo() }); > >> > >> You are correct that there are purely sequential use cases that > >> benefit from this approach, which are not subject to data races. (On > >> the other hand, it is nearly impossible to write the above > >> primitive-using code so that it is not subject to data races in a > >> parallel environment.) We have explored approaches of capturing this > >> constraint in the language, so that we could prevent or detect when > >> such a "thread-confined" lambda is used from the wrong thread. While > >> these are likely feasible, they add complexity. > >> > >> Examples like the above have been around for 50+ years. However, it > >> is worth noting that they became popular in the context of a > >> sequential, uni-processor world. Rather than expend energy and > >> introduce additional complexity to prop up an aging and increasingly > >> irrelevant programming idiom, > > I'd have to disagree that this approach is aging, the success of node.js > > and ruby event machine are good counter-examples. They both use the > > reactor pattern (i.e. a single event loop which executes everything), so > > the developer does not have to worry about concurrency concerns. This is > > a huge win in terms of simplicity for the developer. > > > > Frameworks like node and eventmachine scale over cores by spinning up > > more processes, not threads (since there's only one event loop per > > process). This is less than ideal when you want to share state between > > event loops. > > > > New frameworks like node.x https://github.com/purplefox/node.x (which is > > what I am working on) allow multiple event loops per process (typically > > one event loop per core), and then partition objects so they are "owned" > > by one of the event loops. The framework will then guarantee that all > > callbacks on those objects are always executed by the same event loop. > > > > What you get out of this is the user can write all their code as single > > threaded, but the system as a whole scales well over available cores > > without having to spin up more processes. > > > > If the framework can guarantee this code is always executed by the same > > thread, it seems wrong to force users to use AtomicReferences (or > > whatever) to co-ordinate results from different callbacks. > >> we instead are directing our energies towards providing more modern, > >> parallel-friendly idioms, like: > >> > >> int fooSum = list.reduce(0, Reducers.INT_SUM); > >> > >> which is more compact, more readable (once you learn what "reduce" > >> means), less error-prone, and can be parallelized by the library. > >> > >> You state that "most languages that support closures do allow capture > >> of mutable local variables." However, most of them have > >> {little,no,bad} support for safe concurrency or parallelism. If Java > >> were a strictly sequential language, the story might be different, but > >> that isn't the reality -- or desirable. > >> > >> We had three basic choices here: > >> 1. Allow arbitrary mutable capture, and leave it to the user to not > >> create data races. > >> 2. Complicate the language further by introducing a notion of > >> thread-confined lambdas, and allow mutable local capture by > >> thread-confined lambdas. > >> 3. Prohibit mutable local capture entirely. > >> > >> To do (1) in 2011 would be foolish; > > I agree that 3) should be the default, since most people won't be using > > frameworks that guarantee access is always by the same thread. But I > > think it would be great if 2) was an option for those frameworks (and I > > think they will be a growing trend) which would benefit from a simpler > > programming style that it would allow. > > > > > > From forax at univ-mlv.fr Sat Jul 30 09:55:47 2011 From: forax at univ-mlv.fr (=?ISO-8859-1?Q?R=E9mi_Forax?=) Date: Sat, 30 Jul 2011 18:55:47 +0200 Subject: Effectively final In-Reply-To: <4E341B0E.5060103@gmail.com> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E340162.1040207@univ-mlv.fr> <4E341B0E.5060103@gmail.com> Message-ID: <4E343793.5090508@univ-mlv.fr> On 07/30/2011 04:54 PM, Tim Fox wrote: > On 30/07/2011 14:04, R?mi Forax wrote: >> On 07/30/2011 09:10 AM, Tim Fox wrote: >>> I'm not really sure what you're getting at here. Frameworks like these >>> are typically used to write network servers, that support many >>> connections, e.g. an HTTP server, the "computation" is in creating the >>> response. Nothing should get "stuck". Can you elaborate? >> Your HTTP server will deliver services like generating a SHA key, >> computing a shortest path, etc. >> Sometime the network is the bottleneck but sometime the service >> is the bottleneck. >> >> The reactor pattern works well if the network is the bottleneck >> not if the service you deliver takes time to be computed. > Ah, you're referring to a small number of connections (perhaps less than > number of cores), that are doing long running computations? In such a > case, yes, it might make sense to so try to parallelize the computation > over multiple threads (e.g. fork/join). However, there's no point in > doing that if you've got many connections, all doing long running > computations, in that case you may as well do the whole computation on > one thread (you'll get less context switching for one thing). Doing an async read/write will call poll/epoll which requires a context switching between the kernel and the user land. So you will do some context switching. The reactor pattern works well because you do one call to poll/epoll for several read/write. So if a worker thread does computations for a lot of connections before a context switch there will be no problem. > Number of connections> number of cores is the normal case, so I > consider this an edge case for the kinds of systems people this > framework is aimed at. Having said that, if people do want to do this > kind of thing, nothing is stopping them sending messages to other > contexts and composing the results back asynchronously using the > composition facilities that I described earlier. (Similar to fork/join) That was my point. In that case, you need to send data (messages) to another thread. >>>> So you will refine again your model saying it's ok to have a context >>>> object (a scope) >>>> that contains the results of each phases (read, decode, work, encode, >>>> write, etc) >>>> that is passed from thread to thread because only one thread can access >>>> to that context at a time. >>> I don't see why that would be necessary. >>>> This model restricts side effect to only one object >>> It restricts side effects to a set of objects. Typically the set of >>> objects is all the objects created by a specific connection. I.e. all >>> the objects that comes off a specific connection lives in an "island of >>> single-threadedness". Since you typically have many more connections >>> than cores, this is how you scale. All callbacks registered in that >>> island will subsequently be invoked by the system in the same context >>> (i.e. with the same event loop thread). The dev can therefore write >>> their code as single threaded. >> The question is why your set of objects is stored in the callbacks ? >> You have more freedom if you decouple the set of objects and >> the callback. >> Basically, you only need to ensure that only one thread access >> to the set of objects at a time (+ some publication trouble >> that comes from the memory model), reusing the same thread >> as you do in your framework is a simplification, not a generic model. > That's not quite true. It's advantageous to use the exact same thread, > rather than just ensure that no more than one thread at any one time > accesses the objects, since if it's the same thread each time we don't > have to execute any memory barriers (and subsequent cache flushing on > multi-core systems) between invocations as we would have to do if we > were using multiple threads. The kind of memory barrier you need is cheap on recent hardware (nehalem, sandy bridge) combined with the fact that an async handler is never inlined, it's far from obvious to see the impact of the memory barrier when you monitor the code. >> If you take a look to the AIO API provided in JDK7, >> http://download.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousByteChannel.html#read%28java.nio.ByteBuffer,%20A,%20java.nio.channels.CompletionHandler%29 >> a read takes a callback *and* an object (here called attachment) that >> encapsulates >> your set of objects. >> When the callback will be called, you will by example starts a write >> sending the same >> attachment or a newly created object computed from the value of the >> current attachment >> as a new attachment. >> The write may be done by another thread but it's ok because the two >> threads will not access >> to the same object at the same time. >> >> So my point is this pattern is better than the reactor pattern (multi or >> not) >> because you can transform your data between a read and a write using >> a thread-pool. This pattern failed if you modify any state which is >> accessible >> not from the attachment but by example bound to the callback >> so it's better to use lambda here, because lambda aren't object (read >> has no field) >> and doesn't allow to capture mutable local variable. > I'm sorry, I am having trouble parsing this :( Basically, it's better to send your context to the async handler instead of binding it to the async handler. R?mi From timvolpe at gmail.com Sat Jul 30 10:10:23 2011 From: timvolpe at gmail.com (Tim Fox) Date: Sat, 30 Jul 2011 18:10:23 +0100 Subject: Effectively final In-Reply-To: <4E343793.5090508@univ-mlv.fr> References: <4E3299FD.7020309@gmail.com> <4E32F709.6060205@oracle.com> <4E32FF30.40206@gmail.com> <4E3341F8.9040408@univ-mlv.fr> <4E33AE4F.7030703@gmail.com> <4E340162.1040207@univ-mlv.fr> <4E341B0E.5060103@gmail.com> <4E343793.5090508@univ-mlv.fr> Message-ID: <4E343AFF.9040607@gmail.com> On 30/07/2011 17:55, R?mi Forax wrote: > On 07/30/2011 04:54 PM, Tim Fox wrote: >> On 30/07/2011 14:04, R?mi Forax wrote: >>> On 07/30/2011 09:10 AM, Tim Fox wrote: >>>> I'm not really sure what you're getting at here. Frameworks like these >>>> are typically used to write network servers, that support many >>>> connections, e.g. an HTTP server, the "computation" is in creating the >>>> response. Nothing should get "stuck". Can you elaborate? >>> Your HTTP server will deliver services like generating a SHA key, >>> computing a shortest path, etc. >>> Sometime the network is the bottleneck but sometime the service >>> is the bottleneck. >>> >>> The reactor pattern works well if the network is the bottleneck >>> not if the service you deliver takes time to be computed. >> Ah, you're referring to a small number of connections (perhaps less than >> number of cores), that are doing long running computations? In such a >> case, yes, it might make sense to so try to parallelize the computation >> over multiple threads (e.g. fork/join). However, there's no point in >> doing that if you've got many connections, all doing long running >> computations, in that case you may as well do the whole computation on >> one thread (you'll get less context switching for one thing). > Doing an async read/write will call poll/epoll which requires > a context switching between the kernel and the user land. > So you will do some context switching. > The reactor pattern works well because you do one > call to poll/epoll for several read/write. > > So if a worker thread does computations for a lot of connections > before a context switch there will be no problem. > >> Number of connections> number of cores is the normal case, so I >> consider this an edge case for the kinds of systems people this >> framework is aimed at. Having said that, if people do want to do this >> kind of thing, nothing is stopping them sending messages to other >> contexts and composing the results back asynchronously using the >> composition facilities that I described earlier. (Similar to fork/join) > That was my point. > In that case, you need to send data (messages) to another thread. Right, and as I said before, we support that :) > >>>>> So you will refine again your model saying it's ok to have a context >>>>> object (a scope) >>>>> that contains the results of each phases (read, decode, work, encode, >>>>> write, etc) >>>>> that is passed from thread to thread because only one thread can access >>>>> to that context at a time. >>>> I don't see why that would be necessary. >>>>> This model restricts side effect to only one object >>>> It restricts side effects to a set of objects. Typically the set of >>>> objects is all the objects created by a specific connection. I.e. all >>>> the objects that comes off a specific connection lives in an "island of >>>> single-threadedness". Since you typically have many more connections >>>> than cores, this is how you scale. All callbacks registered in that >>>> island will subsequently be invoked by the system in the same context >>>> (i.e. with the same event loop thread). The dev can therefore write >>>> their code as single threaded. >>> The question is why your set of objects is stored in the callbacks ? >>> You have more freedom if you decouple the set of objects and >>> the callback. >>> Basically, you only need to ensure that only one thread access >>> to the set of objects at a time (+ some publication trouble >>> that comes from the memory model), reusing the same thread >>> as you do in your framework is a simplification, not a generic model. >> That's not quite true. It's advantageous to use the exact same thread, >> rather than just ensure that no more than one thread at any one time >> accesses the objects, since if it's the same thread each time we don't >> have to execute any memory barriers (and subsequent cache flushing on >> multi-core systems) between invocations as we would have to do if we >> were using multiple threads. > The kind of memory barrier you need is cheap on recent hardware > (nehalem, sandy bridge) combined with the fact that an async handler > is never inlined, it's far from obvious to see the impact of the memory > barrier > when you monitor the code. Fine, but not everyone is running the latest hardware, and it's hard to argue that zero memory barriers is not more desirable than more than greater than zero memory barriers. > >>> If you take a look to the AIO API provided in JDK7, >>> http://download.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousByteChannel.html#read%28java.nio.ByteBuffer,%20A,%20java.nio.channels.CompletionHandler%29 >>> a read takes a callback *and* an object (here called attachment) that >>> encapsulates >>> your set of objects. >>> When the callback will be called, you will by example starts a write >>> sending the same >>> attachment or a newly created object computed from the value of the >>> current attachment >>> as a new attachment. >>> The write may be done by another thread but it's ok because the two >>> threads will not access >>> to the same object at the same time. >>> >>> So my point is this pattern is better than the reactor pattern (multi or >>> not) >>> because you can transform your data between a read and a write using >>> a thread-pool. This pattern failed if you modify any state which is >>> accessible >>> not from the attachment but by example bound to the callback >>> so it's better to use lambda here, because lambda aren't object (read >>> has no field) >>> and doesn't allow to capture mutable local variable. >> I'm sorry, I am having trouble parsing this :( > Basically, it's better to send your context to the async handler instead > of binding it to the async handler. Thanks, I understood that much already from your previous explanation. What I didn't understand was your line of reasoning that came to that conclusion ;) > > R?mi > > >