Commit Graph

179 Commits

Author SHA1 Message Date
Xue-Lei Andrew Fan
5fc030e9d3 6648816: REGRESSION: setting -Djava.security.debug=failure result in NPE in ACC
Unchecking the null pointer of the debug handle

Reviewed-by: mullan, weijun
2008-03-15 13:43:05 -04:00
Jonathan Gibbons
2f36d025ca 6638501: Regression with Javac in JDK6 U4 b03?
Replace some String paths with File paths in Paths.java

Reviewed-by: ksrini
2008-03-14 16:09:30 -07:00
Xueming Shen
8436026352 6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers
Reviewed-by: iris
2008-03-14 14:21:03 -07:00
Dmitry Cherepanov
9e5bc6d8bf 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards
WS_DISABLED style should be used to fix some modality bugs

Reviewed-by: art, son
2008-03-14 22:00:33 +03:00
Dmitry Cherepanov
ad051bbc3a 6524352: support for high-resolution mouse wheel
Added support for high-resolution mouse wheel

Reviewed-by: dav, son
2008-03-14 20:40:09 +03:00
Dmitry Cherepanov
4033c90251 6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
AWT XEmbed shouldn't use _SUN_XEMBED_START message

Reviewed-by: art, son
2008-03-14 18:50:02 +03:00
Dmitry Cherepanov
f97f9eb9a5 6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
Partial rollback changes for 6567564 in the Component.getGC method

Reviewed-by: art, son
2008-03-14 18:27:34 +03:00
Sean Mullan
aa16afbf77 Merge 2008-03-14 10:33:21 -04:00
Dmitry Cherepanov
07a1367346 6522731: Location of the frame changes,when the frame is resized & non-resized
XMoveWindow() should use shell's location

Reviewed-by: son
2008-03-14 17:23:25 +03:00
Kelly O'Hair
db98b5b071 6675289: Make default production build NOT include an openjdk build
SKIP_OPENJDK_BUILD now set to true.

Reviewed-by: xdono
2008-03-13 16:12:15 -07:00
Jonathan Gibbons
d3dcc1c115 6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css
Remove obsolete files

Reviewed-by: mcimadamore
2008-03-13 13:42:38 -07:00
Roman Kennke
eab1a9b3df 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
Reviewed-by: iris
2008-03-13 19:34:49 +00:00
Alan Bateman
66fa5dcf96 6628575: (fc) lock/tryLock methods do not work with NFS servers that limit lock range to max file size
Reviewed-by: sherman
2008-03-13 19:29:41 +00:00
Sean Mullan
cf50796ba5 6611991: Add support for parsing RFC4514 DNs to X500Principal
Added new test and made one code change to escape null characters.

Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00
Oleg Sukhodolsky
dc0d619ccb 6538066: XSelection should be more passive
Now only XClipboard know about XSelection, and XSelection knows nothing about XClipboard.

Reviewed-by: uta, denis
2008-03-13 17:14:44 +03:00
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
Jonathan Gibbons
7dbe0828de 6668794: javac puts localized text in raw diagnostics
6668796: bad diagnostic "bad class file" given for source files

Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file

Reviewed-by: mcimadamore
2008-03-12 13:06:00 -07: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
Jonathan Gibbons
4cd40a47ff 6307187: clean up code for -Xlint:options
Introduce common code for handling one-of and any-of options

Reviewed-by: mcimadamore
2008-03-11 13:14:55 -07: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