Commit Graph

4126 Commits

Author SHA1 Message Date
Bradford Wetmore
8716e4744b 7157903: JSSE client sockets are very slow
Reviewed-by: xuelei
2012-04-11 17:12:35 -07:00
David Katleman
06ec3d779f Merge 2012-04-11 14:09:48 -07:00
Leonid Romanov
9cbde0b81e 7124411: [macosx] There's no KEY_TYPED for VK_ESCAPE
Reviewed-by: art
2012-04-11 21:06:08 +04:00
Lana Steuck
25e2d2bf5c Merge 2012-04-10 23:18:33 -07:00
Sergey Bylokhov
2e12d45877 7097771: setEnabled does not work for components in disabled containers
Reviewed-by: art, anthony
2012-04-10 22:09:58 +04:00
Pavel Porvatov
910846ed2c 7158712: Synth Property "ComboBox.popupInsets" is ignored
Reviewed-by: alexp
2012-04-10 19:09:48 +03:00
Pavel Porvatov
e630f8d216 7146146: Deadlock between subclass of AbstractDocument and UndoManager
Reviewed-by: art
2012-04-10 18:53:15 +03:00
Fredrik Ohstrom
e32ab98b32 7074397: Build infrastructure changes (makefile re-write)
New makefiles transition, old and new living side by side for now.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Torbjorn Granat <torbjorn.granat@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
2012-04-10 08:22:03 -07:00
Markus Grönlund
2c28d27dcf 7154809: JDI: update JDI/JDB debugee commandline option parsing
Update debugee commandline parsing

Reviewed-by: dcubed, dsamersoff, sla
2012-04-10 10:32:00 +02:00
Weijun Wang
9c8af427e8 7158329: NPE in sun.security.krb5.Credentials.acquireDefaultCreds()
Reviewed-by: valeriep, jjg
2012-04-10 12:15:03 +08:00
Sean Zhou
79f8fba3f9 7121314: Behavior mismatch between AbstractCollection.toArray(T[] ) and its spec
Co-authored-by: Ulf Zibis <ulf.zibis@gmx.de>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Reviewed-by: dholmes, mduigou
2012-04-10 10:17:36 +08:00
Clemens Eisserer
2bf65cc749 7150134: JCK api/java_awt/Graphics/index.html#DrawLine fails with OOM for jdk8 with XRender pipeline
Reviewed-by: prr
2012-04-09 15:49:33 -07:00
Anthony Petrov
8de79a6398 7148275: [macosx] setIconImages() not working correctly (distorted icon when minimized)
Pass all images provided by user code to the system and let it do the right thing

Reviewed-by: art, swingler
2012-04-06 17:20:49 +04:00
Anthony Petrov
654920cc5b 7124553: [macosx] Need minimum size for titled Frames and JFrames
Forward-port the fix from 7u4 and also eliminate the grow box since we only support OS X 10.7+ that doesn't require it.

Reviewed-by: art, swingler
2012-04-06 17:15:09 +04:00
Phil Race
0d9cb5e775 7159136: JDK 7 font manager refactoring left JNI header generation and inclusion out of sync
Reviewed-by: igor, jgodinez
2012-04-05 15:17:19 -07:00
Phil Race
42a2707f1b 7159041: Fix for 7152519 causing build breakage
Reviewed-by: igor, jgodinez
2012-04-05 15:14:06 -07:00
Sergey Bylokhov
4acd4d97f3 7125657: [macosx] SpreadSheet demo has the broken display when clicking outside of the table
Reviewed-by: alexp, anthony, art
2012-04-05 20:38:24 +04:00
Sergey Bylokhov
da37ef4781 7124528: [macosx] Selection is not cleared properly in text component
Reviewed-by: anthony, art
2012-04-05 19:43:56 +04:00
Sergey Bylokhov
6412600e72 7149913: [macosx] Deadlock in LWTextComponentPeer
Reviewed-by: anthony, art
2012-04-05 19:22:54 +04:00
Sergey Bylokhov
90430b3f49 7150105: [macosx] four scroll-buttons don't display. scroll-sliders cursors are TextCursor
Reviewed-by: anthony, art, alexp
2012-04-05 18:27:16 +04:00
Jim Gish
f3e1a941c5 7133806: Typo in Files.newByteChannel javadoc
Reviewed-by: chegar
2012-04-05 13:57:37 +01:00
Lana Steuck
d636893400 Merge 2012-04-04 13:16:52 -07:00
Lana Steuck
6b12eddc42 Merge 2012-04-04 12:35:44 -07:00
Alexander Zuev
f3a8763e5c Merge 2012-04-04 20:32:39 +04:00
Alexander Zuev
38e189dcc0 7153735: [macosx] Text with diacritics is pasted with broken encoding
Reviewed-by: anthony
2012-04-04 20:31:50 +04:00
Alexander Scherbatiy
ea3e5e2a84 7093156: NLS Please change the mnemonic assignment system to avoid translation issue (Swing files)
Reviewed-by: rupashka
2012-04-04 16:27:29 +04:00
Anthony Petrov
e352bc83f0 7154177: [macosx] An invisible owner frame becomes visible upon clicking a child window
Establish the parent-child relationship for visible windows only

Reviewed-by: serb
2012-04-03 16:14:05 +04:00
Yuka Kamiya
e35eef1257 7158483: (tz) Support tzdata2012c
Reviewed-by: okutsu
2012-04-03 11:52:06 +09:00
Sean Chou
045668b454 7155298: Editable TextArea/TextField are blocking GUI applications from exit
Stop default caret's timer by setVisible(false) when dispose

Reviewed-by: anthony, ant
2012-03-31 16:55:56 +08:00
Lana Steuck
1ae8995f36 Merge 2012-03-30 16:57:50 -07:00
Bradford Wetmore
7775fea771 7142172: Custom TrustManagers that return null for getAcceptedIssuers will NPE
Reviewed-by: xuelei
2012-03-30 15:43:13 -07:00
David Buck
ecc9a141a1 7154822: forward port fix for Bug 13645891 to JDK8 jcmd (1024 byte file size limit issue)
Changed so that jcmd breaks input into individual lines and sends each one to the jvm separately.

Reviewed-by: dcubed, sla
2012-03-30 10:18:04 -07:00
Anthony Petrov
6dd51e0e8e 7124428: [macosx] Frame.setExtendedState() doesn't work for undecorated windows
Emulate native NSWindow -zoom for undecorated windows

Reviewed-by: art
2012-03-30 18:10:05 +04:00
Yong Jeffrey Huang
0d4e0d1ed0 Merge 2012-03-29 21:22:07 -07:00
Yong Jeffrey Huang
7f78d7e54c 7028073: The currency symbol for Peru is wrong
Reviewed-by: naoto
2012-03-29 21:16:58 -07:00
Sergey Bylokhov
044b12b8c1 7124551: [macosx] Once added, Menu shortcut cannot be removed
Reviewed-by: art, anthony
2012-03-29 17:31:48 +04:00
Yuka Kamiya
e127bc8acf 7070436: Support Unicode 6.1.0 in JDK 8
Reviewed-by: okutsu
2012-03-29 18:02:36 +09:00
Michael McMahon
1e4dfcfbf0 7134701: [macosx] Support legacy native library names
Reviewed-by: alanb, dcubed
2012-03-27 21:08:52 +01:00
Naoto Sato
6f79a87444 7156459: Remove unnecessary get() from Currency.getInstance()
Reviewed-by: chegar, dholmes, mduigou
2012-03-27 10:10:47 -07:00
Anthony Petrov
5c6579f46b 7132692: [macosx] Class com.apple.eawt not functioning
Postpone setting the application delegate until the app is fully initialized

Reviewed-by: art
2012-03-27 15:53:29 +04:00
Anthony Petrov
b6cab6070f 7149085: [macosx] Quit with QuitStrategy CLOSE_ALL_WINDOWS does terminate application
Don't force the termination of the event loop in the Quit action handler

Reviewed-by: art
2012-03-27 15:49:17 +04:00
Lana Steuck
f931c18437 Merge 2012-03-26 17:31:42 -07:00
Charles Lee
921ffcf9ef 4310381: Text in multi-row/col JTabbedPane tabs can be truncated/clipped
Reviewed-by: rupashka
2012-03-23 15:16:17 +02:00
Xue-Lei Andrew Fan
ce4e70b60b 7155051: DNS provider may return incorrect results
Reviewed-by: weijun, chegar
2012-03-26 21:21:55 -07:00
Pavel Porvatov
e7fc59fe99 6888634: test/closed/javax/swing/Popup/TaskbarPositionTest.java fails
Reviewed-by: alexp
2012-03-22 17:10:48 +02:00
Jonathan Lu
650337cafa 7152519: Dependency on non-POSIX header file <link.h> causes portability problem
Reviewed-by: prr, igor
2012-03-22 12:47:39 +08:00
Shi Jun Zhang
550028f6a1 7155300: Include pthread.h on all POSIX platforms except Solaris to improve portability
Reviewed-by: alanb, dholmes
2012-03-22 12:30:43 +08:00
David Buck
733b1d638e 7104147: the fix for cr6887286 was not appropriate for backporting
Memory leak in the list of ImageObservers watching an object. We use recursion to iterate over the list. So once the list gets too big, we overflow the stack. Fix is to execute a prune operation on ever add, so there is no way we can get indefinite growth of stale nodes.

Reviewed-by: prr, flar
2012-03-21 18:41:42 -07:00
Lana Steuck
a3f1271a63 Merge 2012-03-21 13:38:55 -07:00
Lana Steuck
9fb30a7cc0 Merge 2012-03-21 13:37:24 -07:00
Lana Steuck
3332c6a1b6 Merge 2012-03-21 13:36:03 -07:00
Naoto Sato
b33626e87a 7145454: JVM wide monitor lock in Currency.getInstance(String)
Reviewed-by: okutsu
2012-03-21 10:10:38 -07:00
Alexander Zuev
ba42773298 7144063: [macosx] Swing JMenu mnemonic doesn't work; hint misleading; cross symbol typed
Reviewed-by: leonidr, skovatch, swingler
2012-03-21 17:12:31 +04:00
Dmitry Cherepanov
40e8f0fb2a 7150349: [macosx] Applets attempting to show popup menus activate the applet process
Reviewed-by: ant
2012-03-21 15:25:12 +04:00
Dmitry Cherepanov
4fc6443589 7150345: [macosx] Can't type into applets
Reviewed-by: ant
2012-03-21 14:31:29 +04:00
Valerie Peng
3a8e9e6104 7146728: Inconsistent length for the generated secret using DH key agreement impl from SunJCE and PKCS11
Always return the secret in the same length as the modulus.

Reviewed-by: wetmore
2012-03-20 15:06:13 -07:00
Oleg Pekhovskiy
310990d4dc 7128738: dragged dialog freezes system on dispose
Reviewed-by: anthony
2012-03-19 21:22:18 +04:00
Kurchi Subhra Hazra
9940e879d4 7152007: Fix warnings in sun/rmi/rmic
Minor code changes to remove warnings in sun/rmi/rmic

Reviewed-by: chegar, smarks
2012-03-16 11:52:48 -07:00
Michael Fang
a6b92a1d83 Merge 2012-03-16 10:20:06 -07:00
Michael Fang
b29242fed4 Merge 2012-03-15 16:04:28 -07:00
Yong Jeffrey Huang
b3e79c6c6c Merge 2012-03-14 23:19:52 -07:00
Yong Jeffrey Huang
97292b3883 7085757: Currency Data: ISO 4217 Amendment 152
Reviewed-by: naoto
2012-03-14 23:07:21 -07:00
David Katleman
69aa6d19c3 Merge 2012-03-14 13:50:37 -07:00
Lana Steuck
8a283686f2 Merge 2012-03-14 08:56:57 -07:00
Jonathan Lu
005f647e13 7153343: Dependency on non-POSIX header file <link.h> causes portability problem
Remove the unneccessary link.h

Reviewed-by: alanb, chegar
2012-03-16 10:47:25 +08:00
Kurchi Subhra Hazra
56132c0447 7045655: An empty InMemoryCookieStore should not return true for removeAll
CookieStore.removeAll() should return false for an empty CookieStore

Reviewed-by: chegar
2012-03-15 13:21:16 -07:00
Frederic Parain
b497391969 7074616: java.lang.management.ManagementFactory.getPlatformManagementInterfaces fails
Reviewed-by: dholmes, sla
2012-03-14 09:03:08 -07:00
Lana Steuck
85d4c76d59 Merge 2012-03-14 08:28:25 -07:00
Shi Jun Zhang
f2ca2f4835 7152948: DatagramDispatcher.c should memset msghdr to make it portable to other platforms
Reviewed-by: alanb, chegar
2012-03-14 15:14:52 +00:00
Lana Steuck
fa178171b6 Merge 2012-03-13 20:23:43 -07:00
Lana Steuck
d25dbaffeb Merge 2012-03-13 19:58:39 -07:00
Pavel Porvatov
089eea6bef 7027139: getFirstIndex() does not return the first index that has changed
Reviewed-by: alexp
2012-03-13 13:18:07 +02:00
Sean Coffey
0ec2d0eca1 7149608: Default TZ detection fails on linux when symbolic links to non default location used
Reviewed-by: alanb, okutsu
2012-03-13 11:01:33 +00:00
Sean Coffey
bfbf85b7a7 7148584: Jar tools fails to generate manifest correctly when boundary condition hit
Reviewed-by: alanb, sherman
2012-03-12 11:30:28 +00:00
Sean Chou
0e1c5e521a 7151427: Fix the potential memory leak in error handling code in X11SurfaceData.c
Free the memory in the error handling code.

Reviewed-by: prr, jgodinez, bae
2012-03-12 13:30:16 +08:00
Lana Steuck
ae6769c77d Merge 2012-03-09 11:58:08 -08:00
Lana Steuck
76177f7a48 Merge 2012-03-08 15:26:32 -08:00
Lana Steuck
b5a0dffd57 Merge 2012-03-08 14:22:15 -08:00
Lana Steuck
ac3052168c Merge 2012-03-08 08:18:56 -08:00
Joe Darcy
cf99e1e9f8 7151008: Add library support for repeating annotations in java.lang.annotation
Reviewed-by: mcimadamore, jjg
2012-03-08 08:04:52 -08:00
Michael McMahon
57a9560def 7152186: java.awt.HeadlessException when running AWT apps [macosx]
Reviewed-by: anthony
2012-03-08 14:38:26 +00:00
Deepak Bhole
1ee1acb94f 7150392: Linux build breaks with GCC 4.7 due to unrecognized option
Remove -mimpure-text option.

Reviewed-by: ohair, dholmes, phh, andrew
2012-03-08 14:04:44 +00:00
Pavel Porvatov
304f1400f9 7146377: closed/javax/swing/DataTransfer/4876520/bug4876520.java failed since b08 in jdk 8
Reviewed-by: alexp
2012-03-07 20:07:18 +02:00
Weijun Wang
0bc11358bb 6961765: Double byte characters corrupted in DN for LDAP referrals
Reviewed-by: vinnie
2012-03-07 10:15:41 +08:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Weijun Wang
bba69953cd 7149012: jarsigner needs not warn about cert expiration if the jar has a TSA timestamp
Reviewed-by: xuelei
2012-03-06 10:25:45 +08:00
Kurchi Subhra Hazra
4264d66e09 7151348: Build breaks due to warning clean up in sun.rmi.*(7146763)
Undo changes to sun/rmi/rmic/* commited as fix for 7146763

Reviewed-by: smarks
2012-03-05 17:38:01 -08:00
Vinnie Ryan
92e8e7960b Merge 2012-03-05 14:15:01 +00:00
Vinnie Ryan
594e178180 7151109: backout CR 6988842
Reviewed-by: mullan
2012-03-05 14:13:29 +00:00
Sergey Malenkov
0f708d90df 7148143: PropertyChangeSupport.addPropertyChangeListener can throw ClassCastException
Reviewed-by: rupashka
2012-03-05 18:01:13 +04:00
Chris Hegarty
2d9226ff60 7145043: HttpServerProvider.java:81: warning - @code("httpServerProvider") is an unknown tag
Reviewed-by: michaelm
2012-03-04 07:41:34 +00:00
Kurchi Subhra Hazra
0006ef0cc8 7146763: Warnings cleanup in the sun.rmi and related packages
Cleanup warnings and use jkd7 features in sun.rmi.*

Reviewed-by: smarks, chegar, forax, dmocek
2012-03-02 13:48:43 -08:00
Vinnie Ryan
1e3b108ef9 6988842: jce/ECC test fails for SunPKCS11 provider using nss library
Reviewed-by: mullan
2012-03-02 17:24:08 +00:00
Alexander Kouznetsov
e44e04a5f5 7130241: [macosx] TransparentRuler demo can not run due to lacking of perpixel transparency support
Reviewed-by: art
2012-03-02 12:24:35 +02:00
Mike Duigou
9c64402c80 7149320: Move sun.misc.VM.booted() to the end of System.initializeSystemClass()
Ensure that sun.misc.VM.booted() is the last action in System.initSystemClass()

Reviewed-by: dholmes, alanb
2012-03-01 09:40:18 -08:00
Pavel Tisnovsky
f4e81d2e19 7149785: Minor corrections to ScriptEngineManager javadoc
JavaDoc correction

Reviewed-by: alanb
2012-03-01 14:02:44 +01:00
Lana Steuck
00d35d412b Merge 2012-02-29 12:30:55 -08:00
Lana Steuck
4a304171a6 Merge 2012-02-29 12:29:20 -08:00
Lana Steuck
45f7bb6a9f Merge 2012-02-28 19:55:09 -08:00
Lana Steuck
b697d670cb Merge 2012-02-28 18:01:54 -08:00
Lana Steuck
30c157894d Merge 2012-02-28 17:52:05 -08:00
Joe Darcy
81b0f3f5c0 7149626: (reflect) Improve javadoc of java.lang.reflect.Executable
Reviewed-by: mduigou
2012-02-28 13:14:47 -08:00
Sean Mullan
fd805805a8 Merge 2012-02-27 13:53:25 -05:00
Sean Mullan
48ca85ec46 7147830: NullPointerException in java.security.Policy.implies() when the ProtectionDomain has a null code sou
Reviewed-by: vinnie
2012-02-27 11:44:50 -05:00
Dmitry Samersoff
fe4588a87e 7110104: It should be possible to stop and start JMX Agent at runtime
Added a capability to start and stop JMX Agent by jcmd

Reviewed-by: acorn, mchung
2012-02-27 15:21:18 +04:00
Lana Steuck
f46ebab88c Merge 2012-02-24 17:38:24 -08:00
Abhijit Saha
c3da3a5048 7148758: Resolve merge issue which caused testcase failure
Reviewed-by: alanb, chegar
2012-02-24 17:31:59 -08:00
Phil Race
8694cd7c62 7147584: Changing to Nimbus/GTK in SwingSet2 on Solaris 10 Sparc causes malformed menus/layout
Reviewed-by: igor, jgodinez
2012-02-24 09:37:01 -08:00
Oleg Pekhovskiy
d76f84108f 7145980: Dispose method of window.java takes long
Reviewed-by: anthony
2012-02-24 13:50:37 +04:00
Sean Coffey
cecb628970 7144488: Infinite recursion for some equals tests in Collections
Reviewed-by: alanb, dholmes, mduigou
2012-02-24 09:17:46 +00:00
Sean Coffey
27720df27a 7133138: Improve io performance around timezone lookups
Reviewed-by: okutsu
2012-02-24 09:10:27 +00:00
Lana Steuck
9c6aee1cdf Merge 2012-02-23 07:54:49 -08:00
Lana Steuck
cd51c0ed25 Merge 2012-02-23 00:14:45 -08:00
Lana Steuck
bf8b18f80e Merge 2012-02-22 22:09:53 -08:00
Lana Steuck
ab549924e8 Merge 2012-02-22 16:52:50 -08:00
Pavel Porvatov
942b3e2aae 7107099: JScrollBar does not show up even if there are enough lebgth of textstring in textField
Reviewed-by: alexp
2012-02-22 14:31:13 +04:00
Charles Lee
df18cb7401 7146572: enableInputMethod(false) does not work in the TextArea and TextField on the linux platform
Peers' constructors shouldn't override user's enableInputMethod() settings

Reviewed-by: anthony
2012-02-21 18:15:14 +04:00
Xue-Lei Andrew Fan
e969599750 7147407: remove never used debug code in DnsClient.java
Reviewed-by: vinnie
2012-02-21 05:44:29 -08:00
Weijun Wang
ace6464105 7147336: clarification on warning of keytool -printcrl
Reviewed-by: xuelei
2012-02-21 15:11:27 +08:00
Weijun Wang
d21a6ce41f 7144530: KeyTab.getInstance(String) no longer handles keyTabNames with "file:" prefix
Reviewed-by: valeriep
2012-02-21 08:51:26 +08:00
Abhijit Saha
162d75c68c Merge 2012-02-20 11:31:53 -08:00
Alan Bateman
86410b610b 6346658: (se) Selector briefly spins when asynchronously closing a registered channel [win]
Reviewed-by: chegar, coffeys
2012-02-20 18:55:10 +00:00
Charles Lee
2995eff3e3 7146506: (fc) Add EACCES check to the return of fcntl native method
Add EACCES check according to the spec of fcntl

Reviewed-by: alanb
2012-02-20 11:24:06 +08:00
Rémi Forax
d2449123be 7146152: File.path should be final
Reviewed-by: alanb, dholmes, mduigou
2012-02-19 16:51:35 +00:00
Xueming Shen
1b32c44aa3 4153167: separate between ANSI and OEM code pages on Windows
To use OEM code page for System.out&err when not redirected

Reviewed-by: alanb
2012-02-16 22:13:10 -08:00
Roger Riggs
ac69a5f84a 6708398: Support integer overflow
Added add/sub/multiply/toIntExact methods to j.l.Math and StrictMath classes

Reviewed-by: emcmanus
2012-02-16 11:43:20 -08:00
Sean Chou
40d87232e6 7089914: Focus on image icons are not visible in javaws cache with high contrast mode
Reviewed-by: rupashka
2012-02-16 17:42:09 +04:00
Xue-Lei Andrew Fan
4c5ba0d841 7145837: a little performance improvement on the usage of SecureRandom
Reviewed-by: chegar, wetmore
2012-02-15 23:45:17 -08:00
Lana Steuck
7ca7e599a5 Merge 2012-02-15 15:28:15 -08:00
Lana Steuck
72ce1c5159 Merge 2012-02-15 15:21:33 -08:00
Frederic Parain
a1429e482e 7145925: Removing remote access to diagnostic commands in the HotSpotDiagnosticMBean
Reviewed-by: acorn, mchung, phh
2012-02-15 10:46:55 -08:00
Sean Mullan
191116a62e Merge 2012-02-15 07:52:58 -05:00
Sean Mullan
5977a2d6a7 7024604: OID.1 causes IAE in X500Principal constructor
Reviewed-by: vinnie
2012-02-15 07:45:42 -05:00
David Buck
1d56fdab49 7143612: improve backwards compatibility of OSIS post-CR6887286
Reviewed-by: flar, prr
2012-02-14 14:16:49 -08:00
Vinnie Ryan
5f84978261 Merge 2012-02-13 14:31:32 +00:00
Vinnie Ryan
7c7523d968 7142339: PKCS7.java is needlessly creating SHA1PRNG SecureRandom instances when timestamping is not done
Reviewed-by: xuelei, wetmore
2012-02-13 14:26:25 +00:00
Mani Sarkar
7abee00e97 7143230: fix warnings in java.util.jar, sun.tools.jar, zipfs demo, etc
Co-authored-by: Michael Barker <mikeb01@gmail.com>
Co-authored-by: Carl Jokl <carl.jokl@gmail.com>
Co-authored-by: Dinuk Weerasinghe <dinuksw@yahoo.com>
Co-authored-by: Markus Stoy <markus.stoy@timgroup.com>
Co-authored-by: Tom Anderson <tom.anderson@timgroup.com>
Reviewed-by: alanb, chegar, lancea, smarks
2012-02-12 21:56:24 -08:00
Chris Hegarty
cfe8581b9b 7133367: ResponseCache.put should not be called when setUseCaches(false)
Reviewed-by: michaelm
2012-02-12 08:47:36 +00:00
Xue-Lei Andrew Fan
7ddcb409b6 7144781: incorrect URLs in JSSE java doc
Reviewed-by: wetmore, skannan
2012-02-10 22:17:44 -08:00
Bradford Wetmore
533795bb75 7142509: Cipher.doFinal(ByteBuffer,ByteBuffer) fails to process when in.remaining() == 0
Reviewed-by: valeriep
2012-02-10 19:07:23 -08:00
Lana Steuck
9fbc16e840 Merge 2012-02-10 10:23:13 -08:00
Alexander Scherbatiy
f67d19788e 7109991: SwingUtilities.isXMouseButton behaves unexpectedly starting from JDK8 b08
Reviewed-by: rupashka
2012-02-10 18:34:43 +04:00
Prasannaa
1cfc57d91b 7144475: fix some warnings in java.awt, javax.print.attribute.standard, and sun.beans.infos
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Goerge Albrecht <goerge.albrecht@gmx.net>
Co-authored-by: Graham Allan <grundlefleck@googlemail.com>
Co-authored-by: Iordanis Giannakakis <i.giannakakis@ymail.com>
Co-authored-by: Jose Llarena <jose.llarena@gmail.com>
Co-authored-by: Abrahamn Marin Perez <abraham.marin.perez@gmail.com>
Reviewed-by: chegar, prr, alanb, anthony
2012-02-10 11:03:20 +00:00
Lana Steuck
9ea42aad43 Merge 2012-02-09 23:17:22 -08:00
Lana Steuck
13686b8d12 Merge 2012-02-09 22:55:28 -08:00
Lana Steuck
38d86a4aa3 Merge 2012-02-09 19:42:39 -08:00
Florian Weimer
9b65dbabc1 6879539: enable empty password support for pkcs12 keystore
Reviewed-by: vinnie, weijun
2012-02-10 11:41:22 +08:00
Pavel Porvatov
36a08afe2a 7142955: DefaultTreeCellRenderer doesn't honor 'Tree.rendererFillBackground' LAF property
Reviewed-by: malenkov
2012-02-09 18:26:57 +04:00
Carlos Lucasius
d228d3127c 7114611: (fs) DirectoryStream fails with SIGBUS on some embedded platforms, dirent alignment
Reviewed-by: dholmes, alanb
2012-02-09 13:43:15 +00:00
Pavel Porvatov
ffc91880e1 7143857: Memory leak in javax.swing.plaf.synth.SynthTreeUI
Reviewed-by: alexp
2012-02-09 14:21:53 +04:00
David Katleman
0a228eec58 Merge 2012-02-08 19:13:58 -08:00
Pavel Porvatov
0b4df63ee2 7138665: JOptionPane.getValue() unexpected change between JRE 1.6 and JRE 1.7
Reviewed-by: alexp
2012-02-08 16:15:12 +04:00
Joe Darcy
d8c00fda7b 7143629: JDK jar/zip code should use unsigned library support
Reviewed-by: sherman
2012-02-07 17:39:13 -08:00
Yong Jeffrey Huang
4ea71cf959 7129382: change minor unit of VND to 0
Reviewed-by: naoto
2012-02-06 18:56:36 -08:00
Joe Darcy
6667bfa0a9 7041249: Remove apt tool and API from the JDK
Reviewed-by: jjg, ohair
2012-02-05 21:49:45 -08:00
Chris Hegarty
d0bf1b11b1 Merge 2012-02-04 07:36:29 +00:00
Chris Hegarty
511e7438d7 7041778: Move SCTP implementation out of sun.nio.ch and into its own package
Reviewed-by: alanb
2012-02-04 07:29:11 +00:00
Phil Race
80e0df803f 7141914: Draw glyph cause JVM crash
Reviewed-by: bae, igor
2012-02-03 09:57:45 -08:00
Pavel Porvatov
314ecdc15a 7141573: JProgressBar resize exception, if setStringPainted in Windows LAF
Reviewed-by: malenkov
2012-02-03 17:57:39 +04:00
Matthew Smith
7313a31b92 7132194: GtkFileDialog does not point to the correct file(s) is Recent Files are used
Handle the file list differently if gtk_file_chooser_get_current_folder() returns NULL

Reviewed-by: anthony
2012-02-02 17:49:10 +04:00
Frederic Parain
ec9b7d57ac 7120974: ManagementPermission "control" needs clarification
Reviewed-by: mchung, dholmes
2012-02-01 03:52:37 -08:00
Lana Steuck
9ad29a120a Merge 2012-01-31 19:08:36 -08:00
Lana Steuck
bc231c8c92 Merge 2012-01-31 19:06:48 -08:00
Pavel Porvatov
bd71369ca5 7082443: JComboBox not backward compatible (with Java 6)
Reviewed-by: alexp
2012-01-31 17:30:33 +04:00
Staffan Larsen
d548c65214 Merge 2012-01-31 04:57:20 -08:00
Jonathan Lu
46accc5829 7133301: (process) UNIXProcess_md.c should include sys/wait.h rather than wait.h
Reviewed-by: alanb
2012-01-31 10:31:19 +00:00
Sergey Malenkov
bb9be9ed00 7122138: IAE thrown because Introspector ignores synthetic methods
Reviewed-by: rupashka
2012-01-31 14:20:47 +04:00
Staffan Larsen
c3ee1cf7f9 7132199: sun/management/jmxremote/bootstrap/JvmstatCountersTest.java failing on all platforms
Make sure HotSpot and JDK looks for well-known files in the same location

Reviewed-by: dholmes, dsamersoff
2012-01-31 10:46:34 +01:00
Doug Lea
45569b3a65 7132378: Race in FutureTask if used with explicit set ( not Runnable )
Reviewed-by: chegar, dholmes
2012-01-30 11:44:45 +00:00
Alexander Scherbatiy
c0b462dd42 7122149: [macosx] closed/javax/swing/UITest/UITest.java fails on MacOS
Reviewed-by: rupashka
2012-01-30 12:52:53 +04:00
Lana Steuck
d1e88d085e Merge 2012-01-28 22:47:07 -08:00
Lana Steuck
afe805a586 Merge 2012-01-28 22:21:54 -08:00
Lana Steuck
0f98d16ad1 Merge 2012-01-28 20:41:27 -08:00
Chris Hegarty
036e845b65 7110002: Rename xawt/libmawt.so and headless/libmawt.so so they can be colocated with libawt
Reviewed-by: art, prr, dholmes, alanb
2012-01-27 13:48:40 +00:00
Masayoshi Okutsu
33a5a447a8 7130335: Problem with timezone in a SimpleDateFormat
Reviewed-by: peytoia
2012-01-27 14:58:32 +09:00
Bradford Wetmore
08fe131e34 7126889: Incorrect SSLEngine debug output
Reviewed-by: xuelei
2012-01-26 17:16:05 -08:00
Lance Andersen
fa918cde67 7133815: address the findbug errors in CachedRowSetImpl, SerialStruct, BaseRow, SerialInputImpl, SerialOutputImpl
Reviewed-by: forax
2012-01-26 19:41:35 -05:00
Pavel Porvatov
4ae1928609 7010561: Tab text position with Synth based LaF is different to Java 5/6
Reviewed-by: alexp
2012-01-26 17:38:58 +04:00
Yuka Kamiya
844d8fc641 7017458: (cal) Multithreaded deserialization of Calendar leads to ClassCastException
Reviewed-by: okutsu
2012-01-26 17:06:47 +09:00
Alejandro Murillo
89a6bc1ca9 Merge 2012-01-25 12:36:08 -08:00
Lance Andersen
abf04e0d1c 7132879: address Findbugs issue in WebRowSetXmlWriter
Reviewed-by: forax
2012-01-24 15:13:27 -05:00
Sergey Malenkov
e59111ddf3 7121905: grammatically incorrect apostrophe in BeanInfo javadoc
Reviewed-by: rupashka
2012-01-24 19:40:14 +04:00
Denis Fokin
40dbde3a86 7078460: JDialog is shown as separate icon on the taskbar
Reviewed-by: anthony
2012-01-24 18:46:36 +04:00
Denis Fokin
9bf6ef1857 7130140: using horizontal scroll button on mouse causes a message to be printed on stdout
Reviewed-by: art
2012-01-23 17:26:07 +04:00
Joe Darcy
cc5049f41e 4504839: Java libraries should provide support for unsigned integer arithmetic
4215269: Some Integer.toHexString(int) results cannot be decoded back to an int
6322074: Converting integers to string as if unsigned

Reviewed-by: mduigou, emcmanus, flar
2012-01-20 17:56:31 -08:00
Alejandro Murillo
370735f2e4 Merge 2012-01-20 14:31:33 -08:00
Phil Race
b25a3c3f11 7131153: GetDC called way too many times - causes bad performance
Reviewed-by: igor, jgodinez
2012-01-19 12:41:57 -08:00
Valerie Peng
f105bf6f5b 7092825: javax.crypto.Cipher.Transform.patternCache is synchronizedMap and became scalability bottleneck
Changed patternCache from synchronizedMap to ConcurrentHashMap.

Reviewed-by: mullan
2012-01-19 12:01:57 -08:00
Denis Fokin
d0dfef0321 7121761: creation of java.awt.DataFlavour fails for turkish locale
Reviewed-by: anthony
2012-01-19 14:59:43 +04:00
Lana Steuck
9ccc60ae83 Merge 2012-01-18 20:24:41 -08:00
Lana Steuck
8b5dadd520 Merge 2012-01-18 20:23:33 -08:00
John R Rose
cec41c4c9d 7030453: JSR 292 ClassValue.get method is too slow
Implement ClassValue cooperatively with Class like ThreadLocal with Thread.

Reviewed-by: twisti, mduigou
2012-01-18 17:34:32 -08:00
John R Rose
1c49ad8a03 7077803: java.lang.InternalError in java.lang.invoke.MethodHandleNatives.init
Use correct access token for unreflecting MHs where setAccessible(true)

Reviewed-by: never, twisti
2012-01-18 17:34:30 -08:00
John R Rose
ef856f2fe0 7117167: Misc warnings in java.lang.invoke and sun.invoke.*
Reviewed-by: smarks
2012-01-18 17:34:29 -08:00
Lana Steuck
328abbe8d8 Merge 2012-01-18 11:41:13 -08:00
Lana Steuck
5fa3c57f37 Merge 2012-01-18 11:27:56 -08:00
Lana Steuck
bb8ab4aa4f Merge 2012-01-18 11:00:20 -08:00
Chris Hegarty
b78021fcd1 7126960: Add property to limit number of request headers to the HTTP Server
Reviewed-by: michaelm
2012-01-18 15:35:06 +00:00
Matt Smith
d5d6252e5b 7130662: GTK file dialog crashes with a NPE
Guard adding a back slash to the directory name with an if (!= null) check

Reviewed-by: anthony, art
2012-01-18 19:09:26 +04:00
Kurchi Subhra Hazra
75e511ab32 7117570: Warnings in sun.mangement.* and its subpackages
Reviewed-by: mchung, dsamersoff
2012-01-17 15:55:40 -08:00
Joe Darcy
032af13e8b 7132338: Use @code friendly idiom for '\' in javadoc
Reviewed-by: alanb
2012-01-23 12:17:30 -08:00
Sean Mullan
20acbf2a93 Merge 2012-01-23 13:23:05 -05:00
Sean Mullan
ced9a44bc8 7131084: XMLDSig XPathFilter2Transform regression involving intersect filter
Reviewed-by: xuelei
2012-01-23 12:17:04 -05:00
Denis Fokin
36b3d034d2 7110590: DnDMerlinQLTestsuite_DnDJTextArea test fails with an java.awt.dnd.InvalidDnDOperationException
Reviewed-by: art
2012-01-17 19:09:32 +04:00
Chris Hegarty
c77eb16a79 7129083: CookieManager does not store cookies if url is read before setting cookie manager
Reviewed-by: michaelm
2012-01-16 18:05:29 +00:00
Sergey Malenkov
e20614ed03 7122740: PropertyDescriptor Performance Slow
Reviewed-by: rupashka
2012-01-16 18:28:56 +04:00
Weijun Wang
5cbd245bad 7118809: rcache deadlock
Reviewed-by: valeriep
2012-01-16 10:10:56 +08:00
Phil Race
3b8a1fee1d 7127827: JRE8: javaws fails to launch on oracle linux due to XRender
Reviewed-by: bae, jgodinez
2012-01-13 13:11:08 -08:00
Charles Lee
5c8b083c66 7129029: (fs) Unix file system provider should be buildable on platforms that don't support O_NOFOLLOW
Reviewed-by: alanb
2012-01-13 13:20:02 +00:00
Valerie Peng
eafb7ad68c 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
Added the OracleUcrypto provider for utilizing the Solaris ucrypto API.

Reviewed-by: weijun
2012-01-12 16:04:03 -08:00
Xue-Lei Andrew Fan
8b5551f1eb 7106773: 512 bits RSA key cannot work with SHA384 and SHA512
Reviewed-by: weijun
2012-01-12 03:39:37 -08:00
Kumar Srinivasan
86fa49b707 7125442: jar application located in two bytes character named folder cannot be run with JRE 7 u1/u2
Reviewed-by: sherman, mchung, darcy
2012-01-11 08:14:47 -08:00
Alan Bateman
69a71c999c 7068856: (fs) Typo in Files.isSameFile() javadoc
7099208: (fs) Files.newBufferedReader has typo in javadoc

Reviewed-by: forax
2012-01-11 13:07:15 +00:00
Chris Hegarty
1f16d123b1 7128648: HttpURLConnection.getHeaderFields should return an unmodifiable Map
Reviewed-by: michaelm
2012-01-11 10:52:25 +00:00
Joe Darcy
cd63594f4a 7128931: Bad HTML escaping in java.lang.Throwable javadoc
Reviewed-by: mduigou
2012-01-10 17:46:46 -08:00
Joe Darcy
d3428db5c5 7112008: Javadoc for j.l.Object.finalize() vs JLS 12.6 Finalization of Class Instances
Reviewed-by: mduigou
2012-01-10 17:12:11 -08:00
Alexander Scherbatiy
a6f9704a91 6505523: NullPointerException in BasicTreeUI when a node is removed by expansion listener
Reviewed-by: rupashka
2012-01-10 17:11:10 +04:00
Krystal Mok
a5c9da18fb 7128584: Typo in sun.misc.VM's private directMemory field comment
Reviewed-by: forax, chegar
2012-01-10 12:48:08 +00:00
Brandon Passanisi
f44b5b5812 7123415: Some cases of network interface indexes being read incorrectly
Reviewed-by: chegar
2012-01-10 10:57:12 +00:00
Xue-Lei Andrew Fan
74fcfe6c7e 7123519: problems with certification path
Also including the contribution from Dennis Gu

Reviewed-by: mullan, weijun
2012-01-09 20:55:52 -08:00
Joe Darcy
a821772a15 7128512: Javadoc typo in java.lang.invoke.MethodHandle
Reviewed-by: mduigou
2012-01-09 20:14:15 -08:00
Neil Richards
d51673ed91 7123229: (coll) EnumMap.containsValue(null) returns true
Java.util.EnumMap.NULL equals() must only be true for itself

Reviewed-by: alanb, mduigou
2012-01-10 00:07:13 +00:00
Martin Desruisseaux
f8400651e0 7128441: StrictMath performance improvement note shared with Math
Reviewed-by: darcy
2012-01-09 15:54:44 -08:00
Joe Darcy
57096116d9 7123649: Remove public modifier from Math.powerOfTwoF
Reviewed-by: smarks, alanb
2012-01-06 18:47:43 -08:00
Valerie Peng
12558e2ef9 7033170: Cipher.getMaxAllowedKeyLength(String) throws NoSuchAlgorithmException
Changed to always use full transformation as provider properties.

Reviewed-by: mullan
2012-01-06 16:06:41 -08:00
Valerie Peng
c83fa3fdfc Merge 2012-01-06 11:02:31 -08:00
Alan Bateman
5fa281c0ee 7127235: (fs) NPE in Files.walkFileTree if cached attributes are GC'ed
Reviewed-by: forax, chegar
2012-01-06 15:00:22 +00:00
Valerie Peng
1081efba4f 6414899: P11Digest should support cloning
Enhanced the PKCS11 Digest implementation to support cloning

Reviewed-by: vinnie
2012-01-05 18:18:04 -08:00
Lana Steuck
a43e73eb81 Merge 2012-01-04 10:57:39 -08:00
Frederic Parain
d1c86caeaa 7104647: Adding a diagnostic command framework
Reviewed-by: mchung, dholmes
2012-01-04 03:49:35 -08:00
Kumar Srinivasan
3890c64b86 7123582: (launcher) display the -version and -XshowSettings
Reviewed-by: alanb
2012-01-03 08:27:37 -08:00
Chris Hegarty
1d37e604b0 7125055: ContentHandler.getContent API changed in error
Reviewed-by: alanb
2012-01-01 09:24:00 +00:00
David Katleman
6ddf2df795 Merge 2011-12-28 15:14:24 -08:00
Lana Steuck
3419a755d7 Merge 2011-12-28 10:51:24 -08:00
Oleg Pekhovskiy
152a77b4f6 7121482: some sun/java2d and sun/awt tests failed with InvalidPipeException since 1.7.0_03b02, 6u31b02
Reviewed-by: art, bae
2011-12-28 14:26:03 +04:00
Daniel D. Daugherty
937ae45cd8 7121600: Instrumentation.redefineClasses() leaks class bytes
Call JNI ReleaseByteArrayElements() on memory returned by JNI GetByteArrayElements(). Also push test for 7122253.

Reviewed-by: acorn, poonam
2011-12-22 18:35:48 -08:00
Stephen Flores
a046e398d5 7076310: (file) AclEntry.Builder setFlags throws IllegalArgumentException if set argument is empty
Reviewed-by: alanb
2011-12-22 10:52:17 +00:00
Valerie Peng
9b7ddf1602 6839886: Array overrun in pkcs11
Fix the wrong value when dealing w/ month and day.

Reviewed-by: mullan
2011-12-21 14:08:00 -08:00
Brandon Passanisi
e4dad47833 7078386: NetworkInterface.getNetworkInterfaces() may return corrupted results on linux
Reviewed-by: michaelm, alanb, chegar
2011-12-21 10:06:32 +00:00
Masayoshi Okutsu
c15d5acd01 7122054: (tz) Windows-only: tzmappings needs update for KB2633952
Reviewed-by: peytoia
2011-12-21 17:09:39 +09:00
Lana Steuck
3f5f0b4dc0 Merge 2011-12-20 15:27:55 -08:00
Anthony Petrov
b3582e243e 7122796: SunToolkit constructor should create the EventQueue for the Main AppContext
Always create an EQ for the main AppContext in SunToolkit constructor

Reviewed-by: art
2011-12-20 12:48:01 +03:00
Stephen Flores
a8ad56bd5c 6990617: Regular expression doesn't match if unicode character next to a digit
Updated RemoveQEQuotation() to deal with this case correctly

Reviewed-by: sherman
2011-12-19 14:14:14 -08:00
Denis Fokin
1258946332 7117011: Reduce number of warnings in sun/awt/windows and sun/awt/datatransfer
Reviewed-by: art
2011-12-19 16:44:36 +04:00
Oleg Pekhovskiy
3704715569 7117334: Warnings cleanup day: reduce number of javac warnings in the java.awt package
Reviewed-by: art, denis, alexsch
2011-12-19 15:21:35 +04:00
Brandon Passanisi
6702bf177f 7087549: (fs) Files.newInputStream throws UOE for custom provider options
Reviewed-by: alanb
2011-12-17 20:07:14 +00:00
Lana Steuck
ea01b60d82 Merge 2011-12-16 12:12:17 -08:00
Chris Hegarty
d680725432 7095980: Ensure HttpURLConnection (and supporting APIs) don't expose HttpOnly cookies
Reviewed-by: michaelm
2011-12-16 16:09:41 +00:00
Lana Steuck
f1c7c499bf Merge 2011-12-15 19:52:13 -08:00
Xueming Shen
8514873d3d 7118283: Better input parameter checking in zip file processing
Fixed off-by-one bug in zip_util.c

Reviewed-by: alanb
2011-12-15 14:18:56 -08:00