1778 Commits

Author SHA1 Message Date
Lana Steuck
04b6a83eb6 Merge 2010-06-30 19:05:50 -07:00
Ulf Zibis
c8a460e29d 6940258: (bf) Use intrinsified reverseBytes operation; elide no-op constructs
Reviewed-by: alanb, sherman
2010-06-30 16:11:32 -07:00
Based on an idea by Ulf Zibis
cd7e4c8c16 6935172: Optimize bit-twiddling in Bits.java
Transformations to reduce size of bytecode

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Martin Buchholz
3cb2c5c25a 6934271: Better handling of longer utf-8 sequences
Various cleanups, including clever bit-twiddling

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
ff895e1ca9 6933322: Add methods highSurrogate(), lowSurrogate() to class Character
Add public variants of methods Surrogate.high, Surrogate.low

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
aa6a17064b 6934270: Remove javac warnings from Character.java
Use generics and conform to coding style

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c3e20af57 6963749: Minor improvements to Character.UnicodeBlock
Fix surrogate area docs; make source more readable

Reviewed-by: okutsu, sherman
2010-06-30 16:11:32 -07:00
Martin Buchholz
0af0decb66 6940381: Wording improvements for String.indexOf, String.lastIndexOf
Make wording of javadoc clearer and more consistent

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
9c81e25271 6937112: String.lastIndexOf confused by unpaired trailing surrogate
Rewrite lastIndexOf for performance and correctness

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
a0f3e72c24 6934265: Add public method Character.isBmpCodePoint
Move isBmpCodePoint from sun.nio.cs.Surrogate to Character

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Ulf Zibis
30d5c660bc 6934268: Better implementation of Character.isValidCodePoint
Use the cleverest possible bit-twiddling micro-optimizations

Reviewed-by: sherman
2010-06-30 16:11:31 -07:00
Lana Steuck
9a4b556a63 Merge 2010-06-30 15:09:24 -07:00
Lana Steuck
67de841056 Merge 2010-06-29 22:34:59 -07:00
Lana Steuck
acc448eb85 Merge 2010-06-29 10:50:11 -07:00
Phil Race
93f31249a1 6943487: NPE in makeMultiCharsetString while printing on linux
Reviewed-by: igor, jgodinez
2010-06-29 09:48:15 -07:00
Jon VanAlten
a55533ffab 6963870: NPE in CompoundBorder.getInsets()
Reviewed-by: alexp
2010-06-29 14:42:30 +04:00
Kumar Srinivasan
7511a7950b 6856415: Enabling java security manager will make programe thrown wrong exception ( main method not found )
Reviewed-by: darcy
2010-06-28 18:25:03 -07:00
Chris Hegarty
85a8187c52 6954525: Testcase failure java/net/Authenticator/B4769350.java
Reviewed-by: michaelm, weijun
2010-06-28 14:55:25 +01:00
Weijun Wang
c93ecb6623 6946669: SSL/Krb5 should not call EncryptedData.reset(data, false)
Reviewed-by: xuelei
2010-06-24 14:26:35 +08:00
Weijun Wang
6426b52076 6844907: krb5 etype order should be from strong to weak
Reviewed-by: valeriep
2010-06-24 14:26:28 +08:00
Weijun Wang
4bdcad4b69 6958026: Problem with PKCS12 keystore
Reviewed-by: mullan
2010-06-24 14:26:22 +08:00
Joshua Bloch
50f960454d 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
6911261: Project Coin: Retrofit Automatic Resource Management (ARM) support onto platform APIs
6962571: Infinite loop in printing out Throwable stack traces with circular references

Reviewed-by: darcy, alanb
2010-06-23 17:03:40 -07:00
Jeremy Manson
9a0c9857b1 6942989: 2/2 Memory leak of java.lang.ref.WeakReference objects
Use ReferenceQueues to manage WeakReferences in LogManager and Logger.

Reviewed-by: dholmes, alanb, emcmanus, tonyp
2010-06-22 10:54:59 -07:00
Alexander Potochkin
38241ca3a4 6684401: JTree isExpanded should not call itself recursively
Reviewed-by: rupashka
2010-06-22 20:36:55 +04:00
Alexander Potochkin
3e7a0f0bfd 6777378: NullPointerException in XPDefaultRenderer.paint()
Reviewed-by: rupashka
2010-06-22 19:38:27 +04:00
Peter Zhelezniakov
c24951c366 6959260: javax/swing/JLabel/6501991/bug6501991.java failed on build 1.7.0-ea-b96
Reviewed-by: rupashka
2010-06-22 14:36:46 +04:00
Sergey Malenkov
3cd3bb0958 6707234: Method returned by Introspector.internalFindMethod not necessarily most specific
Reviewed-by: peterz
2010-06-22 12:06:33 +04:00
Lana Steuck
ac40d6f126 Merge 2010-06-21 22:08:10 -07:00
Lana Steuck
fa13ff6051 Merge 2010-06-21 22:06:28 -07:00
Mandy Chung
239fc2abf7 6962815: support enable and disable of the servicetag's system registry for testing purpose
Allow the system registry to be disabled/enabled at runtime

Reviewed-by: ksrini
2010-06-21 15:02:47 -07:00
Mandy Chung
4d0c91a7c9 6962478: Privacy page referenced in register_ja.html is incorrect
Fix the URL for the privacy page

Reviewed-by: ogino
2010-06-20 19:56:42 -07:00
Kumar Srinivasan
30c988b71e 6712743: pack200: should default to 150.7 pack format for classfiles without any classes
Reviewed-by: jrose
2010-06-19 17:42:39 -07:00
John R Rose
2fb4d43825 Merge 2010-06-19 01:14:40 -07:00
John R Rose
f3779adaed Merge 2010-06-18 15:23:57 -07:00
Phil Race
ee0a2ddfe6 6961633: gui applications cause a jvm crash on windows
Reviewed-by: ceisserer, bae
2010-06-18 11:00:14 -07:00
Alan Bateman
0b946fc36e 4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info
Reviewed-by: chegar
2010-06-18 16:16:51 +01:00
Weijun Wang
5141220c5e 6959292: regression: cannot login if session key and preauth does not use the same etype
Reviewed-by: xuelei, valeriep
2010-06-17 13:46:15 +08:00
Lana Steuck
ce4febb72c Merge 2010-06-16 14:07:47 -07:00
Kumar Srinivasan
fad23a5a1f 6575373: Error verifying signatures of pack200 files in some cases
Reviewed-by: jrose, forax
2010-06-16 12:36:49 -07:00
Mario Torre
cb437cbfe4 6961732: FontMetrics.getLeading() may be negative in freetype-based OpenJDK builds
Fix premature integer roundings to preserve correct height, width and descent values for fonts

Reviewed-by: prr
2010-06-16 20:46:10 +02:00
Alexander Potochkin
f27b8e12bd 6739756: JToolBar leaves space for non-visible items under Nimbus L&F
Reviewed-by: peterz
2010-06-15 21:32:59 +04:00
Alexander Potochkin
0b9679e5b7 6771547: SynthParser throws StringIndexOutOfBoundsException parsing custom ColorTypes
Reviewed-by: rupashka
2010-06-15 21:28:22 +04:00
Mandy Chung
1696f0a3a6 6952161: Rebranding: Registration html for servicetag
Rebrand register.html and jdk_header.png

Reviewed-by: ohair, asaha, ogino, mfang
2010-06-15 09:49:31 -07:00
Alexander Potochkin
b96bd0ebfc 6735259: NPE at WindowsComboBoxUI$XPComboBoxButton.getState(WindowsComboBoxUI.java:408)
Reviewed-by: rupashka
2010-06-15 19:10:42 +04:00
Alexander Potochkin
db380d5775 6788484: NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table
Reviewed-by: rupashka
2010-06-15 19:05:44 +04:00
Sergey Malenkov
003df98660 5066685: BorderFactory lacks SoftBevelBorder support
Reviewed-by: alexp
2010-06-15 17:39:55 +04:00
Martin Buchholz
45b78120fc 6944584: Improvements to subprocess handling on Unix
Use thread pool for reaper thread; move most I/O operations out of reaper thread

Reviewed-by: michaelm, hiroshi
2010-06-11 18:55:45 -07:00
Andrew John Hughes
5b0c4babe6 6959197: When building with JAVAC_MAX_WARNINGS=true, the build fails in sun/nio/cs due to the use of -Werror
Remove unneeded casts, add generic types and make better use of static data

Reviewed-by: sherman
2010-06-12 01:32:43 +01:00
Alan Bateman
356e978bce 6938230: (so) SocketAdaptor.close() does not translate IOException resulting in Error
Reviewed-by: chegar
2010-06-11 14:47:22 +01:00
Weijun Wang
b0277a9631 6958869: regression: PKIXValidator fails when multiple trust anchors have same dn
Reviewed-by: xuelei, wetmore, mullan
2010-06-11 11:38:36 +08:00