204 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris Hegarty
349fef2b70 6628576: InterfaceAddress.equals() NPE when broadcast field == null
Update logic in equals to correctly handle nulls.

Reviewed-by: michaelm
2008-03-07 13:00:44 +00:00
Chris Hegarty
1b9d87730f 6591358: documentation error in URLConnection.setRequestProperty("accept", ...)
Simple doc change, "accept" -> "Accept"

Reviewed-by: jccollet
2008-03-07 11:51:27 +00:00
Chris Hegarty
b8383dba86 6615656: Removed unimplemented java.net methods
Reviewed-by: jccollet
2008-03-07 11:30:32 +00:00
Chris Hegarty
b02a978ac4 6667108: typo in javadoc for java.net.Socket.getRemoteSocketAddress()
Simple typo in method specification.

Reviewed-by: jccollet
2008-03-07 09:57:22 +00:00
Bradford Wetmore
623bcb71a5 6578538: com.sun.crypto.provider.SunJCE instance leak using KRB5 and LoginContext
Reviewed-by: valeriep
2008-03-06 16:06:45 -08:00
Kumar Srinivasan
86d2ba8dfc 6596475: (launcher) javaw should call InitCommonControls
Javaw does not show error window after manifest changes.

Reviewed-by: darcy
2008-03-06 07:51:28 -08:00
Jean-Christophe Collet
e33dde9817 6651717: Debug output statement left in MailToURLConnection
Removed output statement, removed unused imports, added override tags.

Reviewed-by: chegar
2008-03-05 18:11:33 +01:00
Jean-Christophe Collet
45c655a782 6660405: HttpURLConnection returns the wrong InputStream
Set inputStream back to null in disconnectInternal().

Reviewed-by: chegar
2008-03-05 17:16:14 +01:00
Weijun Wang
be421c50f1 6664612: debug output leaked
Reviewed-by: valeriep
2008-03-05 22:16:06 +08:00
Weijun Wang
0c6743a970 6590930: reed/write does not match for ccache
Add null-awareness to ccache read

Reviewed-by: valeriep
2008-03-05 22:15:45 +08:00
Weijun Wang
578a880fee 6648972: KDCReq.init always read padata
PA-DATA is optional, only read it when it exists

Reviewed-by: valeriep
2008-03-05 21:55:33 +08:00
Jean-Christophe Collet
ffacce2397 6641309: Wrong Cookie separator used in HttpURLConnection
Added a space to cookie separator. Generified the code and added tags.

Reviewed-by: chegar
2008-03-05 11:40:22 +01:00
Weijun Wang
0f960354ea 6641312: Fix krb5 codes indentation problems
Reviewed-by: xuelei, valeriep, wetmore
2008-03-05 09:52:50 +08:00
Eamonn McManus
5cd758db4c 6670375: Missing unit test for 6607114 (Make JMXServiceURL reconstructible)
Current setup doesn't allow two pushes with same CR number

Reviewed-by: dfuchs
2008-03-03 15:44:50 +01:00
Eamonn McManus
4ef2f229c7 Merge 2008-03-03 15:29:22 +01:00