Commit Graph

4388 Commits

Author SHA1 Message Date
Sergey Malenkov
3851c96f71 7187618: PropertyDescriptor Performance Slow
Reviewed-by: rupashka
2012-07-30 13:35:10 +04:00
Lana Steuck
565c89629e Merge 2012-07-27 22:39:44 -07:00
Lana Steuck
44ce09ba1f Merge 2012-07-27 22:26:19 -07:00
Jim Gish
558e1362a9 6914123: (str) Missing synchronization in java.lang.String#contentEquals(CharSequence)
Change contentEquals( CharSequence cs ) to do synchronization if cs is a StringBuffer

Reviewed-by: mduigou
2012-07-27 16:17:11 -04:00
Sean Coffey
37f0895031 7179879: SSLSocket connect times out instead of throwing socket closed exception
Reviewed-by: xuelei, chegar
2012-07-26 22:00:55 +01:00
Oleg Pekhovskiy
79a36f32ee 7185678: java/awt/Menu/NullMenuLabelTest/NullMenuLabelTest.java failed with NPE
Reviewed-by: art, ahgross
2012-07-25 19:46:00 +04:00
Sergey Malenkov
79228b75d4 4650871: Classes in sunw.* should be removed from workspace and rt.jar
Reviewed-by: art, rupashka
2012-07-25 19:14:02 +04:00
Pavel Porvatov
30ec391b79 7167780: Hang javasoft.sqe.tests.api.javax.swing.Timer.Ctor2Tests
Reviewed-by: alexsch
2012-07-25 13:41:46 +04:00
Kurchi Subhra Hazra
9b4da3fa50 7184287: (prefs) BackingStoreException when calling flush on root node[macosx]
Change implementation to enable user without administrative privileges to call flush

Reviewed-by: alanb
2012-07-24 13:38:50 -07:00
Xueming Shen
b9fa2e4fb9 6653797: Reimplement JDK charset repository charsets.jar
Migrated all jis based charsets to new implementation

Reviewed-by: okutsu
2012-07-24 12:17:39 -07:00
Christian Thalinger
360d512854 7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI

Remove assembly code for JDK 7 chained method handles

Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: jrose, twisti, mhaupt, forax
2012-07-24 10:47:44 -07:00
Weijun Wang
3caaf6a13d 7179796: GSSExceptionImpl outputs duplicate mech oid
Reviewed-by: valeriep
2012-07-24 09:20:44 +08:00
Alexander Scherbatiy
cd7e4aab71 7185512: The printout doesn't match image on screen
Reviewed-by: serb, bagiras
2012-07-23 17:41:43 +04:00
Oleg Pekhovskiy
f28b488994 7180036: Build failure in Mac platform caused by fix # 7163201
Reviewed-by: art, kizune, ahgross
2012-07-23 15:51:46 +04:00
Oleg Pekhovskiy
ffc9ae1245 7163201: Simplify toolkit internals references
Reviewed-by: art, anthony, ahgross
2012-08-30 13:11:23 -07:00
Alan Bateman
dad0499822 6633549: (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
Reviewed-by: chegar
2012-07-22 20:32:12 +01:00
Weijun Wang
53170d594f 7180907: Jarsigner -verify fails if rsa file used sha-256 with authenticated attributes
Reviewed-by: xuelei
2012-07-21 19:56:53 +08:00
Xueming Shen
067447f6c6 7130915: File.equals does not give expected results when path contains Non-English characters on Mac OS X
To support Unicode nfd/nfc file path on Macos

Reviewed-by: alanb
2012-07-19 21:23:53 -07:00
Leonid Romanov
9134e38287 7181027: [macosx] Unable to use headless mode
Reviewed-by: anthony
2012-07-19 19:41:59 +04:00
Pavel Porvatov
5f81b7f30d 7124330: [macosx] javax.swing.JComboBox throws unexpected ClassCastException
Reviewed-by: kizune
2012-07-19 19:09:30 +04:00
Lana Steuck
6a79c2b179 Merge 2012-07-18 16:09:35 -07:00
Lana Steuck
f30c450012 Merge 2012-07-18 16:07:45 -07:00
Michael McMahon
94f61c976b 7183292: HttpURLConnection.getHeaderFields() throws IllegalArgumentException: Illegal cookie name
Reviewed-by: khazra, chegar
2012-07-18 18:46:17 +01:00
Alexander Scherbatiy
14e75d338b 7182902: [macosx] Test api/java_awt/GraphicsDevice/indexTGF.html#SetDisplayMode fails on Mac OS X 10.7
Reviewed-by: bae, kizune
2012-07-18 18:25:49 +04:00
Xueming Shen
50e0a37ed9 7183053: Optimize DoubleByte charset for String.getBytes()/new String(byte[])
DoubleByte implements sun/nio.cs/ArrayDe/Encoder interface

Reviewed-by: alanb
2012-07-17 19:57:31 -07:00
Phil Race
062fbe8cad 7183251: Netbeans editor renders text wrong on JDK 7u6 build 17
Reviewed-by: igor, jgodinez
2012-07-17 16:35:49 -07:00
Oleg Pekhovskiy
e99cc14fc5 7177040: Deadlock between PostEventQueue.noEvents, EventQueue.isDispatchThread and SwingUtilities.invokeLater
Reviewed-by: anthony, ant
2012-07-17 12:59:57 +04:00
Lana Steuck
d515cd505a Merge 2012-07-16 17:04:32 -07:00
Lana Steuck
80c6175a2a Merge 2012-07-16 14:49:27 -07:00
Sergey Bylokhov
6261447205 7170657: [macosx] There seems to be no keyboard/mouse action to select non-contiguous items in List
Reviewed-by: rupashka
2012-07-16 14:04:03 +04:00
Sergey Bylokhov
5ef289c76b 7181438: [OGL] Incorrect alpha used, during blit from SW to the texture
Reviewed-by: prr, campbell
2012-07-16 14:00:36 +04:00
Kumar Srinivasan
3c9f53969a 7184145: (pack200) pack200 --repack throws NullPointerException when JAR file specified without path
Reviewed-by: alanb, sherman
2012-07-14 18:00:42 -07:00
Kurchi Subhra Hazra
29739d16ee 7160252: (prefs) NodeAddedEvent was not delivered when new node add when new Node
Change native code to convey to Java code whether a new node was added

Reviewed-by: alanb, chegar
2012-07-13 16:02:26 -07:00
Pavel Tisnovsky
d0b5b673e8 7022041: TitleBorder Null Pointer Exception
Added check if getTitleFont() and getTitleColor() don't return null

Reviewed-by: alexsch
2012-07-12 16:54:47 +02:00
James Laskey
8bc65af302 7127687: MethodType leaks memory due to interning
Replace internTable with a weak-reference version.

Reviewed-by: sundar, forax, brutisso
2012-07-12 00:12:52 -07:00
John R Rose
c04c841a70 7087658: MethodHandles.Lookup.findVirtual is confused by interface methods that are multiply inherited
Reviewed-by: twisti
2012-07-12 00:12:28 -07:00
John R Rose
b9299f283f 7129034: VM crash with a field setter method with a filterArguments
Add null checks before unsafe calls that take a variable base reference; update unit tests

Reviewed-by: kvn, twisti
2012-07-12 00:11:35 -07:00
John R Rose
0d882ec317 7153157: ClassValue.get does not return if computeValue calls remove
Track intermediate states more precisely, according to spec.

Reviewed-by: twisti, forax
2012-07-12 00:10:53 -07:00
David Katleman
56135386ad Merge 2012-07-11 16:02:18 -07:00
Weijun Wang
3e4ca7604b 6966259: Make PrincipalName and Realm immutable
Reviewed-by: xuelei
2012-07-11 17:10:34 +08:00
Rob McKenna
95af7bf142 7179305: (fs) Method name sun.nio.fs.UnixPath.getPathForExecptionMessage is misspelled
Reviewed-by: dholmes, chegar
2012-07-09 22:26:08 +01:00
Anthony Petrov
d91b2b6f6e 7177173: [macosx] JFrame.setExtendedState(JFrame.MAXIMIZED_BOTH) not working as expected in JDK 7
Avoid unnecessary changes to the extended state

Reviewed-by: art, serb
2012-07-06 14:20:27 +04:00
Sean Chou
e83a16fa42 7181353: Update error message to distinguish native OOM and java OOM in net
Reviewed-by: chegar
2012-07-06 10:36:19 +08:00
Sergey Bylokhov
e3a1dad2c0 7124513: [macosx] Support NSTexturedBackgroundWindowMask/different titlebar styles to create unified toolbar
Reviewed-by: anthony, art
2012-07-04 15:36:48 +04:00
Sergey Bylokhov
a433c60a8a 7124244: [macosx] Shaped windows support
Reviewed-by: anthony, art
2012-07-04 14:38:14 +04:00
Lana Steuck
eb5be70df0 Merge 2012-07-03 20:58:02 -07:00
Lana Steuck
a94b4fa40d Merge 2012-07-03 20:56:24 -07:00
Erik Joelsson
d85c0b6f6f 7181501: Add some GenerateNativeHeader annotations and misc Mac adjustments to makefiles
Reviewed-by: ohair
2012-07-03 16:01:59 -07:00
Jason Uh
0c7c3bb2c5 7133344: Document the java.security.properties system property feature in the java.security file
Reviewed-by: hawtin, mullan, weijun
2012-07-03 14:56:58 -04:00
Erik Joelsson
f51d607e9f 7181508: Remove GenerateNativeHeader on awt java file
Reviewed-by: ohair
2012-07-03 11:45:34 -07:00
Mani Sarkar
9a2ec820dc 7176907: additional warnings cleanup in java.util, java.util.regexp, java.util.zip
Reviewed-by: forax, khazra, smarks
2012-07-02 14:11:44 -07:00
Rob McKenna
2a72b6a15f 7174887: Deadlock in jndi ldap connection cleanup
Reviewed-by: xuelei
2012-07-02 19:32:35 +01:00
Joe Bowbeer
826591b516 7170938: (str) incorrect wording in doc for String.subSequence
Reviewed-by: forax, mduigou
2012-06-29 16:16:13 -07:00
Jim Gish
29e09dc7d4 7100996: (spec str) IndexOutOfBoundsException when using a StringBuffer from multiple threads
Add usage note to clarify thread safety

Reviewed-by: briangoetz, mduigou
2012-06-29 15:36:14 -07:00
Xueming Shen
57b8661095 7175845: jar uf changes file permissions unexpectedly
7177216: native2ascii changes file permissions of input file

Undo the File.createTempFile change in jar and native2ascii

Reviewed-by: asaha
2012-06-28 22:44:21 -07:00
Pavel Porvatov
86e45f8339 7169111: Unreadable menu bar with Ambiance theme in GTK L&F
Reviewed-by: kizune
2012-06-28 14:05:06 +04:00
Lana Steuck
221b8ec4fa Merge 2012-06-27 18:39:43 -07:00
Sean Coffey
fed8efa873 6893617: JDK 6 CNCtx always uses the default ORB
Reviewed-by: lancea
2012-06-27 21:10:26 +01:00
Lana Steuck
db40815a4c Merge 2012-06-27 12:54:48 -07:00
Lana Steuck
b04008c963 Merge 2012-06-27 00:09:30 -07:00
Lana Steuck
771d931915 Merge 2012-06-26 22:59:26 -07:00
Doug Lea
45e1021238 7161229: PriorityBlockingQueue keeps hard reference to last removed element
Reviewed-by: dholmes, forax, alanb
2012-06-27 01:36:28 -04:00
Lana Steuck
e51eadc837 Merge 2012-06-26 10:57:46 -07:00
Phil Race
79d14ef96a 7164282: check for NULL return from malloc is testing wrong variable name
Reviewed-by: igor, flar
2012-06-26 09:54:29 -07:00
Phil Race
514f24864d 7176447: Lunix/Solaris fontpath.c : double free(family)
Reviewed-by: igor, flar
2012-06-26 09:53:27 -07:00
Phil Race
c7ff53f5c1 7145771: [macosx] CreateFont/Register.java test fails because of cached results of getAllFonts()
Reviewed-by: igor, flar
2012-06-26 09:38:25 -07:00
Anthony Petrov
98dba02e88 7124326: [macosx] An issue similar to autoshutdown one in two AppContexts situation
Don't add SystemTrayPeer to the peers map

Reviewed-by: art, leonidr
2012-06-26 17:29:10 +04:00
Oleg Pekhovskiy
9931c2f2b8 7024749: JDK7 b131---a crash in: Java_sun_awt_windows_ThemeReader_isGetThemeTransitionDurationDefined+0x75
Reviewed-by: art, ant
2012-06-26 16:46:00 +04:00
Rob McKenna
54ddaf5ab7 4244896: (process) Provide System.getPid(), System.killProcess(String pid)
Reviewed-by: alanb
2012-06-26 13:27:26 +01:00
Sergey Bylokhov
9e9ac093ae 7142091: [macosx] RFE: Refactoring of peer initialization/disposing
Reviewed-by: anthony, art
2012-06-26 13:46:09 +04:00
Lana Steuck
6e058633f4 Merge 2012-06-25 21:38:37 -07:00
Lana Steuck
91f53c5d57 Merge 2012-06-25 21:36:32 -07:00
Anthony Petrov
09dd368c9b 7174718: [macosx] Regression in 7u6 b12: PopupFactory leaks DefaultFrames
Fix memory management

Reviewed-by: art, serb
2012-06-25 17:27:04 +04:00
Chris Hegarty
d558c37a5b 7176784: Windows authentication not working on some computers
Reviewed-by: michaelm
2012-06-25 14:19:38 +01:00
Marco Dinacci
7572cbd5aa 7170716: JVM crash when opening an AWT app from a registered file
Copy the queued blocks to prevent their deallocation

Reviewed-by: anthony, swingler
2012-06-22 16:32:39 +04:00
Xue-Lei Andrew Fan
563f4546ff 7166487: checkSequenceNumber method never called within readRecord of SSLEngineImpl
Reviewed-by: weijun
2012-06-19 17:28:06 -07:00
Alexander Zuev
0930b183d6 7172430: [macosx] debug message in non debug jdk build
Reviewed-by: anthony, serb
2012-06-19 21:09:03 +04:00
Sergey Malenkov
386367a03f 7162476: XMLDecoder security issue via ClassFinder
Reviewed-by: art, ahgross
2012-06-19 20:34:06 +04:00
Phil Race
cc6e343055 7124536: [macosx] PrintServiceLookup.lookupDefaultPrintService() return null
Reviewed-by: bae, igor
2012-06-19 09:07:31 -07:00
Diego Belfer
c0679a0902 6901992: InvalidJarIndexException due to bug in sun.misc.JarIndex.merge()
Reviewed-by: chegar
2012-06-19 10:20:45 +01:00
Masayoshi Okutsu
94a6496726 6380549: (rb) ResourceBundle.Control global binding support
Reviewed-by: naoto
2012-06-19 16:21:17 +09:00
Alexander Scherbatiy
4406545ed5 7174970: NLS [ccjk] Extra mnemonic keys at standard filechooserdialog (open and save) in metal L&F
Reviewed-by: rupashka
2012-06-18 15:39:27 +04:00
Lana Steuck
3429bf2b41 Merge 2012-06-17 22:07:44 -07:00
Lana Steuck
17081c700e Merge 2012-06-17 22:03:26 -07:00
Lana Steuck
d27529f4ab Merge 2012-06-17 21:34:42 -07:00
Sergey Malenkov
9ec1d58234 7162473: ConstructorFinder/FieldFinder/MethodFinder gives access to restricted classes
Reviewed-by: art, ahgross
2012-06-15 21:01:55 +04:00
Alan Bateman
4c73c02d6d 7176485: (bf) Allow temporary buffer cache to grow to IOV_MAX
Reviewed-by: chegar, coffeys
2012-06-15 17:16:25 +01:00
Alexander Zuev
8f4a77bfef 7171163: [macosx] Shortcomings in the design of the secondary native event loop made JavaFX DnD deadlock
Reviewed-by: anthony, art
2012-06-15 18:28:33 +04:00
Sean Mullan
781dee7531 Merge 2012-06-15 09:16:18 -04:00
Edvard Wendelin
d40606665a 7156963: Incorrect copyright header in java/io/SerialCallbackContext
Reviewed-by: weijun, coffeys
2012-06-15 14:16:18 +01:00
Sean Mullan
caae78ba73 Merge 2012-06-15 08:47:41 -04:00
Sean Mullan
6ad27831e0 7176326: CertPath/CertPathBuilderTest failures after webrev 6854712_6637288_7126011
Reviewed-by: xuelei
2012-06-15 08:43:31 -04:00
Phil Race
0527d01622 7158366: [macosx] Print-to-file dialog doesn't have an entry field for a name
Reviewed-by: bae, jgodinez
2012-06-14 16:34:43 -07:00
Lance Andersen
4bb6dcf36b 7145913: CachedRowSetSwriter.insertNewRow() throws SQLException
Reviewed-by: joehw, naoto, psandoz, forax
2012-06-14 15:05:18 -04:00
Andrew Brygin
9d94d32594 7153693: Three 2D_ImageIO tests failed due ImageFormatException on OEL 6.* Unbreakable Kernel x64
Reviewed-by: jgodinez, prr
2012-06-14 11:14:44 +04:00
Mike Duigou
4824bf600d 7173919: Minor optimization of hashing methods
Several minor optimizations to hashing methods used by hash map classes

Reviewed-by: dholmes
2012-06-13 16:48:30 -07:00
Alan Bateman
c580cfee80 7176630: (sc) SocketChannel.write does not write more than 128k when channel configured blocking [win]
Reviewed-by: khazra, chegar
2012-06-14 12:13:54 +01:00
Phil Race
a8072dc2a0 7027300: Unsynchronized HashMap access causes endless loop
Reviewed-by: bae, jgodinez
2012-06-13 12:46:02 -07:00
Tomas Hurka
bf4e37de48 7176644: [macosx] Missing NSAutoreleasePool in CGLGraphicsConfig.m OGLGC_DestroyOGLGraphicsConfig
Create and drain an autorelease pool

Reviewed-by: anthony, dcherepanov
2012-06-13 18:33:30 +04:00
Kelly O'Hair
60caa18980 Merge 2012-06-12 15:16:32 -07:00
Lance Andersen
0b0b610a21 7171918: XmlReaderContentHandler.endElement does not handle a Delete Tag properly
Reviewed-by: joehw
2012-06-12 17:32:01 -04:00
Kelly O'Hair
a4bc0fa013 7176138: Fixes for missing close() calls and possible null pointer reference instead of fatal error
Reviewed-by: dcubed
2012-06-12 13:54:20 -07:00
Lance Andersen
c419fa6171 7171917: CachedRowSetImpl.populate does not handle map properly
Reviewed-by: joehw
2012-06-11 07:10:48 -04:00
Jonathan Lu
f6020a8e34 7155887: ComboBox does not display focus outline in GTK L&F
Reviewed-by: rupashka
2012-06-11 10:52:31 +08:00
Alexander Zuev
663f9df53e 7173487: closed/java/awt/Frame/RemoveNotifyTest/RemoveNotifyTest.html
Reviewed-by: anthony, dcherepanov, serb
2012-06-09 19:18:24 +04:00
Pavel Porvatov
0494bcb19c 7165725: JAVA6 HTML PARSER CANNOT PARSE MULTIPLE SCRIPT TAGS IN A LINE CORRECTLY
Reviewed-by: alexsch
2012-06-09 17:42:46 +04:00
Lana Steuck
272f5e3896 Merge 2012-06-08 12:44:30 -07:00
Lana Steuck
83d6ffcacb Merge 2012-06-08 12:00:22 -07:00
Alexander Zuev
aaafa0557d 7175566: [macosx] Glich in fix for CR7124247 caused MacOS crash during PIT testing
Reviewed-by: anthony, dcherepanov
2012-06-08 22:21:53 +04:00
Rob McKenna
042cc29680 7161881: (dc) DatagramChannel.bind(null) fails if IPv4 socket and running with preferIPv6Addresses=true
Reviewed-by: alanb, chegar
2012-06-08 18:23:28 +01:00
Lance Andersen
ffd4aa2de3 Merge 2012-06-08 09:22:30 -04:00
Alexander Scherbatiy
92246eda42 7092551: Double-click in TextField sets caret to the beginning
Reviewed-by: bagiras, serb
2012-06-08 14:15:09 +04:00
Krystal Mok
2c5c12219c 7175413: Typo in comments of JVM_SupportsCX8 in jvm.h
Reviewed-by: chegar
2012-06-08 09:55:20 +01:00
Kelly O'Hair
623934b5e1 Merge 2012-06-07 18:08:28 -07:00
Erik Joelsson
260708fa26 7170969: Add @GenerateNativeHeader to classes whose fields need to be exported for JNI
Reviewed-by: ohair, ohrstrom, ihse
2012-06-07 18:05:09 -07:00
Lance Andersen
3efc9785b3 7172551: Remove Native calls from DriverManager for jigsaw
Reviewed-by: alanb, chegar, darcy, mchung
2012-06-07 20:11:26 -04:00
Abhijit Saha
b74ef2f6b6 Merge 2012-06-07 12:31:10 -07:00
Pavel Porvatov
25fedaf936 7156657: Version 7 doesn't support translucent popup menus against a translucent window
Reviewed-by: art, alexsch
2012-06-07 21:49:52 +04:00
Alexander Zuev
efc7d9cbc2 Merge 2012-06-07 20:06:00 +04:00
Alexander Zuev
4eb87c577e 7124247: [macosx] Implement GraphicsDevice.setDisplayMode()
Reviewed-by: anthony, swingler
2012-06-07 20:04:56 +04:00
Alexander Scherbatiy
2b73b29421 7152952: [macosx] List rows overlap with enlarged font
Reviewed-by: art, rupashka
2012-06-07 18:24:15 +04:00
Alan Bateman
f3159c31b0 7174736: JCK test api/java_util/HashMap/index_EntrySet failing
Corrects a problem with HashMap.removeEntry() that caused a JCK test to fail

Reviewed-by: mduigou
2012-06-07 01:01:09 -07:00
Weijun Wang
e830ff8c8f 7175041: HttpTimestamper should accept https URI
Reviewed-by: mullan
2012-06-07 22:33:34 +08:00
Charles Lee
980d62fd25 7174233: Openjdk is missing some key maps on the Japanese keyboards
Reviewed-by: anthony, naoto
2012-06-07 10:22:10 +08:00
Alexander Scherbatiy
d71b6b6ffb 7169285: [macosx] Test api/javax_swing/JPopupMenu/descriptions.html#setgetXXX doesn't take Mac main menu
Reviewed-by: rupashka
2012-06-06 11:54:38 +04:00
Lana Steuck
3b9e02fd77 Merge 2012-06-05 18:05:00 -07:00
Lana Steuck
477d1d8e7d Merge 2012-06-05 17:56:16 -07:00
Dmitry Cherepanov
a658a623a8 7123957: Switch of Gnome theme ends up deadlocked in GTKEngine.native_switch_theme
Reviewed-by: art, anthony
2012-06-05 19:48:00 +04:00
Diego Belfer
dd23946ec9 7164256: EnumMap clone doesn't clear the entrySet keeping a reference to the original Map
Reviewed-by: alanb, chegar, forax, mduigou
2012-06-07 12:31:45 +01:00
Jonathan Lu
775655b44a 7172149: ArrayIndexOutOfBoundsException from Signature.verify
Take care of integer addition overflow

Reviewed-by: xuelei, wetmore
2012-06-06 18:39:09 -07:00
Xue-Lei Andrew Fan
c549cc814d 7174244: NPE in Krb5ProxyImpl.getServerKeys()
Reviewed-by: weijun
2012-06-06 18:18:58 -07:00
Kurchi Subhra Hazra
8cccc8f99a 7173645: (props) System.getProperty("os.name") should return "Windows Server 2012" for Windows Server 2012
Enable Windows Server 2012 to be recognized as "os.name"

Reviewed-by: alanb, dholmes, chegar
2012-06-06 11:37:08 -07:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
Lana Steuck
7062434474 Merge 2012-06-05 17:40:02 -07:00
Alan Bateman
76b4500c33 7173515: (se) Selector.open fails with OOME on Solaris when unlimited file descriptors
Reviewed-by: coffeys, chegar
2012-06-05 12:47:36 +01:00
Anthony Petrov
429a57b49d 7172722: Latest jdk7u from OSX broke universal build
Add a data memeber for a new property

Reviewed-by: serb, swingler
2012-06-05 15:20:13 +04:00
Sean Chou
46d6e76274 7173044: MemoryMonitor hangs if getMax method in MemoryUsage object returns -1
Reviewed-by: dholmes, sspitsyn
2012-06-05 10:16:22 +08:00
Denis Lila
440b57e0b5 7043963: AWT workaround missing for Mutter
Reviewed-by: art, anthony
2012-06-04 16:39:12 -04:00
Charles Lee
ad2bdf4faa 7166055: Javadoc for WeakHashMap contains misleading advice
Reviewed-by: dholmes, mduigou
2012-06-04 16:30:35 +08:00
Mike Duigou
59ccdc0fbc 7173432: Handle null key at HashMap resize
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
2012-06-01 00:05:21 -07:00
Sean Mullan
7dfc5df74e Merge 2012-05-31 17:10:57 -04:00
Sean Mullan
63e39d6ee7 Merge 2012-05-31 17:07:28 -04:00
Leonid Romanov
6f838e09d7 7150089: [macosx] Default for a custom cursor created from non-existent image is not transparent
Reviewed-by: anthony, kizune
2012-05-31 20:18:11 +04:00
Andrew Brygin
458f3269dd 7120895: FontConfiguration should not use thread contextClassLoader
Reviewed-by: igor, prr
2012-05-31 12:15:22 +04:00
Mike Duigou
705c53b045 7126277: Alternative String hashing implementation
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
2012-05-30 22:18:37 -07:00
Sean Mullan
14c586557e 6854712: Revocation checking enhancements (JEP-124)
6637288: Add OCSP support to PKIX CertPathBuilder implementation
7126011: ReverseBuilder.getMatchingCACerts may throws NPE

Reviewed-by: xuelei
2012-05-30 17:19:46 -04:00
Alexander Scherbatiy
da6cfab105 7141296: [macosx] Mouse Wheel Turn closes combobox popup
Reviewed-by: rupashka
2012-05-30 14:58:30 +04:00
Alexander Scherbatiy
f904017c74 7146131: [macosx] When click the show optionpane button,it display partly of dialog and hung until timeout
Reviewed-by: rupashka
2012-05-30 14:46:49 +04:00
Jonathan Lu
3a6a1bd322 7170655: Frame size does not follow font size change with XToolkit
Reviewed-by: serb, art
2012-05-30 10:58:11 +08:00
Kumar Srinivasan
4747e218b3 7168401: pack200 does not produce a compatible pack file for JDK7 classes if indy is not present
Reviewed-by: jrose
2012-05-29 14:56:48 -07:00
Kurchi Subhra Hazra
7ae64e60c1 7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value
Use CHECK_NULL_RETURN instead of CHECK_NULL

Reviewed-by: alanb
2012-05-29 13:16:17 -07:00
Lana Steuck
a6653a2f7c Merge 2012-05-25 19:34:32 -07:00
Magnus Ihse Bursie
7da56bf735 7172014: Remove empty and unused javah include files
Reviewed-by: ohair, erikj
2012-05-25 18:55:22 -07:00
Lana Steuck
cc0d0b06ff Merge 2012-05-25 16:32:02 -07:00
Lana Steuck
785470d1e3 Merge 2012-05-25 13:39:55 -07:00
Anton Tarasov
ecba4fb037 7171776: one more setGlobalCurrentFocusCycleRoot call requires doPrivileged
Reviewed-by: art
2012-05-25 20:57:41 +04:00
Mario Torre
aea990be82 6800513: GTK-LaF renders menus incompletely
Reviewed-by: rupashka
2012-05-25 14:16:50 +02:00
Andrew Brygin
ea1b65ad8a 7146550: [macosx] DnD test failure in createCompatibleWritableRaster()
Reviewed-by: kizune, serb
2012-05-25 12:56:22 +04:00
Abhijit Saha
7fdf0dfa52 7171228: closed/java/lang/SecurityManager/CheckPackageDefinition.java failure
Reviewed-by: mullan
2012-05-24 10:23:21 -07:00
Jim Gish
09b1403483 7171474: Incorrect @see tags in java.lang.NumberFormatException javadoc
Update javadoc for NumberFormatException

Reviewed-by: alanb
2012-05-24 11:11:37 -04:00
Erik Gahlin
a982d867cb 7017818: NLS: JConsoleResources.java cannot be handled by translation team
Reviewed-by: mchung, mfang
2012-05-25 12:24:57 +02:00
Deven You
9a28860b9d 7171028: dots are missed in the datetime for Slovanian
Reviewed-by: yhuang
2012-05-25 14:32:07 +08:00
Deven You
ee1d40055a 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled
Reviewed-by: okutsu
2012-05-25 13:28:40 +08:00
Deepak Bhole
e301754c0d 7117230: clean up warnings in java.text
Reviewed-by: jrose, smarks
2012-05-24 19:00:16 -07:00
Nils Loodin
07204964e0 Merge 2012-05-24 10:20:28 -04:00
Jim Gish
42a22c1dc8 7160725: Strange or obsolete @see tags in some exception java.lang javadoc
Update javadoc for IllegalArgumentException and NumberFormatException

Reviewed-by: alanb
2012-05-24 14:44:40 +01:00
Alexander Zuev
058f95b388 7144064: [macosx] "Could not find class" error in JTree's ctor when called in headless mode
Reviewed-by: art, leonidr
2012-05-24 15:11:24 +04:00
Alan Bateman
e1774fc7a1 7169050: (se) Selector.select slow on Solaris due to insertion of POLLREMOVE and 0 events
Reviewed-by: chegar, coffeys
2012-05-24 10:57:21 +01:00
Nils Loodin
11b6c98db4 7143353: -Xrunhprof fails in Java 7 due to bad switch
Reviewed-by: jrose, sspitsyn
2012-05-24 09:32:25 +02:00
Kurchi Subhra Hazra
380c23f06b 7170169: (props) System.getProperty("os.name") should return "Windows 8" when run on Windows 8
Enable Windows Version 6.2 to be recognized as Windows 8

Reviewed-by: darcy, dholmes, alanb, chegar
2012-05-23 10:41:45 -07:00
Weijun Wang
f785c8a7a4 7162687: enhance KDC server availability detection
Reviewed-by: valeriep
2012-05-23 15:51:10 +08:00
Sean Chou
12556eaf75 7170996: IME composition window does not disappear when file dialog is closed : Japanese WinXP
Reviewed-by: art, bagiras
2012-05-23 12:37:31 +08:00
Dmitry Cherepanov
e054554a36 7160293: [macosx] FileDialog appears on secondary display
Reviewed-by: art, bae
2012-05-22 12:35:55 +04:00
Abhijit Saha
5d202b67cc Merge 2012-05-21 15:13:13 -07:00
Anton Tarasov
33648efb4c 7170427: setGlobalCurrentFocusCycleRoot unexpectedly throws SecurityException
Reviewed-by: art
2012-05-22 01:12:16 +04:00
Lana Steuck
016976afd1 Merge 2012-05-21 11:44:01 -07:00
Lana Steuck
8b00bb1651 Merge 2012-05-21 11:41:33 -07:00
Staffan Larsen
f88f95d575 7167157: jcmd command file parsing does not respect the "stop" command
Reviewed-by: alanb, dsamersoff, nloodin
2012-05-21 19:28:41 +02:00
Pavel Porvatov
1d1ed3ddb3 7168144: No appropriate CCC request for changes introduced by 7154030
Reviewed-by: alexsch
2012-05-21 18:55:36 +04:00
Andrew Brygin
ecf06b3459 7154088: [macosx] Regression: Component.createImage do not inherits component attributes
Reviewed-by: art, kizune
2012-05-21 14:53:51 +04:00
Andrew Brygin
9ea4ab4133 7124400: [macosx] CGraphicsDevice.getConfigurations() returns reference to member (does not copy configs)
Reviewed-by: anthony, kizune
2012-05-21 14:04:46 +04:00
John R Rose
6b14cf6b82 7165628: Issues with java.lang.invoke.MethodHandles.Lookup
Base SecurityManager checks on either of Lookup.lookupClass or caller class; also clarify Lookup access checks.

Reviewed-by: twisti
2012-05-18 20:31:28 -07:00
Valerie Peng
2321d8e2b6 7169496: Problem with the SHA-224 support for SunMSCAPI provider
Remove SHA224withRSA signature from SunMSCAPI provider due to lack of windows support.

Reviewed-by: vinnie
2012-05-18 12:29:33 -07:00
Dmitry Cherepanov
7f4d14efbe 7156191: [macosx] Can't type into applet demos in Pivot
Reviewed-by: art
2012-05-18 19:39:24 +04:00
Rob McKenna
890b6d7ba8 7168110: Misleading jstack error message
Reviewed-by: alanb, dsamersoff
2012-05-17 22:42:32 +01:00
Anton Tarasov
4a46c4fa60 7145827: [macosx] JCK failure in b11: FocusableWindow3
Forward posrt from 7u4

Reviewed-by: art
2012-05-17 22:21:27 +04:00
Anton Tarasov
09df642ee8 7145768: [macosx] Regression: failure in b11 of ModalDialogInFocusEventTest
Forward port from 7u4

Reviewed-by: art
2012-05-17 22:10:40 +04:00
Anton Tarasov
781549f47d 7125044: [macosx] Test failure because Component.transferFocus() works differently in applet and application
Forward port from 7u4

Reviewed-by: art
2012-05-17 21:48:57 +04:00
Anton Tarasov
50220cd3d1 7154072: [macosx] swallowing key events
Forward posrt from 7u4

Reviewed-by: anthony
2012-05-17 21:31:55 +04:00
Anton Tarasov
e49b6e7624 7142565: [macosx] Many special keys processed twice in text fields
Forward port from 7u4

Reviewed-by: anthony
2012-05-17 21:27:19 +04:00
Brian Doherty
f55750d05a 6924259: Remove offset and count fields from java.lang.String
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: alanb, mduigou, forax, briangoetz
2012-05-17 10:06:19 -07:00
Sean Coffey
6e3d96dc67 7123896: Unexpected behavior due to Solaris using separate IPv4 and IPv6 port spaces
Reviewed-by: alanb
2012-05-17 12:21:16 +01:00
Alexander Scherbatiy
d06f47f95c 7148281: [macosx] JTabbedPane tabs with HTML text do not render correctly
Reviewed-by: kizune
2012-05-17 14:27:11 +04:00
Alexander Scherbatiy
f7483afe41 7158928: [macosx] NLS: Please change the mnemonic assignment system
Reviewed-by: rupashka, serb
2012-05-16 18:11:48 +04:00
Alexander Scherbatiy
5b3babf9c4 7169226: NLS: Please change the mnemonic assignment system for windows and motif properties
Reviewed-by: rupashka
2012-05-16 16:27:12 +04:00
Alan Bateman
2a928a555d 7168505: (bf) MappedByteBuffer.load does not load buffer's content into memory
Reviewed-by: mduigou, forax
2012-05-16 12:43:27 +01:00
Anthony Petrov
c4b4c6a9a5 7168851: [macosx] Netbeans crashes in CImage.nativeCreateNSImageFromArray
Eliminate unnecessary -release call

Reviewed-by: dcherepanov
2012-05-16 14:28:12 +04:00
Dmitry Cherepanov
a4ab9d7050 7124337: [macosx] FileDialog fails to select multiple files
Reviewed-by: anthony, swingler
2012-05-16 13:15:27 +04:00
Kurchi Subhra Hazra
5f43f7c289 7164636: (prefs) Cleanup src/macosx/classes/java/util/prefs
Remove rawtype usages and other code cleanup

Reviewed-by: chegar, briangoetz
2012-05-15 11:51:51 -07:00
Deven You
ce388a548a 7164191: properties.putAll API may fail with ConcurrentModifcationException on multi-thread scenario
Reviewed-by: dholmes, sla
2012-05-15 16:46:10 +04:00