Commit Graph

522 Commits

Author SHA1 Message Date
Doug Lea
01a36018d3 6800572: Removing elements from views of NavigableMap implementations does not always work correctly
Replace use of new TreeSet with new KeySet

Reviewed-by: martin
2009-03-24 19:42:23 -07:00
Lana Steuck
8888335104 Merge 2009-03-24 19:12:02 -07:00
Alan Bateman
6af949fe24 6621689: (dc spec) DatagramChannel.receive when channel is not bound is not specified
Reviewed-by: sherman
2009-03-24 14:10:38 +00:00
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
Phil Race
4db0a48b10 6745225: Memory leak while drawing Attributed String
Reviewed-by: jgodinez, dougfelt
2009-03-23 10:40:54 -07:00
Xueming Shen
3f0b988cfc 6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl)

Optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case.

Reviewed-by: alanb
2009-03-23 09:19:23 -07:00
Dmitry Cherepanov
cd71edadc5 6730447: Support for high resolution mouse wheel is still incomplete. AWT panel needs to be supported
Reviewed-by: art, dav
2009-03-23 09:47:39 -04:00
Peter Zhelezniakov
1a1db06a37 4783068: Components with HTML text should gray out the text when disabled
Views fixed to use different colors when container is disabled

Reviewed-by: gsm, rupashka
2009-03-23 16:41:47 +03:00
Xueming Shen
94bd6b212a Merge 2009-03-20 17:40:52 -07:00
Xueming Shen
df65a88edb 6817475: named-capturing group name started with digit causes PSE exception
Need accept the digit as the first char of the group name

Reviewed-by: alanb
2009-03-20 16:22:59 -07:00
Alexey Ushakov
7f2828e070 6733501: Apply IcedTea little cms patches
Reviewed-by: bae, prr
2009-03-20 20:05:22 +03:00
Dmitry Cherepanov
dc5ad18362 6774258: api/java_awt/Component/index.html#PaintUpdate fails randomly
Reviewed-by: art
2009-03-20 08:41:43 -04:00
Weijun Wang
827d425560 6819272: keytool -importcert should read the whole input
Reviewed-by: xuelei
2009-03-19 11:17:06 +08:00
Daniel Fuchs
a2e046f672 Merge 2009-03-18 18:55:10 +01:00
Tim Bell
a787d51eea 6814587: Legal notice repair needed in jdk/src/share/classes/java/nio
6814590: Legal notice repair needed in jdk/test/java/awt/Frame/FrameSize/TestFrameSize.java
6814591: Legal notice repair needed in jdk/test/javax/script/Test3.java

Reviewed-by: alanb, xdono
2009-03-17 13:20:56 -07:00
Pavel Porvatov
30beae5a8c 6738668: JFileChooser cannot be created under SecurityManager
Reviewed-by: peterz
2009-03-17 16:06:14 +03:00
Xue-Lei Andrew Fan
6a44e920f6 6383095: CRL revoked certificate failures masked by OCSP failures
Remove the mask if certificate revoked

Reviewed-by: mullan
2009-03-17 11:54:13 +08:00
Hiroshi Yamauchi
8e6208656a 6812600: The miter line join decoration isn't rendered properly
Reviewed-by: avu, flar
2009-03-16 11:46:26 -07:00
Daniel Fuchs
aa0baf128e Merge 2009-03-13 14:25:48 +01:00
Weijun Wang
78ae650f8f 6815182: GSSAPI/SPNEGO does not work with server using MIT Kerberos library
Reviewed-by: valeriep
2009-03-13 09:20:56 +08:00
Daniel Fuchs
e466180135 6661448: Make the SNMP agent optional when OPENJDK=true and IMPORT_BINARY_PLUGS=false
Reviewed-by: mchung, ohair
2009-03-12 15:36:14 +01:00
Pavel Porvatov
93c4a7033c 6491795: COM should be initialized for Shell API calls in ShellFolder2.cpp
Reviewed-by: peterz, loneid
2009-03-12 14:00:26 +03:00
Anton Tarasov
56f4a68e6b 6806217: implement synthetic focus model for MS Windows
Reviewed-by: art, dcherepanov
2009-03-10 18:33:29 +03:00
Weijun Wang
5f12c03c56 6813402: keytool cannot -printcert entries without extensions
Reviewed-by: xuelei
2009-03-05 14:49:55 +08:00
Lana Steuck
be8bd14e3c Merge 2009-03-04 10:57:24 -08:00
Phil Race
de4c8e0eb5 2163516: Font.createFont can be persuaded to leak temporary files
Reviewed-by: igor
2009-03-03 16:10:37 -08:00
Xue-Lei Andrew Fan
ff67e1ba9a 6549506: Specification of Permission.toString() method contradicts with JDK implementation
Update the spec, and add double quotes around component.

Reviewed-by: weijun
2009-03-02 23:17:53 +08:00
Pavel Porvatov
95a3c4a81f 6794831: Infinite loop while painting ticks on Slider with maximum=MAX_INT
Reviewed-by: malenkov
2009-02-26 11:44:43 +03:00
Kevin Walls
53cf69e562 6809463: Missing license header in test LargeZipFile.java
Reviewed-by: alanb
2009-02-24 19:03:58 +00:00
Kevin Walls
ee5c2301ec 6599383: Unable to open zip files more than 2GB in size
Reviewed-by: alanb
2009-02-24 14:22:08 +00:00
Alan Bateman
4f2325cf75 Merge 2009-02-24 11:33:25 +00:00
Alan Bateman
6d59271ca9 6808647: (file) Paths.get("C:").newDirectoryStream() iterates over Path elements with additional slash [win]
6808648: (file) Files.walkFileTree should obtain file attributes during iteration [win]

Reviewed-by: sherman
2009-02-24 09:11:42 +00:00
Xueming Shen
952857e682 6350801: Add support for named (instead of numbered) capture groups in regular expression
6676425: Opensource unit/regression tests for java.util.regex

Added "named capturing group" into regex. Moved most of reg/unit tests to openjdk.

Reviewed-by: alanb, okutsu
2009-02-23 21:06:15 -08:00
Lana Steuck
2ba8da1975 Merge 2009-02-23 11:16:04 -08:00
Xue-Lei Andrew Fan
d1f800c577 5067458: Loopback SSLSocketImpl createSocket is throwing an exception
A null hostname should be regarded as a loopback address.

Reviewed-by: weijun
2009-02-23 17:32:52 +08:00
Weijun Wang
3a37d195f3 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
Reviewed-by: xuelei, mullan
2009-02-23 10:05:55 +08:00
Weijun Wang
500caf95bd 6803376: BasicConstraintsExtension does not encode when (ca==false && pathLen<0)
Reviewed-by: xuelei
2009-02-23 10:05:41 +08:00
Weijun Wang
9081658837 6804045: DerValue does not accept empty OCTET STRING
Reviewed-by: xuelei
2009-02-23 10:04:52 +08:00
Weijun Wang
967dd884ac 6789935: cross-realm capath search error
Reviewed-by: xuelei
2009-02-23 10:04:25 +08:00
Weijun Wang
7465090acf 6535697: keytool can be more flexible on format of PEM-encoded X.509 certificates
Reviewed-by: vinnie
2009-02-23 10:03:36 +08:00
Lana Steuck
ddc1549079 Merge 2009-02-22 12:26:39 -08:00
Tim Bell
a58639094e Merge 2009-02-20 10:53:39 -08:00
Xue-Lei Andrew Fan
f202d9a6e1 6697270: Inputstream dosent behave correct
Do not try to read zero byte from a InputStream, and do always return immediately for zero byte reading in a InputStream implementation.

Reviewed-by: weijun
2009-02-20 13:05:28 +08:00
Tim Bell
354897da83 Merge 2009-02-19 18:04:30 -08:00
Kumar Srinivasan
dcbd65a1c3 6792554: Java JAR Pack200 header checks are insufficent
Added several checks to ensure that the values read from the headers are consistent

Reviewed-by: jrose
2009-02-18 14:14:03 -08:00
Lana Steuck
0b8159d689 Merge 2009-02-18 10:05:41 -08:00
Alan Bateman
030a13d8fe 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
4313887: New I/O: Improved filesystem interface
4607272: New I/O: Support asynchronous I/O

Reviewed-by: sherman, chegar
2009-02-15 12:25:54 +00:00
Artem Ananiev
b8af3d5019 6799345: JFC demos threw exception in the Java Console when applets are closed
Reviewed-by: alexp, peterz
2009-02-12 14:19:06 +03:00
Artem Ananiev
e67e7cb5a7 6633275: Need to support shaped/translucent windows
Forward-port from 6u14, no public API is introduced

Reviewed-by: anthony, dcherepanov
2009-02-11 17:07:06 +03:00
Lana Steuck
f9c7b83d22 Merge 2009-02-10 12:26:12 -08:00
Andrew Brygin
d83e26cba4 6800846: REGRESSION: Printing quality degraded with Java 6 compared to 5.0
Reviewed-by: igor, prr
2009-02-06 20:49:53 +03:00
Tim Bell
04d96f9698 Merge 2009-02-05 09:28:04 -08:00
Tim Bell
354177b550 Merge 2009-02-05 09:24:45 -08:00
Sergey Malenkov
8f96eb9cea 6669869: Beans.isDesignTime() and other queries should be per-AppContext
Reviewed-by: peterz, rupashka
2009-02-05 17:00:57 +03:00
Peter Zhelezniakov
06d5f1e07f 6588003: LayoutQueue shares mutable implementation across AppContexts
DefaultQueue property is made per-AppContext

Reviewed-by: alexp
2009-02-04 18:48:24 +03:00
Xue-Lei Andrew Fan
df345d27f4 6782783: regtest HttpsURLConnection/B6216082.java throws ClosedByInterruptException
Make the test robust

Reviewed-by: weijun
2009-02-04 19:10:09 +08:00
Andrew Brygin
b56f073148 6799583: LogManager shutdown hook may cause a memory leak
Reviewed-by: igor, swamyv
2009-02-04 14:06:18 +03:00
Anthony Petrov
13c271c69b 6797195: Forward-port enhancements for hw/lw mixing from 6u12 to 7
Reviewed-by: art, dcherepanov
2009-02-04 11:58:13 +03:00
Lana Steuck
c88ad511d0 Merge 2009-02-03 22:02:55 -08:00
Weijun Wang
e7c217c72d 6552334: Enable DNS in Kerberos by default
Reviewed-by: valeriep
2009-02-03 09:38:13 +08:00
Jean-Christophe Collet
57a4df4e50 6791927: Wrong Locale in HttpCookie::expiryDate2DeltaSeconds
Force Locale.US when parsing the cookie expiration date.

Reviewed-by: chegar
2009-02-02 16:50:54 +01:00
Michael McMahon
71dfa4d2db 4167874: URL-downloaded jar files can consume all available file descriptors
Added close method to URLClassLoader

Reviewed-by: alanb
2009-01-30 22:05:30 +00:00
Lana Steuck
0d1c16da0e Merge 2009-01-29 18:33:52 -08:00
Joe Darcy
0476ba59fb 6327048: Enum javadoc could link to JLS
6653154: Exception message for bad Enum.valueOf has spurious "class"

Reviewed-by: emcmanus
2009-01-29 13:04:44 -08:00
Lana Steuck
6701ca1be7 Merge 2009-01-29 09:25:47 -08:00
Pavel Porvatov
798600a691 6794836: BasicSliderUI throws NullPointerExc when JSlider maximum is Integer.MAX_VALUE
Reviewed-by: peterz
2009-01-29 19:06:29 +03:00
Sergey Malenkov
d36d789593 6788531: java.beans.Statement imposes excessive access control
Reviewed-by: peterz, rupashka
2009-01-29 15:34:50 +03:00
Omair Majid
9ea7492522 6721088: Bad window size calculation after using pack()
Reviewed-by: anthony
2009-01-29 14:58:12 +03:00
Joe Darcy
79ec4bf8d3 6704655: Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
Reviewed-by: ksrini
2009-01-28 10:30:33 -08:00
Red Hat
55076b2558 6793344: BasicStroke's first element dash pattern is not a dash
Reviewed-by: igor, flar
2009-01-28 09:38:55 -08:00
Jean-Christophe Collet
285d905e09 6790677: java.net.HttpCookie.parse(String) should ignore unrecognized attributes, RFC2965
Changed code not to throw an exception on unknown attributes

Reviewed-by: chegar
2009-01-27 11:36:28 +01:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00
Sergey Malenkov
606b473fb5 4222508: JColorChooser ignores setEnabled() function call
Reviewed-by: peterz, rupashka
2009-01-23 18:31:08 +03:00
Andrew Brygin
8c2a336349 6795544: GIFImageWriter does not write the subImage of BufferedImage to a file correctly
Reviewed-by: igor, prr
2009-01-23 17:43:29 +03:00
Xueming Shen
a9c275ed18 6476425: (fmt)java.util.Formatter.print() throws IllegalArgumentException on large BigDecima
Correct the wrong calculation of "precision" in certain circumstances.

Reviewed-by: darcy, alanb
2009-01-22 20:29:54 -08:00
Naoto Sato
c0b51b7972 6627549: ISO 3166 code addition: Saint Barthelemy and Saint Martin
6786276: Locale.getISOCountries() still contains country code "CS"

Reviewed-by: okutsu
2009-01-21 13:58:46 -08:00
Alex Menkov
e3d66c6414 6702956: OpenJDK: replace encumbered code (software synthesizer)
6717691: Update Gervill with post 1.0 fixes
6740210: Update Gervill with more post 1.0 fixes
6748247: Further update Gervill with still more post 1.0 fixes
6748251: Apply IcedTea midi sound patch
6758986: Gervill: Turn SoftJitterCorrector, SoftAudioPusher threads into a daemon threads

Reviewed-by: ohair, darcy
2009-01-19 20:11:58 +03:00
Andrew Brygin
47a5b98c7f 6788096: ImageIO SreamCloser causes memory leak in FX applets
Reviewed-by: igor, prr
2009-01-15 13:55:30 +03:00
Martin von Gagern
57a1271b06 6782079: PNG: reading metadata may cause OOM on truncated images
Reviewed-by: igor, prr
2009-01-13 18:38:44 +03:00
Martin von Gagern
bf4d190698 5082756: Image I/O plug-ins set metadata boolean attributes to "true" or "false"
Reviewed-by: igor, prr
2009-01-13 16:55:12 +03:00
Tim Bell
9298831bab Merge 2009-01-09 22:01:38 -08:00
Jeremy Manson
e8974fee90 6791458: FileInputStream/RandomAccessFile.read leaks memory if invoked on closed stream with len > 8k
Reviewed-by: alanb
2009-01-08 14:07:45 -08:00
Gary Benson
95f5222445 6788196: (porting) Bounds checks in io_util.c rely on undefined behaviour
Reviewed-by: alanb
2009-01-07 11:50:32 -08:00
Tomas Hurka
b1c4a6ff3f 6790467: Add test for setInterval() for local MonitoredHost and local MonitoredVm
Test for MonitoredHost.setInterval() and MonitoredVm.setInterval() added

Reviewed-by: swamyv
2009-01-07 14:06:04 +01:00
Lana Steuck
e39c4cbfe7 Merge 2009-01-06 16:24:03 -08:00
Phil Race
a0930ff4d4 6785424: SecurityException locating physical fonts on Windows Terminal Server
Reviewed-by: campbell, jgodinez
2009-01-06 13:52:03 -08:00
Phil Race
c357cbe4e0 6632886: Font.createFont can be persuaded to leak temporary files
6522586: Enforce limits on Font creation
6652929: Font.createFont(int,File) trusts File.getPath

Reviewed-by: igor
2009-01-05 11:28:43 -08:00
Sergey Malenkov
aa3da7789a 6736248: EnumEditor bug. Class check incorrect
Reviewed-by: rupashka, alexp
2008-12-25 20:43:44 +03:00
Phil Race
14b56dc3a0 6652463: MediaSize constructors allow to redefine the mapping of standard MediaSizeName values
Reviewed-by: igor, jgodinez
2008-12-24 15:48:59 -08:00
Phil Race
6f0de04c87 6752638: java.awt.GraphicsEnvironment.preferLocaleFonts() throws NPE on Linux
6755034: Legal notice repair: jdk/src/solaris/classes/sun/font/FcFontConfiguration.java

Reviewed-by: bae, igor
2008-12-24 09:57:48 -08:00
Sergey Malenkov
9330abadea 4864117: RFE: Make XMLDecoder API more reusable
Reviewed-by: peterz, loneid
2008-12-22 17:42:49 +03:00
Tim Bell
928a098209 Merge 2008-12-19 10:37:50 -08:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Martin von Gagern
6f7b6c816a 5106550: PNG writer merge standard metadata fails for TextEntry sans #IMPLIED attributes
Reviewed-by: igor, prr
2008-12-12 17:38:14 +03:00
Eamonn McManus
871bbff9ce 6456269: Add a GenericMBeanException so clients don't have to have server's exception classes present
Reviewed-by: jfdenise, dfuchs
2008-12-10 11:59:32 +01:00
Shanliang Jiang
0a521a9457 Merge 2008-12-09 20:51:59 +01:00
Shanliang Jiang
16870a7767 6336980: NotificationBroadcasterSupport: to tell whether there are listeners and to do clear
Reviewed-by: emcmanus
2008-12-09 20:50:45 +01:00
Daniel Fuchs
2064095b24 6768935: Clarify the behaviour of ObjectName pattern matching with regards to namespaces
Reviewed-by: emcmanus
2008-12-09 20:20:48 +01:00
Shanliang Jiang
6a4903d458 6332907: Add ability for connector server to close individual connections
Reviewed-by: emcmanus
2008-12-09 19:44:22 +01:00
Shanliang Jiang
e7d171eac3 Merge 2008-12-09 18:45:09 +01:00