Question regarding NET_BindV6() and the "double bind"

2011-04-26 Thread Xavier Roche

Hi folks,

In the Windows version of NET_BindV6() [jdk/src/windows/native/java/net/
net_util_md.c], the code seems to be doing the binding twice when using 
a wildcard address (see b->ipv4_fd and b->ipv6_fd)


The comment says:

(..)
 * The more complicated case is when the requested address is ::0 or 
0.0.0.0.

 *
 * Two further cases:
 * 2. If the reqeusted port is 0 (ie. any port) then we try to bind in 
v4 space

 *first with a wild-card port argument. We then try to bind in v6 space
 *using the returned port number. If this fails, we repeat the process
 *until a free port common to both spaces becomes available.
 *
 * 3. If the requested port is a specific port, then we just try to get 
that
 *port in both spaces, and if it is not free in both, then the bind 
fails.


Why isn't the function simply switching IPV6_V6ONLY to "off" before 
binding ? (http://msdn.microsoft.com/en-us/library/ms738574(v=vs.85).aspx)


Such as:
int off = 0;
(void) setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY,
  (char *)&off, sizeof(off));

This would allow NOT to bind two ports, and prevent any troubles with 
"half-bound" ports.


(Or am I missing something obvious ?)


Re: Question regarding NET_BindV6() and the "double bind"

2011-04-26 Thread Alan Bateman

Xavier Roche wrote:

Hi folks,

In the Windows version of NET_BindV6() [jdk/src/windows/native/java/net/
net_util_md.c], the code seems to be doing the binding twice when 
using a wildcard address (see b->ipv4_fd and b->ipv6_fd)


The comment says:

(..)
 * The more complicated case is when the requested address is ::0 or 
0.0.0.0.

 *
 * Two further cases:
 * 2. If the reqeusted port is 0 (ie. any port) then we try to bind in 
v4 space
 *first with a wild-card port argument. We then try to bind in v6 
space
 *using the returned port number. If this fails, we repeat the 
process

 *until a free port common to both spaces becomes available.
 *
 * 3. If the requested port is a specific port, then we just try to 
get that
 *port in both spaces, and if it is not free in both, then the 
bind fails.


Why isn't the function simply switching IPV6_V6ONLY to "off" before 
binding ? 
(http://msdn.microsoft.com/en-us/library/ms738574(v=vs.85).aspx)


Such as:
int off = 0;
(void) setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY,
  (char *)&off, sizeof(off));

This would allow NOT to bind two ports, and prevent any troubles with 
"half-bound" ports.


(Or am I missing something obvious ?)
The net-dev list would be best place to bring this. If it helps, the 
above is only used on older editions of Windows that don't support 
dual-stack sockets. You'll see on Windows Vista on newer that it uses a 
single socket with IPV6_V6ONLY disabled.


-Alan.


Re: Question regarding NET_BindV6() and the "double bind"

2011-04-26 Thread Xavier Roche

On 04/26/2011 11:49 AM, Alan Bateman wrote:

The net-dev list would be best place to bring this. If it helps, the
above is only used on older editions of Windows that don't support
dual-stack sockets. You'll see on Windows Vista on newer that it uses a
single socket with IPV6_V6ONLY disabled.


Thanks for the reply -- I obviously should have checked 
DualStackPlainSocketImpl.c before, which seems to the the used code :)



Regards,
Xavier


hg: jdk7/jdk7/jaxws: 3 new changesets

2011-04-26 Thread lana . steuck
Changeset: d5e3452a6909
Author:ohair
Date:  2011-04-12 12:39 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/jaxws/rev/97c69227f325

Merge


Changeset: 82a9022c4f21
Author:lana
Date:  2011-04-25 15:35 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxws/rev/82a9022c4f21

Merge




hg: jdk7/jdk7/langtools: 6 new changesets

2011-04-26 Thread lana . steuck
Changeset: 8cc5b440fdde
Author:darcy
Date:  2011-04-06 19:30 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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

hg: jdk7/jdk7/jdk: 94 new changesets

2011-04-26 Thread lana . steuck
Changeset: 4dc798144dd2
Author:prr
Date:  2011-04-05 09:42 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/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: jdk7/jdk7/hotspot: 24 new changesets

2011-04-26 Thread erik . trimble
Changeset: 5504afd15955
Author:zgu
Date:  2011-04-14 11:50 -0400
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/hotspot/rev/c737922fd8bb

Merge


Changeset: 208b6c560ff4
Author:vladidan
Date:  2011-04-14 11:02 -0400
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/hotspot/rev/a534c140904e

Merge


Changeset: 8ce625481709
Author:coleenp
Date:  2011-04-15 09:36 -0400
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/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/jdk7/jdk7/hotspot/rev/df8a1555b1ea

Merge


Changeset: e6beb62de02d
Author:never
Date:  2011-04-05 19:14 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/jdk7/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/g1SATBCardTableModR

jdk7-b140: Hotspot

2011-04-26 Thread Erik Trimble
Build 10 of Hotspot 21 has been pushed to the master OpenJDK repositories, for 
inclusion in JDK 7 Build 140.

http://hg.openjdk.java.net/jdk7/jdk7/corba/rev/e0b72ae5dc5e 
http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/2dbcb4a4d8da 
http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/4aa9916693dc 
http://hg.openjdk.java.net/jdk7/jdk7/jaxws/rev/d5fc61f18043 
http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/4770b99ba850 
http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/9d0a61ac567b 
http://hg.openjdk.java.net/jdk7/jdk7/rev/168d9382ebab 


--
Component : VM
Status: 0 major failures, 2 minor failures
Date  : 04/26/2011 at 09:22
Tested By : VM SQE and nicolay.haus...@oracle.com
Cost(total man-days): 1

Workspace : N/A
Bundles   : JPRT: 2011-04-23-020246.et151817.hs21-b10-snapshot 
Platforms : 
Solaris Sparc 11(32), -client
Solaris Sparc 11(32), -server
Solaris Sparc 10(32), -client
Solaris Sparc 10(32), -server
Solaris x86 11(32), -client
Solaris x86 11(32), -server
Solaris x86 10(32), -client
Solaris x86 10(32), -server
WinXP Prof(32), -client
WinXP Prof(32), -server
WinXP Home(32), -client
WinXP Home(32), -server
Win Server 2003(32), -client
Win Server 2003(32), -server
Windows Vista 32 bit, -client
Windows Vista 32 bit, -server
Windows Vista 64 bit, -client
Windows Vista 64 bit, -server
RH AS4.0 (32), -client
RH AS4.0 (32), -server
SuSE SLES 8(32), -client
SuSE SLES 8(32), -server
Solaris AMD64(64jdk), -d64/-server
Sol Sparc 10(64OS)(64jdk), -d64/-server
win server2003 AMD(64OS)(64jdk), -d64/-server
RH AS4.0 AMD(64OS)(64jdk), -d64/-server
SuSE SLES8 AMD(64OS)(64jdk), -d64/-server
Others

Tests : /net/sqenfs-1.us.oracle.com/comp/vm/testbase/
Browsers  : NA
Patches   : NA
Logs  : 
http://sqeweb.us.oracle.com/nfs/results/vm/gtee/HSX/PIT/VM/hs21/b10/jdk7b140/
Number of Tests Executed : 293385 product tests, 0 unit tests, 0 tck tests

Bug verification status:
==
 Tested, Pass: 
7009276: Add -XX:+IgnoreUnrecognizedVMOptions to several tests
7009277: Several native HS tests fail on ARM and PPC
7032407: Crash in LinkResolver::runtime_resolve_virtual_method()
7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure

 Tested, Pass (partial fixes): 

 Tested, Fail: 

 Untested bug fixes:
Setup is not available: 
6841742: par compact - remove unused/unsupported options
6946385: G1: jstat does not support G1 GC
7005865: crash when running with PrintIRWihLIR
7007254: A NullPointerException occurs with jvisualvm placed under a dir. 
including Japanese chars
7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
7025131: volatile_barrier may scratch read values in templateTable_arm.cpp
7027243: Disabling test crash report to phonehome
7029022: c2 support for arm
7031592: ppc: pre-JSR292 address and relocation PPC cleanup/fixes
7032963: StoreCM shouldn't participate in store elimination
7033100: CreateMinidumpOnCrash does not work for failed asserts
7034605: c2/arm: debug VM doesn't start
7036482: clear argument is redundant and unused in cardtable methods
7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
Build change only: 
7034133: cleanup obsolete option handling
7036021: G1: build failure on win64 and linux with hs21 in jdk6 build 
environment
7039044: Bump the HS21 build number to 10

 New bugs filed:
Bugs in PIT build: 
7039221: Crash in java.lang.ThreadLocal$ThreadLocalMap.set()
7039618: String.intern() is very slow in fastdebug

Bugs in earlier promoted build: 

Number of PIT requested: 1
Integration target J2SE build number: 1.7.0-b140

Issues and Notes:
  

This is HS 21 b10 PIT for JDK 7 b140.

---
>From VM SQE and nicolay.haus...@oracle.com


-- 
Erik Trimble
Java System Support
Mailstop:  usca22-317
Phone:  x67195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)



hg: jdk7/jdk7/jdk: 7 new changesets

2011-04-26 Thread erik . trimble
Changeset: d7de46ec011b
Author:jrose
Date:  2011-02-11 01:26 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/d7de46ec011b

7013417: JSR 292 needs to support variadic method handle calls
Summary: Implement MH.asVarargsCollector, etc., and remove withTypeHandler.
Reviewed-by: twisti

! src/share/classes/java/dyn/MethodHandle.java
! src/share/classes/java/dyn/MethodHandles.java
! src/share/classes/java/dyn/package-info.java
! src/share/classes/sun/dyn/AdapterMethodHandle.java
! src/share/classes/sun/dyn/CallSiteImpl.java
! src/share/classes/sun/dyn/InvokeGeneric.java
! src/share/classes/sun/dyn/Invokers.java
! src/share/classes/sun/dyn/MethodHandleImpl.java
! src/share/classes/sun/dyn/MethodTypeImpl.java
! test/java/dyn/InvokeDynamicPrintArgs.java
! test/java/dyn/JavaDocExamplesTest.java
! test/java/dyn/MethodHandlesTest.java
! test/java/dyn/indify/Indify.java

Changeset: c86c60ad8822
Author:jrose
Date:  2011-02-11 01:26 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/c86c60ad8822

7012650: implement JSR 292 EG adjustments through January 2010
Summary: misc. EG changes and polishes (excluding 7013417)
Reviewed-by: twisti

! 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/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/MutableCallSite.java
+ src/share/classes/java/dyn/SwitchPoint.java
- src/share/classes/java/dyn/Switcher.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/AdapterMethodHandle.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/MethodHandleImpl.java
! src/share/classes/sun/dyn/ToGeneric.java
+ src/share/classes/sun/dyn/WrapperInstance.java
! test/java/dyn/InvokeGenericTest.java
! test/java/dyn/JavaDocExamplesTest.java
! test/java/dyn/MethodHandlesTest.java

Changeset: a2241b109aa1
Author:jrose
Date:  2011-02-11 01:26 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/a2241b109aa1

7013730: JSR 292 reflective operations should report errors with standard 
exception types
Summary: remove NoAccessException, replace it by ReflectiveOperationException 
subtypes; adjust javadoc of exceptions
Reviewed-by: twisti

! src/share/classes/java/dyn/CallSite.java
! src/share/classes/java/dyn/Linkage.java
! src/share/classes/java/dyn/MethodHandles.java
- src/share/classes/java/dyn/NoAccessException.java
! src/share/classes/sun/dyn/CallSiteImpl.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/SpreadGeneric.java
! src/share/classes/sun/dyn/ToGeneric.java
! src/share/classes/sun/dyn/util/ValueConversions.java
! src/share/classes/sun/dyn/util/VerifyAccess.java
! test/java/dyn/InvokeGenericTest.java
! test/java/dyn/JavaDocExamplesTest.java
! test/java/dyn/MethodHandlesTest.java

Changeset: 5e4a41d0fccd
Author:jrose
Date:  2011-02-15 00:16 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/5e4a41d0fccd

7016261: JSR 292 MethodType objects should be serializable
Summary: Define private writeObject, readObject, and readResolve methods.  Also 
add unit tests.
Reviewed-by: twisti

! src/share/classes/java/dyn/MethodType.java
+ test/java/dyn/MethodTypeTest.java

Changeset: 56cbd0504a53
Author:jrose
Date:  2011-02-15 00:16 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/56cbd0504a53

7014755: JSR 292 member lookup interaction with security manager
Summary: add security manager interactions for Lookup methods
Reviewed-by: twisti

! src/share/classes/java/dyn/MethodHandles.java
! src/share/classes/java/dyn/package-info.java

Changeset: 52bcd47b4521
Author:jrose
Date:  2011-02-15 00:16 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/52bcd47b4521

7016520: JSR 292 rules for polymorphic signature processing must be in 
package-info
Summary: insert rules for bytecode processors to recognize signature 
polymorphic names
Reviewed-by: twisti

! src/share/classes/java/dyn/MethodHandle.java

Changeset: f6cd84cfed70
Author:trims
Date:  2011-02-25 12:48 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/f6cd84cfed70

Merge

- src/share/classes/java/dyn/NoAccessException.java
- src

jdk7-b132: Hotspot

2011-04-26 Thread Erik Trimble
Build 03 of Hotspot 21 has been pushed to the master OpenJDK repositories for 
JDK 7 Build 132.

http://hg.openjdk.java.net/jdk7/jdk7/corba/rev/1b1e75e8f476 
http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/0e531ab5ba04 
http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/abe04c59a556 
http://hg.openjdk.java.net/jdk7/jdk7/jaxws/rev/0e57c3272d37 
http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/f6cd84cfed70 
http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/80bbd1da4a72 
http://hg.openjdk.java.net/jdk7/jdk7/rev/0f62a65fb666 



Note that in addition to the normal Hotspot changes, there are several
JSR292-related changes which have been added to the JDK repository.

7016520: JSR 292 rules for polymorphic signature processing must be in 
package-info
7014755: JSR 292 member lookup interaction with security manager
7016261: JSR 292 MethodType objects should be serializable
7013730: JSR 292 reflective operations should report errors with standard 
exception types
7012650: implement JSR 292 EG adjustments through January 2010
7013417: JSR 292 needs to support variadic method handle calls




Date: Tue, 1 Mar 2011 08:58:18 -0800 (PST)
From: WebServer Reserved UID 
Message-Id: <201103011658.p21gwiir027...@csgweb.sfbay.sun.com>
To: david@oracle.com, ekaterina.pavl...@sun.com, erik.trim...@oracle.com, 
hotspot...@sun.com, hotspot-t...@sun.com, pit_...@sun.com
Subject:  PIT results: VM, 1.7.0-b132: Go for Integration

Component : VM
Status: 0 major failures, 0 minor failures
Date  : 03/01/2011 at 08:56
Tested By : VM SQE and nicolay.haus...@oracle.com
Cost(total man-days): 1

Workspace : N/A
Bundles   : JPRT: 2011-02-26-013229.et151817.hs21-b03_ci_snapshot 
Platforms : 
Solaris Sparc 11(32), -client
Solaris Sparc 11(32), -server
Solaris Sparc 10(32), -client
Solaris Sparc 10(32), -server
Solaris x86 11(32), -client
Solaris x86 11(32), -server
Solaris x86 10(32), -client
Solaris x86 10(32), -server
WinXP Prof(32), -client
WinXP Prof(32), -server
WinXP Home(32), -client
WinXP Home(32), -server
Win Server 2003(32), -client
Win Server 2003(32), -server
Windows Vista 32 bit, -client
Windows Vista 32 bit, -server
RH AS4.0 (32), -client
RH AS4.0 (32), -server
Solaris AMD64(64jdk), -d64/-server
Sol Sparc 10(64OS)(64jdk), -d64/-server
win server2003 AMD(64OS)(64jdk), -d64/-server
RH AS4.0 AMD(64OS)(64jdk), -d64/-server
SuSE SLES8 AMD(64OS)(64jdk), -d64/-server
Others

Tests : /net/sqenfs-1.sfbay/export1/comp/vm/testbase/
Browsers  : NA
Patches   : NA
Logs  : 
http://sqeweb.us.oracle.com/nfs/results/vm/gtee/HSX/PIT/VM/21/b03/jdk7132/
Number of Tests Executed : 280391 product tests, 0 unit tests, 0 tck tests

Bug verification status:
==
 Tested, Pass: 
6354181: nsk.logging.stress.threads.scmhml001 fails assertion in 
"src/share/vm/oops/instanceKlass.cpp, 111"
6840152: JVM crashes when heavyweight monitors are used
6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis 
bit?")
6954420: jps shows "process information unavailable" sometimes
7009309: JSR 292: compiler/6991596/Test6991596.java crashes on fastdebug 
JDK7/b122
7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
7013538: Java memory leak with escape analysis
7014874: Incorrect COOPs modes on solaris-{sparcv9,amd64} with ParallelGC
7014998: assert(is_T_family(features) == is_niagara(features)) failed: Niagara 
should be T series
7015169: GC Cause not always set
7017008: G1: Turn on compressed oops by default.
7017240: C2: native memory leak in nsk/regression/b4675027 on windows-x86 in 
comp mode with G1
7017746: Regression : C2 compiler crash due to SIGSEGV in 
PhaseCFG::schedule_early()
7018257: jmm_DumpThreads allocates into permgen
7018302: newly added assert related to size of constantPoolOop causes secondary 
assertions or crashes
7018378: JSR 292: _bound_int_mh produces wrong result on 64-bit SPARC
7018506: CTW swallowing OOMs after symbol changes
7020992: jmm_DumpThreads should not allocate system object arrays outside the 
perm gen

 Tested, Pass (partial fixes): 

 Tested, Fail: 

 Untested bug fixes:
Setup is not available: 
7004433: arm: assertion failure with PrintStubCode
7016474: string compare intrinsic improvements
7017124: Fix some VM stats to avoid 32-bit overflow
7017434: Tiered needs to support reprofiling
7018101: os::dll_address_to_function_name returning wrong answers in 64 bit
7018277: JSR 292 change test/compiler/6987555/Test6987555.java to new MH syntax
7018673: Zero: 6953144, 6990754 and 7009756 made some changes which broke Zero
7019557: SharedMiscDataSize too small for 64-bit fastdebug JVM
7019819: bare oop in ciField
7021531: lock ordering problems after fix for 6354181
Build change only: 
7013964: openjdk LICENSE file needs rebranding
7014851: Remove unused parallel compaction code
7017824: Add support for creating 64-bit Visual Studio projects
7018429: JPRT: Update Makefile to use ALT_JDK_TARGET_IMPORT_PATH for copying JDK
7018

hg: jdk7/jdk7/jaxws: Added tag jdk7-b137 for changeset ccea3282991c

2011-04-26 Thread suchen . chien
Changeset: 6dfcea9f7a4e
Author:schien
Date:  2011-04-07 15:21 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxws/rev/6dfcea9f7a4e

Added tag jdk7-b137 for changeset ccea3282991c

! .hgtags



hg: jdk7/jdk7/jdk: 10 new changesets

2011-04-26 Thread christine . lu
Changeset: eb54e565c491
Author:ohair
Date:  2011-02-26 09:45 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/eb54e565c491

7016175: HTML generated from new JavaDoc has tags added from makefile
Reviewed-by: jjg

! make/common/shared/Defs-javadoc.gmk
! make/docs/Makefile

Changeset: 391a9ef69036
Author:ohair
Date:  2011-02-26 10:12 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/391a9ef69036

Merge


Changeset: e88c8381eaca
Author:ohair
Date:  2011-02-26 12:11 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/e88c8381eaca

7022237: Fix use of \" in the new "release" file at the top of the install, 
windows issues
Reviewed-by: ohrstrom

! make/common/Release.gmk

Changeset: 123dd69407f9
Author:ohair
Date:  2011-02-26 12:42 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/123dd69407f9

Merge


Changeset: ed1d4691da29
Author:ohrstrom
Date:  2011-02-28 10:56 +0100
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/ed1d4691da29

7021753: Add a build times report
Summary: Report the build times at end of a jdkroot build.
Reviewed-by: ohair

! make/common/shared/Defs-utils.gmk

Changeset: f32f0ae3d873
Author:ohair
Date:  2011-03-02 12:09 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/f32f0ae3d873

Merge


Changeset: 869cba583dd4
Author:ohair
Date:  2011-03-02 13:18 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/869cba583dd4

7020815: REBASE should not be required for windows jdk repo builds - can't 
build with VS 2010 Express
Reviewed-by: prr

! make/common/shared/Defs-utils.gmk
! make/common/shared/Sanity.gmk

Changeset: e5cd10425e7e
Author:ohair
Date:  2011-03-03 07:02 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/e5cd10425e7e

Merge

- src/share/classes/java/dyn/NoAccessException.java
- src/share/classes/java/dyn/Switcher.java
- test/java/lang/Thread/StopBeforeStart.java

Changeset: c588355b5bb7
Author:ohair
Date:  2011-03-03 15:30 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/c588355b5bb7

Merge


Changeset: 5e5f68a01d12
Author:ohair
Date:  2011-03-08 16:05 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/5e5f68a01d12

Merge

! make/common/Release.gmk



hg: jdk7/jdk7/corba: Added tag jdk7-b137 for changeset a66c01d8bf89

2011-04-26 Thread suchen . chien
Changeset: 99f186b8097f
Author:schien
Date:  2011-04-07 15:20 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/corba/rev/99f186b8097f

Added tag jdk7-b137 for changeset a66c01d8bf89

! .hgtags



Re: Problems with "type swallowing" in sub-interfaces of ListModel caused by adding Generics in Java 7 (x-post from swing-dev)

2011-04-26 Thread Pavel Porvatov

Hi Ismael,

Hi Pavel,

On Sat, Mar 5, 2011 at 3:16 PM, Pavel Porvatov
  wrote:

Swing generification is in progress. ComboBoxModel is a part of JComboBox
generification (https://bugs.openjdk.java.net/show_bug.cgi?id=100153, the
preliminary diff is here
https://bugs.openjdk.java.net/attachment.cgi?id=191&action=diff).

Thanks for the reply. It's encouraging that there is ongoing work in
this area. Do you know if this will be done before the release of Java
7?

I believe so.

Florian, do you have time to continue work on JComboBox generification?

Regards, Pavel


hg: jdk7/jdk7/jaxp: 3 new changesets

2011-04-26 Thread lana . steuck
Changeset: 877fd25c5a2f
Author:ohair
Date:  2011-03-02 12:00 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/877fd25c5a2f

7023289: jaxp 1.4.5 development jdk7 2nd integration
Reviewed-by: joehw, mchung, alanb

! jaxp.properties

Changeset: b693ccf23fb7
Author:lana
Date:  2011-03-07 11:56 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/b693ccf23fb7

Merge


Changeset: 02d4672e8c05
Author:lana
Date:  2011-03-10 20:37 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/02d4672e8c05

Merge




hg: jdk7/jdk7/langtools: 29 new changesets

2011-04-26 Thread lana . steuck
Changeset: 015dc9a63efc
Author:mcimadamore
Date:  2011-02-23 14:16 +
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/015dc9a63efc

7020657: Javac rejects a fairly common idiom with raw override and interfaces
Summary: name clash should not be reported if subinterface/implementing class 
resolves the clash by defining common overrider
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/7020657/T7020657neg.java
+ test/tools/javac/generics/7020657/T7020657neg.out
+ test/tools/javac/generics/7020657/T7020657pos.java

Changeset: 3ab7bb46c5c1
Author:mcimadamore
Date:  2011-02-23 14:17 +
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/3ab7bb46c5c1

7019631: issues in test headers in b130
Summary: fix to test headers not containing correct bug ID
Reviewed-by: jjg

! test/tools/javac/AnonStaticMember_2.java
! test/tools/javac/InterfaceInInner.java
! test/tools/javac/QualifiedNew.java
! test/tools/javac/generics/6969184/T6969184.java

Changeset: 4b0491db73af
Author:lana
Date:  2011-02-23 10:34 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4b0491db73af

Merge


Changeset: 3e30c95da3c6
Author:jjh
Date:  2011-02-24 08:40 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/3e30c95da3c6

7018753: tools/javac/varargs/warning/Warn5.java times out on slow machines
Summary: Use a single file manager for all JavacTasks
Reviewed-by: jjg, mcimadamore

! test/tools/javac/varargs/6199075/T6199075.java
! test/tools/javac/varargs/warning/Warn4.java
! test/tools/javac/varargs/warning/Warn5.java

Changeset: 8f0dcb9499db
Author:jjg
Date:  2011-02-25 12:09 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/8f0dcb9499db

7021650: fix Context issues
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/apt/util/Bark.java
! src/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! 
src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/util/Context.java
! src/share/classes/com/sun/tools/javadoc/JavadocClassReader.java
! src/share/classes/com/sun/tools/javadoc/JavadocEnter.java
! src/share/classes/com/sun/tools/javadoc/JavadocMemberEnter.java
! src/share/classes/com/sun/tools/javadoc/JavadocTodo.java
! src/share/classes/com/sun/tools/javadoc/Messager.java
! test/tools/javac/diags/ArgTypeCompilerFactory.java
! test/tools/javac/diags/Example.java
+ test/tools/javac/util/context/T7021650.java

Changeset: 23b64ad3eec8
Author:jjg
Date:  2011-02-25 12:19 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/23b64ad3eec8

7022310: test/tools/javac/diags/Example: args added twice
Reviewed-by: mcimadamore

! test/tools/javac/diags/Example.java

Changeset: 9286a5d1fae3
Author:mcimadamore
Date:  2011-02-28 11:48 +
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/9286a5d1fae3

7015430: Incorrect thrown type determined for unchecked invocations
Summary: Thrown types do not get updated after 15.12.2.8, and do not get erased 
as per 15.12.2.6
Reviewed-by: jjg, dlsmith

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/7015430/T7015430.java
+ test/tools/javac/generics/7015430/T7015430.out

Changeset: 9f9df9684cfc
Author:mcimadamore
Date:  2011-02-28 11:50 +
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/9f9df9684cfc

7015715: lub gets stuck on type with complex supertype
Summary: lub should not scan supertypes unnecessarily
Reviewed-by: jjg, dlsmith

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/inference/T7015715.java

Changeset: 9029f694e5df
Author:jjg
Date:  2011-02-28 12:19 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/9029f694e5df

7022337: repeated warnings about bootclasspath not set
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
- test/tools/javac/T6900037.java
- test/tools/javac/T6900037.out
+ test/tools/javac/options/T6900037.java
+ test/tools/javac/options/T6900037.out
+ test/tools/javac/options/T7022337.java

Changeset: bf9f162c7104
Author:jjg
Date:  2011-02-28 13:37 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/bf9f162c7104

7022741: warning counts are wrong after anno processing
Reviewed-by: mcimadamore

! 
src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
+ test/tools/javac/processing/TestWarnErrorCount.java
! test/tools/javac/processing/warnings/gold_0.out
! test/tools/javac/processing/warnings/gold_sv_warn_0_2.out
! test/tools/javac/processing/warnings/gold_sv_warn_2_3.out

JMX Agent work in JDK7...

2011-04-26 Thread James Melvin

As part of the JVM Convergence effort, we plan to enhance the JDK
JMX agent with select features from JRockit, including...

1. New commandline interface (jcmd) for basic JVM diagnostic commands
2. New Lifecycle support to independently start/stop the JMX agent
3. Support for select additional performance counters

This work is planned for JDK7, but requires substantial codebase
restructuring to align with HotSpot. Also, the project requires
careful thought around package organization and associated public,
private, and protected APIs. Work is ongoing and progressing nicely
towards a likely end of March initial delivery. We'll provide updates
and more details as the date approaches.

- Jim


Re: segmentation fault in the jvm

2011-04-26 Thread Stefanie Tellex

It looks like it stripped my attachments.  Download the program here:

www.media.mit.edu/~stefie10/jni_test.tar.gz

Stefanie

On 03/23/2011 11:10 AM, Stefanie Tellex wrote:

Hi,

Not sure if this is the right place to report this, but I have a Java
program that reliably seg faults the JVM when run under GDB. It doesn't
seem to happen (quickly) when I run it without gdb. It also doesn't seem
to happen if I turn off the JIT, although the original seg fault that
triggered this (part of a much larger program) would still happen with
the JIT turned off, although it took longer.

The program is attached, and the command I am running is this:

gdb --args $JAVA_HOME/jre/bin/java -classpath . Test

The java program loops forever. It gets through about 10 iterations and
then seg faults with this backtrace:

(gdb) bt
#0 0xb4192300 in ?? ()
Cannot access memory at address 0x234


I also wrote a simple JNI program (attached in the tar.gz) that creates
the JVM and calls Test programmatically. When I run it, it seg faults
after about 10 iterations, (sometimes more, sometimes fewer, every once
in a while it will run for quite a long time).
(gdb) bt
#0 0x41171329 in ?? ()
#1 0x4107f3bd in ?? ()
#2 0x40400dc3 in JavaCalls::call_helper(JavaValue*, methodHandle*,
JavaCallArguments*, Thread*) ()
from
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so

#3 0x405f2569 in os::os_exception_wrapper(void (*)(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*,
JavaCallArguments*, Thread*) () from
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so

#4 0x403fe907 in JavaCalls::call(JavaValue*, methodHandle,
JavaCallArguments*, Thread*) ()
from
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so

#5 0x40420a73 in jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*,
JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) ()
from
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so

#6 0x4044b2bb in jni_NewObjectV () from
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so

#7 0x40471542 in checked_jni_NewObjectV () from
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so

#8 0x08048a71 in JNIEnv_::NewObject (this=0x806353c, clazz=0x806475c,
methodID=0x80eb088)
at /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//include/jni.h:872
#9 0x080488ab in jvm_test () at c/create_jvm.cxx:63
#10 0x08048a16 in main () at c/create_jvm.cxx:116


I ran the same program in valgrind and I get lots of errors about
call_helper doing invalid writes:

==24756==
==24756== Invalid write of size 4
==24756== at 0x5494416: ???
==24756== by 0x548C0F6: ???
==24756== by 0x548BD04: ???
==24756== by 0x548BE29: ???
==24756== by 0x54893BC: ???
==24756== by 0x440ADC2: JavaCalls::call_helper(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*) (in
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)

==24756== by 0x45FC568: os::os_exception_wrapper(void (*)(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*,
JavaCallArguments*, Thread*) (in
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)

==24756== by 0x4408906: JavaCalls::call(JavaValue*, methodHandle,
JavaCallArguments*, Thread*) (in
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)

==24756== by 0x44B0A0F: JVM_DoPrivileged (in
/home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)

==24756== by 0x540E07A:
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2
(AccessController.c:67)
==24756== by 0x549571A: ???
==24756== by 0x548BE29: ???
==24756== Address 0xbe951754 is not stack'd, malloc'd or (recently) free'd


I've reproduced this against 1.7 as well as 1.6 and 1.5.

There are some bugs that seem to refer to this problem, although they
don't seem to be fixed or to have reproduction instructions.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7016961
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7016303
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7017562

Any hints would be appreciated.

Stefanie





Re: segmentation fault in the jvm

2011-04-26 Thread Christian Thalinger
[Bcc'ing jdk7-dev.]

On Mar 23, 2011, at 4:10 PM, Stefanie Tellex wrote:
> Hi,
> 
> Not sure if this is the right place to report this,

The right list would be:  hotspot-...@openjdk.java.net

> but I have a Java program that reliably seg faults the JVM when run under 
> GDB.   It doesn't seem to happen (quickly) when I run it without gdb.  It 
> also doesn't seem to happen if I turn off the JIT, although the original seg 
> fault that triggered this (part of a much larger program) would still happen 
> with the JIT turned off, although it took longer.
> 
> The program is attached, and the command I am running is this:
> 
> gdb --args $JAVA_HOME/jre/bin/java -classpath . Test
> 
> The java program loops forever.  It gets through about 10 iterations and then 
> seg faults with this backtrace:
> 
> (gdb) bt
> #0  0xb4192300 in ?? ()
> Cannot access memory at address 0x234

What you are seeing is that compiled code uses various signals for different 
things, like implicit null-pointer checks.  It happens when running in GDB 
because the debugger handles such signals by default.

When you run the java command in GDB in compiled mode (-Xcomp) you will see 
something like:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x1beb70 (LWP 13690)]
0xf4e74fcc in ?? ()

Ignoring SEGSEGV signals and continuing should run the java command fine:

(gdb) handle SIGSEGV noprint
SignalStop  Print   Pass to program Description
SIGSEGV   NoNo  Yes Segmentation fault
(gdb) c
Continuing.
Usage: java [-options] class [args...]
...

Hope that helps.

-- Christian

> 
> 
> I also wrote a simple JNI program (attached in the tar.gz) that creates the 
> JVM and calls Test programmatically.  When I run it, it seg faults after 
> about 10 iterations, (sometimes more, sometimes fewer, every once in a while 
> it will run for quite a long time).
> (gdb) bt
> #0  0x41171329 in ?? ()
> #1  0x4107f3bd in ?? ()
> #2  0x40400dc3 in JavaCalls::call_helper(JavaValue*, methodHandle*, 
> JavaCallArguments*, Thread*) ()
>from 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so
> #3  0x405f2569 in os::os_exception_wrapper(void (*)(JavaValue*, 
> methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, 
> JavaCallArguments*, Thread*) () from 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so
> #4  0x403fe907 in JavaCalls::call(JavaValue*, methodHandle, 
> JavaCallArguments*, Thread*) ()
>from 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so
> #5  0x40420a73 in jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, 
> JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) ()
>from 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so
> #6  0x4044b2bb in jni_NewObjectV () from 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so
> #7  0x40471542 in checked_jni_NewObjectV () from 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//jre/lib/i386/client/libjvm.so
> #8  0x08048a71 in JNIEnv_::NewObject (this=0x806353c, clazz=0x806475c, 
> methodID=0x80eb088)
> at /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug//include/jni.h:872
> #9  0x080488ab in jvm_test () at c/create_jvm.cxx:63
> #10 0x08048a16 in main () at c/create_jvm.cxx:116
> 
> 
> I ran the same program in valgrind and I get lots of errors about call_helper 
> doing invalid writes:
> 
> ==24756==
> ==24756== Invalid write of size 4
> ==24756==at 0x5494416: ???
> ==24756==by 0x548C0F6: ???
> ==24756==by 0x548BD04: ???
> ==24756==by 0x548BE29: ???
> ==24756==by 0x54893BC: ???
> ==24756==by 0x440ADC2: JavaCalls::call_helper(JavaValue*, methodHandle*, 
> JavaCallArguments*, Thread*) (in 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)
> ==24756==by 0x45FC568: os::os_exception_wrapper(void (*)(JavaValue*, 
> methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, 
> JavaCallArguments*, Thread*) (in 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)
> ==24756==by 0x4408906: JavaCalls::call(JavaValue*, methodHandle, 
> JavaCallArguments*, Thread*) (in 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)
> ==24756==by 0x44B0A0F: JVM_DoPrivileged (in 
> /home/stefie10/Downloads/jdk7/jdk1.7.0/fastdebug/jre/lib/i386/client/libjvm.so)
> ==24756==by 0x540E07A: 
> Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2
>  (AccessController.c:67)
> ==24756==by 0x549571A: ???
> ==24756==by 0x548BE29: ???
> ==24756==  Address 0xbe951754 is not stack'd, malloc'd or (recently) free'd
> 
> 
> I've reproduced this against 1.7 as well as 1.6 and 1.5.
> 
> There are some bugs that seem to refer to this problem, although they don't 
> seem to be fixed or to have reproduction in

hg: jdk7/jdk7/jaxp: Added tag jdk7-b139 for changeset 28c7c0ed2444

2011-04-26 Thread david . katleman
Changeset: c8136fd161c8
Author:katleman
Date:  2011-04-21 15:33 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/c8136fd161c8

Added tag jdk7-b139 for changeset 28c7c0ed2444

! .hgtags



hg: jdk7/jdk7/jaxp: Added tag jdk7-b135 for changeset 4aa9916693dc

2011-04-26 Thread suchen . chien
Changeset: 1759daa85d33
Author:schien
Date:  2011-03-24 11:20 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/1759daa85d33

Added tag jdk7-b135 for changeset 4aa9916693dc

! .hgtags



hg: jdk7/jdk7/jdk: 79 new changesets

2011-04-26 Thread lana . steuck
Changeset: 9f88ef1d373f
Author:srl
Date:  2011-03-07 17:23 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/9f88ef1d373f

7017324: Kerning crash in JDK 7 since ICU layout update
Reviewed-by: igor, prr

! src/share/native/sun/font/layout/KernTable.cpp
+ test/java/awt/font/TextLayout/KernCrash.java

Changeset: be2e229513a7
Author:srl
Date:  2011-03-07 19:37 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/be2e229513a7

6962082: merge back in lines from bad merge in CR 6501644 and open up a test
Reviewed-by: igor, prr

! src/share/native/sun/font/layout/LayoutEngine.cpp
+ test/java/awt/font/TextLayout/CombiningPerf.java

Changeset: 48d97c8653f0
Author:jgodinez
Date:  2011-03-08 11:47 -0800
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/48d97c8653f0

7020528: closed/java/awt/print/PageFormat/PageFormatFromAttributes.java failed
Reviewed-by: igor, prr

! src/windows/native/sun/windows/awt_PrintJob.cpp

Changeset: 69ec42543dd9
Author:bae
Date:  2011-03-09 13:08 +0300
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/69ec42543dd9

7022280: Parfait reports Format string argument mismatch in 
/jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
Reviewed-by: jgodinez, prr

! src/solaris/native/sun/awt/awt_GraphicsEnv.c

Changeset: 87444344d616
Author:bae
Date:  2011-03-10 11:18 +0300
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/87444344d616

6710434: PIT: Reg test java/awt/Graphics2D/ClipPrimitivesTest.java fails in pit 
build 6u10_b26
Reviewed-by: flar, prr

! src/share/native/sun/java2d/loops/ProcessPath.c

Changeset: fd8b81c558d3
Author:dlila
Date:  2011-03-15 15:15 -0400
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/fd8b81c558d3

7027667: clipped aa rectangles are not drawn properly.
Summary: Already fixed. This is just a regression test for it.
Reviewed-by: prr

+ test/sun/java2d/pipe/Test7027667.java

Changeset: 253f3bc64961
Author:dlila
Date:  2011-03-15 17:05 -0400
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/253f3bc64961

7019861: Last scanline is skipped in pisces.Renderer.
Summary: not skipping it anymore.
Reviewed-by: flar

! src/share/classes/sun/java2d/pisces/Helpers.java
! src/share/classes/sun/java2d/pisces/PiscesTileGenerator.java
! src/share/classes/sun/java2d/pisces/Renderer.java
! src/share/classes/sun/java2d/pisces/Stroker.java
+ test/sun/java2d/pisces/Renderer/Test7019861.java

Changeset: 5c61c31d2621
Author:bae
Date:  2011-03-16 19:21 +0300
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/5c61c31d2621

6989760: cmm native compiler warnings
Reviewed-by: prr, ohair

! make/sun/cmm/kcms/Makefile
! src/share/native/sun/awt/image/jpeg/imageioJPEG.c

Changeset: 4450c35a5f90
Author:bae
Date:  2011-03-17 17:45 +0300
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/4450c35a5f90

7014528: ColorModel and SampleModel gotten from the same ImageTypeSpecifier 
instance can be not compatible
Reviewed-by: jgodinez, prr

! src/share/classes/java/awt/image/PackedColorModel.java

Changeset: 5371ec6c4f41
Author:lana
Date:  2011-03-18 23:33 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/5371ec6c4f41

Merge

- make/common/Modules.gmk
- make/java/nio/mxbean/Makefile
- make/modules/Makefile
- make/modules/bootmodule.roots
- make/modules/jdk7.depconfig
- make/modules/modules.config
- make/modules/modules.group
- make/modules/optional.depconfig
- make/modules/tools/Makefile
- make/modules/tools/build.xml
- make/modules/tools/nbproject/project.properties
- make/modules/tools/nbproject/project.xml
- make/modules/tools/src/com/sun/classanalyzer/AnnotatedDependency.java
- make/modules/tools/src/com/sun/classanalyzer/AnnotationParser.java
- make/modules/tools/src/com/sun/classanalyzer/BootAnalyzer.java
- make/modules/tools/src/com/sun/classanalyzer/CheckDeps.java
- make/modules/tools/src/com/sun/classanalyzer/ClassAnalyzer.java
- make/modules/tools/src/com/sun/classanalyzer/ClassFileParser.java
- make/modules/tools/src/com/sun/classanalyzer/ClassPath.java
- make/modules/tools/src/com/sun/classanalyzer/CodeAttributeParser.java
- make/modules/tools/src/com/sun/classanalyzer/ConstantPoolAnalyzer.java
- make/modules/tools/src/com/sun/classanalyzer/ConstantPoolParser.java
- make/modules/tools/src/com/sun/classanalyzer/DependencyConfig.java
- make/modules/tools/src/com/sun/classanalyzer/Klass.java
- make/modules/tools/src/com/sun/classanalyzer/Module.java
- make/modules/tools/src/com/sun/classanalyzer/ModuleConfig.java
- make/modules/tools/src/com/sun/classanalyzer/ResolutionInfo.java
- make/modules/tools/src/com/sun/classanalyzer/ResourceFile.java
- make/modules/tools/src/com/sun/classanalyzer/ShowDeps.java
! make/sun/cmm/kcms/Makefile
- src/share/classes/sun/misc/BootClassLoaderHook.java
- src/share/classes/sun/misc/JavaSecurityCodeSignerAccess.java
- test/sun/misc/BootClassLoaderHook/TestHook.java

Changeset: 38ebd0682a54
Author:dav
Date:  2011

hg: jdk7/jdk7/langtools: Added tag jdk7-b137 for changeset a15c9b058ae0

2011-04-26 Thread suchen . chien
Changeset: aa4f494c17ef
Author:schien
Date:  2011-04-07 15:21 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/aa4f494c17ef

Added tag jdk7-b137 for changeset a15c9b058ae0

! .hgtags



hg: jdk7/jdk7/langtools: 20 new changesets

2011-04-26 Thread lana . steuck
Changeset: 148d3dc4e1e1
Author:bpatel
Date:  2011-03-22 18:32 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/148d3dc4e1e1

7025314: NLS: translatability violation on standard.properties
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java
! 
src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties
! 
src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
! test/com/sun/javadoc/testJavascript/TestJavascript.java
! test/com/sun/javadoc/testNavagation/TestNavagation.java
! test/com/sun/javadoc/testNewLanguageFeatures/TestNewLanguageFeatures.java

Changeset: 72bdd232e0ea
Author:bpatel
Date:  2011-03-23 14:40 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/72bdd232e0ea

7010342: End tag for element P is not open for few html files generated using 
new javadoc
Reviewed-by: jjg

! 
src/share/classes/com/sun/tools/doclets/formats/html/AnnotationTypeWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/ClassWriterImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/HelpWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
! src/share/classes/com/sun/tools/doclets/formats/html/PackageWriterImpl.java
! 
src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/stylesheet.css
+ test/com/sun/javadoc/testSubTitle/TestSubTitle.java
+ test/com/sun/javadoc/testSubTitle/pkg/C.java
+ test/com/sun/javadoc/testSubTitle/pkg/package.html

Changeset: 83260b3305ac
Author:jjg
Date:  2011-03-24 16:14 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/83260b3305ac

6597678: JavaCompiler.getStandardFileManager always uses default charset not 
the one that user specifies
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/api/JavacTool.java
! 
src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/util/JavacMessages.java
+ test/tools/javac/util/T6597678.java

Changeset: 26ea2557214a
Author:jjg
Date:  2011-03-25 07:39 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/26ea2557214a

7009599: javac build puts extraneous files into dist/lib/classes.jar
Reviewed-by: ohair

! make/build.xml

Changeset: 31e5cfc5a990
Author:jjg
Date:  2011-03-25 07:58 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/31e5cfc5a990

6437138: JSR 199: Compiler doesn't diagnose crash in user code
6482554: uncaught exception from annotation processor not reported through 
JavaCompiler.CompilationTask.call
Reviewed-by: mcimadamore

+ src/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/share/classes/com/sun/tools/javac/main/Main.java
! 
src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/util/Log.java
+ test/tools/javac/api/T6437138.java
+ test/tools/javac/api/TestClientCodeWrapper.java

Changeset: 442b1366cfdf
Author:bpatel
Date:  2011-03-25 15:17 -0700
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/442b1366cfdf

7001086: NLS: un-used resources should be removed from standard.properties and 
improper concatenation
Reviewed-by: jjg

! src/share/classes/com/sun/tools/doclets/formats/html/FrameOutputWriter.java
! 
src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties
+ test/com/sun/javadoc/testNonFrameWarning/TestNonFrameWarning.java
+ test/com/sun/javadoc/testNonFrameWarning/pkg/C.java

Changeset: 2007998f89f2
Author:mcimadamore
Date:  2011-03-29 16:40 +0100
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/2007998f89f2

7030687: Diamond: compiler accepts erroneous code where diamond is used with 
non-generic inner class
Summary: Diamond accepts non-parameterized member inner classes with 
parameterized outer because of a bad check
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/generics/diamond/7030687/ParserTest.java
+ test/tools/javac/generics/diamond/7030687/T7030687.java
+ test/tools/javac/generics/diamond/7030687/T7030687.out

Changeset: ddec8c712e85
Author:mcimadamore
Date:  2011-03-29 16:40 +0100
URL:   http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ddec8c712e85

7030606: Project-coin: multi-catch types should be pairwise disjoint
Summary: Bring javac in sync with latest Project Coin EDR
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/MulticatchTypesMustBeDisjoint.java
+ test/tools/javac/multicat

jdk7-b140: JSN, Tools, Core Libraries, Serviceability, 2d, Awt, and Swing

2011-04-26 Thread lana . steuck
http://hg.openjdk.java.net/jdk7/jdk7/rev/dcfe74f1c655 
http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/258e6654aba2 
http://hg.openjdk.java.net/jdk7/jdk7/jdk/rev/ead0ccd4a34e 
http://hg.openjdk.java.net/jdk7/jdk7/jaxws/rev/82a9022c4f21 
http://hg.openjdk.java.net/jdk7/jdk7/jaxp/rev/c8136fd161c8 
http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/7b4fb6089361 
http://hg.openjdk.java.net/jdk7/jdk7/corba/rev/cdf5d19ec142 

---

Component : 2d
Status: 0 major failures, 0 minor failures
Date  : 04/25/2011 at 15:04
Tested By : Tony
Cost(total man-days): 1

Workspace : 
http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/2d/   
Bundles   : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/nb/archived/2011-04-18-210339.ss145989.tl-pit-2d-awt-swing/link-to-jprt-build/bundles
Platforms : 
Others

Tests : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/repo.latest-pit/jdk 
Browsers  : NA
Patches   : NA
Logs  : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/nb/archived/2011-04-18-210339.ss145989.tl-pit-2d-awt-swing/logs/webrev/
Number of Tests Executed : 7 product tests, 0 unit tests, 0 tck tests

Bug verification status:
==
 Tested, Pass: 
6942504: test/javax/imageio/metadata/DOML3Node.java fails
6983666: Typo in JavaDoc comments within FileCacheImageOutputStream
7003372: test/closed/java/awt/print/PrinterJob/PaintText.java has error
7004984: Features.h was renamed to ICUFeatures.h and should be removed
7033534: Two tests fail just against jdk7 b136
7034231: Default font appears twice in fallback font list
7036275: EUDC character is not displayed on Swing if ClearType is enabled

 Tested, Pass (partial fixes): 

 Tested, Fail: 

 Untested bug fixes:
Setup is not available: 
Build change only: 

 New bugs filed:
Bugs in PIT build: 

Bugs in earlier promoted build: 

Number of PIT requested: 1
Integration target J2SE build number: 1.7.0-b140

Issues and Notes:
  
---
>From Tony

Component : JDBC
Status: 0 major failures, 0 minor failures
Date  : 04/25/2011 at 04:21
Tested By : Eugene
Cost(total man-days): 1

Workspace : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/nb/archived/2011-04-19-082831.jcg-integrator.tl-pb_full-2d-awt-swing/
Bundles   : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/nb/archived/2011-04-19-082831.jcg-integrator.tl-pb_full-2d-awt-swing/linux_i586
Platforms : 
Others

Tests : /net/vice.russia/export/home0/testsuites/jdbc_master_ws
Browsers  : NA
Patches   : NA
Logs  : 
http://vice.russia.sun.com/results/1.7.0/b140/pit/jdbc/workDir/tonga.output/
Number of Tests Executed : 1117 product tests, 0 unit tests, 0 tck tests

Bug verification status:
==
 Tested, Pass: 
7007772: Typo, letter 't' is missing in the interface in java/sql/ResultSet.html
7034471: Wrap registered Drivers so the equals is not accessible during 
registration
7034656: Remove lint warnings from DriverManager
7035615: Remove lint warnings from javax.sql.rowset classes
7036251: SQLPermission constructors need to mention the new permission target 
names
7037085: Add hashCode() to Timestamp to address Findbugs issue

 Tested, Pass (partial fixes): 

 Tested, Fail: 

 Untested bug fixes:
Setup is not available: 
Build change only: 

 New bugs filed:
Bugs in PIT build: 

Bugs in earlier promoted build: 

Number of PIT requested: 1
Integration target J2SE build number: 1.7.0-b140

Issues and Notes:
  
---
>From Eugene

Component : awt
Status: 0 major failures, 1 minor failures
Date  : 04/26/2011 at 09:26
Tested By : Yinhe Cao & Rochy
Cost(total man-days): 3

Workspace : 
http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/awt/
Bundles   : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/nb/archived/2011-04-18-210339.ss145989.tl-pit-2d-awt-swing
Platforms : 
Solaris Sparc 10(32), -client

Tests : 
/net/jano1.us.oracle.com/export1/jcg/ws-depot/7/tl/repo.latest-pit/jdk
Browsers  : NA
Patches   : NA
Logs  : http://sqeweb.sfbay.sun.com/nfs/results/awt/pit/7/b140
Number of Tests Executed : 0 product tests, 0 unit tests, 18 tck tests

Bug verification status:
==
 Tested, Pass: 
6983562: Two java/awt tests failing just on jdk7b108
6998877: After double-click on  the folder names , FileNameOverrideTest FAILED
7002839: Static initialization deadlock between 
sun.awt.Win32GraphicsEnvironment and sun.awt.windows.WToolkit
7021001: Default implementation of Toolkit.loadSystemColors(int[]) and many 
others doesn't throw HE in hl env
7027013: Regression: JComponent.revalidate() has no effect on invisible 
components
7031854: JCK 7 test FileDialogTest0001 fails on Windows with Russian locale
7032566: Toolkit.areExtraMouseButtonsEnabled() not alws correspnd 
"sun.awt.enableExtraMouseButtons" sys prop

 Tested, Pass (partial fixes): 

 Tested, Fail: 
7008513