JNI GetObjectArrayElement mark probe ret value shadowed

2009-10-19 Thread Mark Wielaard
Hi, In jni.cpp the DT_RETURN_MARK for GetObjectArrayElement tries to capture the jobject ret value. But the actual ret value returned is a newly defined jobject ret in the local scope of the if (is_within_bounds) branch. This means when probing the return of GetObjectArrayElement the return value

hg: jdk7/tl/jdk: 4 new changesets

2009-10-19 Thread alan . bateman
Changeset: d9f41daf8bcc Author:alanb Date: 2009-10-19 19:58 +0100 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/d9f41daf8bcc 6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode Reviewed-by: ohair ! test/java/nio/file/Files/ContentType.java ! test/j

JNI DEFINE_NEWSCALARARRAY uses DT_RETURN_MARK_DECL_FOR

2009-10-19 Thread Mark Wielaard
Hi, In jni.cpp the DEFINE_NEWSCALARARRAY macro uses DT_RETURN_MARK_DECL_FOR instead of the normal DT_RETURN_MARK_DECL. The DT_RETURN_MARK_DECL_FOR macro should only be used for mark probes that could return a primitive jfloat or jdouble. But DEFINE_NEWSCALARARRAY creates the functions for NewArray

hg: jdk7/tl/langtools: 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly

2009-10-19 Thread jonathan . gibbons
Changeset: 2485f5641ed0 Author:jjg Date: 2009-10-19 13:38 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/2485f5641ed0 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly Reviewed-by: darcy ! src/share/classes/com/sun/tools/jav

hg: jdk7/tl/jdk: 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly

2009-10-19 Thread jonathan . gibbons
Changeset: 121284d0489d Author:jjg Date: 2009-10-19 13:43 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/121284d0489d 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly Reviewed-by: darcy ! make/common/shared/Defs-java.gmk

hg: jdk7/tl/jdk: 6889858: Add nonNull methods to java.util.Objects

2009-10-19 Thread joe . darcy
Changeset: 1602e8848bde Author:darcy Date: 2009-10-19 16:31 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/1602e8848bde 6889858: Add nonNull methods to java.util.Objects Reviewed-by: darcy Contributed-by: [email protected] ! src/share/classes/java/util/Objects.java ! test/java