hg: jdk7u/jdk7u/jdk: 23 new changesets

lana.steuck at oracle.com lana.steuck at oracle.com
Sun Jun 3 22:05:18 PDT 2012


Changeset: 7647f9201e31
Author:    serb
Date:      2012-05-24 17:17 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7647f9201e31

7160623: [macosx] Editable TextArea/TextField are blocking GUI applications from exit
Reviewed-by: anthony, kizune

! src/macosx/classes/sun/lwawt/LWComponentPeer.java
! src/macosx/classes/sun/lwawt/LWTextComponentPeer.java

Changeset: 665d7e1e7252
Author:    kizune
Date:      2012-05-25 16:06 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/665d7e1e7252

7171163: [macosx] Shortcomings in the design of the secondary native event loop made JavaFX DnD deadlock
Reviewed-by: art, anthony

! src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java
! src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java
! src/macosx/native/sun/awt/LWCToolkit.m
! src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java

Changeset: 61517f1fe79e
Author:    nloodin
Date:      2012-05-24 09:32 +0200
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/61517f1fe79e

7143353: -Xrunhprof fails in Java 7 due to bad switch
Reviewed-by: jrose, sspitsyn

! src/share/demo/jvmti/java_crw_demo/java_crw_demo.c
! src/share/javavm/export/classfile_constants.h

Changeset: 39db51e1aa62
Author:    nloodin
Date:      2012-05-25 06:01 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/39db51e1aa62

Merge


Changeset: 6432464ffec2
Author:    dcubed
Date:      2012-05-26 08:01 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/6432464ffec2

7170449: Management is completely broken at least on Solaris 11 X86
Summary: Work around 'gobjcopy' failures on Solaris by adding temporary tools to add the '.gnu_debuglink' section and remove the SHF_ALLOC flag from "empty" section headers.
Reviewed-by: sspitsyn, acorn

! make/common/Defs-solaris.gmk
! make/common/Defs.gmk
! make/common/Library.gmk
! make/common/Program.gmk
! make/tools/Makefile
+ make/tools/add_gnu_debuglink/Makefile
+ make/tools/add_gnu_debuglink/add_gnu_debuglink.c
+ make/tools/fix_empty_sec_hdr_flags/Makefile
+ make/tools/fix_empty_sec_hdr_flags/fix_empty_sec_hdr_flags.c

Changeset: e9014eaf0e03
Author:    bae
Date:      2012-05-28 13:19 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/e9014eaf0e03

7146550: [macosx] DnD test failure in createCompatibleWritableRaster()
Reviewed-by: art, serb

! src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java
! src/macosx/classes/sun/lwawt/macosx/CImage.java
! src/macosx/native/sun/awt/CDragSource.h
! src/macosx/native/sun/awt/CDragSource.m
! src/macosx/native/sun/awt/CDragSourceContextPeer.m
! test/java/awt/dnd/ImageDecoratedDnDNegative/ImageDecoratedDnDNegative.java

Changeset: 7f0e6be7f7ea
Author:    bae
Date:      2012-05-28 13:29 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7f0e6be7f7ea

7124400: [macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs)
Reviewed-by: art, anthony

! src/macosx/classes/sun/awt/CGraphicsDevice.java
! test/java/awt/GraphicsDevice/CloneConfigsTest.java

Changeset: 9fa6e878fcdb
Author:    bae
Date:      2012-05-28 13:36 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9fa6e878fcdb

7154088: [macosx] Regression: Component.createImage do not inherits component attributes
Reviewed-by: anthony

! src/macosx/classes/sun/lwawt/LWComponentPeer.java

Changeset: 533eb1663b90
Author:    dcherepanov
Date:      2012-05-28 13:46 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/533eb1663b90

7168550: [macosx] duplicate OGL context state changes related to vertex cache
Reviewed-by: bae

! src/macosx/native/sun/java2d/opengl/CGLGraphicsConfig.m
! src/macosx/native/sun/java2d/opengl/CGLSurfaceData.m
! src/share/native/sun/java2d/opengl/OGLContext.h
! src/share/native/sun/java2d/opengl/OGLTextRenderer.c
! src/share/native/sun/java2d/opengl/OGLVertexCache.c
! src/share/native/sun/java2d/opengl/OGLVertexCache.h

Changeset: 36a5fa410439
Author:    dcherepanov
Date:      2012-05-28 13:52 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/36a5fa410439

7160293: [macosx] FileDialog appears on secondary display
Reviewed-by: anthony, kizune

! src/macosx/classes/sun/awt/CGraphicsEnvironment.java
! src/macosx/classes/sun/lwawt/LWWindowPeer.java
! src/macosx/classes/sun/lwawt/PlatformWindow.java
! src/macosx/classes/sun/lwawt/macosx/CPlatformEmbeddedFrame.java
! src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java
! src/macosx/native/sun/awt/AWTWindow.m

Changeset: 7e2de40cb062
Author:    leonidr
Date:      2012-05-28 19:06 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7e2de40cb062

7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE
Reviewed-by: anthony

! src/macosx/native/sun/awt/AWTEvent.m

Changeset: c528acec8bba
Author:    robm
Date:      2012-05-17 22:42 +0100
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/c528acec8bba

7168110: Misleading jstack error message
Reviewed-by: alanb, dsamersoff

! src/windows/native/sun/tools/attach/WindowsVirtualMachine.c

Changeset: 3562fc7500a4
Author:    khazra
Date:      2012-05-30 10:55 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/3562fc7500a4

7170169: (props) System.getProperty("os.name") should return "Windows 8" when run on Windows 8
Summary: Enable Windows Version 6.2 to be recognized as Windows 8
Reviewed-by: darcy, dholmes, alanb, chegar

! src/windows/native/java/lang/java_props_md.c

Changeset: bb8d00b9c06e
Author:    raginip
Date:      2012-05-30 14:02 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/bb8d00b9c06e

7172552: jabswitch utility should not request elevated privilege on the system
Reviewed-by: ptbrunet

! make/bridge/Jabswitch/Makefile

Changeset: bd2b4dbc3134
Author:    ohair
Date:      2012-05-30 14:30 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/bd2b4dbc3134

Merge


Changeset: 11987e85555f
Author:    mduigou
Date:      2012-05-30 23:36 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/11987e85555f

7126277: Alternative String hashing implementation
Summary: All of the hashing based Map implementations: HashMap, Hashtable, LinkedHashMap, WeakHashMap and ConcurrentHashMap are modified to use an enhanced hashing algorithm for string keys when the capacity of the hash table has ever grown beyond 512 entries. The enhanced hashing implementation uses the murmur3 hashing algorithm along with random hash seeds and index masks. These enhancements mitigate cases where colliding String hash values could result in a performance bottleneck.
Reviewed-by: alanb, forax, dl

! make/java/java/FILES_java.gmk
! src/share/classes/java/lang/String.java
! src/share/classes/java/lang/System.java
! src/share/classes/java/util/HashMap.java
! src/share/classes/java/util/Hashtable.java
! src/share/classes/java/util/LinkedHashMap.java
! src/share/classes/java/util/WeakHashMap.java
! src/share/classes/java/util/concurrent/ConcurrentHashMap.java
+ src/share/classes/sun/misc/Hashing.java
! src/share/classes/sun/misc/JavaLangAccess.java
! src/share/classes/sun/util/PreHashedMap.java
! test/java/util/Collection/BiggernYours.java
! test/java/util/Hashtable/HashCode.java
! test/java/util/Hashtable/SimpleSerialization.java
+ test/java/util/Map/Collisions.java
! test/java/util/Map/Get.java
+ test/sun/misc/Hashing.java

Changeset: 3fc3d4ae7e47
Author:    dholmes
Date:      2012-05-31 04:58 -0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/3fc3d4ae7e47

7171653: 32-bit cross-compile on 64-bit build host generates 64-bit data for awt/X11 leading to crash
Reviewed-by: ohair, anthony

! make/sun/xawt/Makefile

Changeset: e1c679a00712
Author:    mduigou
Date:      2012-05-17 10:06 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/e1c679a00712

6924259: Remove offset and count fields from java.lang.String
Summary: Removes the use of shared character array buffers by String along with the two fields needed to support the use of shared buffers.
Reviewed-by: mduigou, forax
Contributed-by: brian.doherty at oracle.com

! src/share/classes/java/lang/Integer.java
! src/share/classes/java/lang/Long.java
! src/share/classes/java/lang/String.java
! src/share/classes/java/lang/StringCoding.java

Changeset: 6069fe8ffead
Author:    mduigou
Date:      2012-05-31 14:09 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/6069fe8ffead

7173329: Fix build broken by 7126277 to jdk7u-dev
Reviewed-by: ahgross

! src/share/classes/java/lang/String.java

Changeset: 421b71e31687
Author:    mduigou
Date:      2012-06-01 00:32 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/421b71e31687

7173432: Handle null key at HashMap resize
Summary: If the key to be inserted into a HashMap is null and the table needs to be resized as part of the insertion then addEntry will try to recalculate the hash of a null key. This will fail with an NPE.
Reviewed-by: darcy, alanb

! src/share/classes/java/util/HashMap.java
+ test/java/util/HashMap/NullKeyAtResize.java

Changeset: 701b62f43784
Author:    denis
Date:      2012-06-01 18:23 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/701b62f43784

7112115: Component.getLocationOnScreen() work incorrectly if create window in point (0, 0) on oel
Reviewed-by: serb

+ test/javax/swing/JSpinner/5012888/bug5012888.java

Changeset: 3335ab17d926
Author:    bae
Date:      2012-06-01 19:24 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/3335ab17d926

7120895: FontConfiguration should not use thread contextClassLoader
Reviewed-by: igor, prr

! src/share/classes/sun/awt/FontConfiguration.java

Changeset: aa49fe749096
Author:    lana
Date:      2012-06-01 11:46 -0700
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/aa49fe749096

Merge





More information about the jdk7u-dev mailing list