682 Commits

Author SHA1 Message Date
Oleg Sukhodolsky
205971fd7c 6645856: static field XWindowPeer.defaultFont hides XWindow.defaultFont
Unnedded code has been removed.  Added getter for XWindow.defaultFont to initialize it lazily.

Reviewed-by: dav
2008-03-13 17:08:15 +03:00
Oleg Sukhodolsky
3c81ec3851 6645885: small refactoring for XContentWindow
Move createContent() method from XDecoratedPeer to XContentWindow, so only XContentWindow keep information about the way we position it.

Reviewed-by: anthony
2008-03-13 17:04:54 +03:00
Oleg Sukhodolsky
a7dad49796 6636368: XAtom contains unused code
Unused code has been removed

Reviewed-by: dcherepanov
2008-03-13 16:56:54 +03:00
Oleg Sukhodolsky
9c0e7108a3 6636370: minor corrections and simplification of code in AppContext
MainAppContext, isDisposed, and numAppContexts has beem made volatile.  mostRecentThreadAppContext has been rewritten using ThreadLocal.

Reviewed-by: art
2008-03-13 16:54:51 +03:00
Oleg Sukhodolsky
794142ee36 6636331: ConcurrentModificationException in AppContext code
Added synchronization to AppContext.getAppContexts()

Reviewed-by: art
2008-03-13 16:51:04 +03:00
Oleg Sukhodolsky
59d9653ecf 6636369: sun.awt.datatransfer.DataTransferer contains double-check idiom
Double-check has been removed

Reviewed-by: dav
2008-03-13 16:47:40 +03:00
Oleg Sukhodolsky
43fd376e71 6607163: Linux: Cannot copy image from Java to OpenOffice
TARGETS should have type ATOM

Reviewed-by: denis
2008-03-13 16:42:52 +03:00
Oleg Sukhodolsky
c02f0bd9b7 6603256: Startup: Defer initialization of DropTarget's flavorMap
SystemFlavorMap is lazily initialized now.

Reviewed-by: uta
2008-03-13 16:32:15 +03:00
Oleg Sukhodolsky
16b0d38feb 6592751: EmbeddedFrame disposal is fragile and breaks clean AppContext termination
AppContext.dispose() should be ready to get exceptions during disposal of toplevels.  Also now we mark windows peers as destroyed when native object has been destroyed.

Reviewed-by: art
2008-03-13 16:27:20 +03:00
Oleg Sukhodolsky
d51ba24908 6632140: minor refactoring for XWM
Code cleanup and generificaion for XWM

Reviewed-by: anthony
2008-03-13 16:19:32 +03:00
Oleg Sukhodolsky
ee0c8e43e4 6616095: AWT's WindowDisposerRecord keeps AppContext alive too long
WindowDisposerRecord should not keep strong reference to AppContext.

Reviewed-by: art
2008-03-13 16:12:56 +03:00
Oleg Sukhodolsky
2a20e69f1a 6595651: Focus transfers broken for applications embedding AWT across processes
Now we allow cross-process focus requests if focus is in embedder's process.

Reviewed-by: ant
2008-03-13 15:36:31 +03:00
Bradford Wetmore
b12d27166f Merge 2008-03-11 23:37:02 -07:00
Weijun Wang
7434ffcbfb 6673164: dns_fallback parse error
Reviewed-by: valeriep
2008-03-12 09:32:38 +08:00
Alan Bateman
40922e9127 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException
Reviewed-by: chegar
2008-03-11 14:49:53 +00:00
Alan Bateman
d5b852b81d 6448457: (ch) Channels.newOutputStream().write() does not write all data
Reviewed-by: iris, sherman
2008-03-11 14:42:35 +00:00
Martin Buchholz
5d9d5e3e88 6625725: (coll) modCount should not be volatile
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Martin Buchholz
95c7559bd3 6583872: (coll) Direct uninformed users away from Vector/Hashtable
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Martin Buchholz
af3cf15e6e 6633113: test/java/util/concurrent/SynchronousQueue/Fairness.java fails intermittently
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Doug Lea
e4f30f8084 6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
2bcc7a86a0 6620549: ExecutorService#shutdown should clearly state that it does not block
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
f280870c0f 6609775: Reduce context switches in DelayQueue due to signalAll
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Doug Lea
0170151171 6602600: Fast removal of cancelled scheduled thread pool tasks
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Martin Buchholz
2ebe861fe5 6612102: (coll) IdentityHashMap.iterator().remove() might decrement size twice
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
f8092959d4 6595669: regtest LinkedBlockingQueue/OfferRemoveLoops.java fails
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
5f387b52a1 5080227: (coll spec) Bug in documentation for WeakHashMap
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Luis Miguel Alventosa
134f15a93f 6655515: MBeans tab: operation return values of type Component displayed as String
6439590: MBeans tab: jconsole mbean tree not correctly refreshed
6446434: MBeans tab: Not possible to view MBean content before all MBeans have been initially loaded
6520144: Hard to find MBean Attributes, Operations, and Notifications in Java 6 jconsole
6522091: VMPanel.java contains non-ASCII character
6608334: JConsole fails to display MBean operation with <null> return type
6611445: MBeans tab: MBean tree algorithm wrongly removes intermediate nodes

Reviewed-by: dfuchs, jfdenise
2008-03-11 01:20:55 +01:00
Kelly O'Hair
c0165a4ae8 6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
OUTPUTDIR changes to make sure absolute path is correct.

Reviewed-by: xdono
2008-03-10 16:51:23 -07:00
Luis Miguel Alventosa
c88c71b755 Merge 2008-03-10 23:51:13 +01:00
Luis Miguel Alventosa
cc358443d5 Merge 2008-03-10 23:31:50 +01:00
Luis Miguel Alventosa
f810300851 4981215: Publishing a port number for management console to access
Reviewed-by: emcmanus, dfuchs
2008-03-10 23:13:31 +01:00
Martin Buchholz
4341094beb 6600143: Remove another 450 unnecessary casts
Reviewed-by: alanb, iris, lmalvent, bristor, peterjones, darcy, wetmore
2008-03-10 15:07:09 -07:00
Martin Buchholz
f3d6a3bd3b 6671051: (process) Runtime.exec() hangs if signalled during fork/exec
Reviewed-by: iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
4385dbf930 6642034: System.getProperty("os.name") returns Windows Vista on Windows Server 2008 (longhorn)
Reviewed-by: iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
abde1241e1 4960438: (process) Need IO redirection API for subprocesses
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
504a24907d 6631352: File{OutputStream,Writer} should implement atomic append mode using FILE_APPEND_DATA (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
8d412f036d 6631437: File{In,Out}putStream minor improvements to spec and stylistic improvements to code
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
2c1daccc0a 6631362: Nuke io_util_md.c:handleFileSizeFD (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
a686efe6ac 6632696: Writing to closed output files (writeBytes) leaks native memory (unix)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
4d5b998028 6631966: (process) Raise Windows pipe buffer size an extra 24 bytes (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:50 -07:00
Martin Buchholz
f7ce4bc4ab 6633613: (str) StringCoding optimizations to avoid unnecessary array copies with Charset arg
Reviewed-by: iris
2008-03-09 21:56:42 -07:00
Martin Buchholz
14120d1c34 6671834: (str) Eliminate StringCoding.java compile warnings
Reviewed-by: iris
2008-03-09 21:56:42 -07:00
Martin Buchholz
13ced2b935 4499288: (cs spec) Charset terminology problems
Reviewed-by: mr, iris
2008-03-09 21:56:42 -07:00
Kelly O'Hair
fbfab433d5 6672777: Broken deploy build from jdk fix 6668781 for cygwin windows
Deploy workspace does not set BUILDDIR, uses it, assumes it is jdk/make.

Reviewed-by: xdono
2008-03-09 14:16:49 -07:00
Weijun Wang
095647f3a4 6597349: KeyStore.getCertificateChain() may not return the full chain
Reviewed-by: mullan
2008-03-08 22:52:20 +08:00
Weijun Wang
e75aa5c3ab 6643094: Test on keytool -startdate forgets about December
Reviewed-by: xuelei
2008-03-08 22:51:14 +08:00
Weijun Wang
b85d2a9e76 6634644: broken fragment, should use @link
Reviewed-by: mullan
2008-03-08 22:49:45 +08:00
Phil Race
a15c780502 6640532: Graphics.getFontMetrics() throws NullPointerException
NIO usage needs to be robust against Thread.interrupt()

Reviewed-by: tdv
2008-03-07 12:13:17 -08:00
Chris Hegarty
ff13f5c98a Merge 2008-03-07 17:18:22 +00:00
Chris Hegarty
077f55f470 6631048: Problem when writing on output stream of HttpURLConnection
Fix up logic in ChunkedOutputStream.write

Reviewed-by: jccollet
2008-03-07 17:17:49 +00:00