Commit Graph

648 Commits

Author SHA1 Message Date
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
Shanliang Jiang
d2c931b222 6760712: Provide a connector server option that causes it not to prevent the VM from exiting
Reviewed-by: emcmanus
2008-12-09 18:42:13 +01:00
Jean-Francois Denise
85e1e1e290 6287328: Add methods to StandardMBean to retrieve a method based on MBean{Attribute|Operation}Info
Reviewed-by: emcmanus
2008-12-09 16:26:30 +01:00
Jean-Francois Denise
ef7000f82e 6450834: RFE: allow StandardMBean to call MBeanRegistration methods on its wrapped resource
6373143: MonitorNotification should have a public constructor

Reviewed-by: emcmanus
2008-12-09 16:14:53 +01:00
Jean-Francois Denise
b14fec6973 6675526: Define an Annotation to name registered MBeans
Reviewed-by: emcmanus
2008-12-09 15:57:09 +01:00
Jean-Francois Denise
04950cd846 6250014: MBeanOperationInfo Descriptor field for exceptions
Reviewed-by: emcmanus
2008-12-09 15:36:14 +01:00
Jean-Francois Denise
049436370f 6501362: DescriptorSupport(String) could recognize "name=value" as well as XML format
Reviewed-by: emcmanus
2008-12-09 14:44:42 +01:00
Eamonn McManus
5588717cc4 6774918: @NotificationInfo is ineffective on MBeans that cannot send notifications
Reviewed-by: jfdenise
2008-12-09 12:01:07 +01:00
Lana Steuck
791e25aabf Merge 2008-12-08 19:49:34 -08:00
Xueming Shen
b596dd66fa 6725399: (ch) Channels.newInputStream should check for null
Update to check null arg for all Channels methods

Reviewed-by: alanb
2008-11-29 20:55:29 -08:00
Eamonn McManus
70624128b4 6776225: JMX.isNotificationSource wrong when DynamicWrapperMBean + SendNotification injection
Reviewed-by: dfuchs, jfdenise
2008-11-27 15:44:32 +01:00
Jennifer Godinez
21883705f7 6653384: Variable "initialized" in class CUPSPrinter is static by mistake
Reviewed-by: tdv, prr
2008-11-25 14:38:36 -08:00
Alan Bateman
efd62d5c81 6593946: (bf) X-Buffer.compact() does not discard mark as specified
InvalidMarkException now correctly thrown. Thanks to keiths@redhat.com for the bug report and initial fix.

Reviewed-by: sherman, darcy
2008-11-25 19:26:54 +00:00
Xueming Shen
b9638d0527 6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh
Update the scripts to use java version of spp

Reviewed-by: alanb
2008-11-25 10:09:26 -08:00
Sean Mullan
93225a0b60 6728890: Add SwissSign root certificates to the JDK
6732157: Add VeriSign TSA Root Cert to the JDK
6754779: Add Camerfirma root certificates to the JDK
6768559: Add t-systems root CA certificate (Deutsche Telekom Root CA 2) to the JRE

Reviewed-by: vinnie
2008-11-25 10:17:00 -05:00
Pavel Porvatov
466eda6ee4 6698013: JFileChooser can no longer navigate non-local file systems
ShellFolder is used only if possible

Reviewed-by: peterz
2008-11-25 16:42:10 +03:00
Daniel Fuchs
9f61f3723c 6774170: LocalRMIServerSocketFactory should protect against ServerSocket.accept().getInetAddress() being null
Reviewed-by: emcmanus, jfdenise
2008-11-21 18:18:00 +01:00
Eamonn McManus
4d6c508c34 6772779: @NotificationInfo does not create MBeanNotificationInfo in the MBean's MBeanInfo
6773593: CompositeDataSupport constructor javadoc is not in sync with the implementation

Reviewed-by: sjiang
2008-11-20 10:10:48 +01:00
Dmitri Trembovetski
e7b4bb5f00 6758179: D3D: AlphaComposite is applied incorrectly for uncached opaque BufferedImage
Reviewed-by: campbell, flar
2008-11-18 17:16:27 -08:00
Yuka Kamiya
59b2212c9d 6772646: Regression test java/text/Date/DateFormat/Bug4823811.java started failing after DST ended
Reviewed-by: okutsu
2008-11-18 15:59:36 +09:00
Yuka Kamiya
36134f31f5 6769873: Regression test java/text/Date/DateFormat/Bug6683975.java started failing after DST ended
Reviewed-by: okutsu
2008-11-18 13:58:43 +09:00
Daniel Fuchs
907d90158a 6683213: CounterMonitor's derived Gauge badly initialized
Reviewed-by: emcmanus
2008-11-14 17:22:10 +01:00
Xue-Lei Andrew Fan
8db7ed98ea 6728126: Parsing Extensions in Client Hello message is done in a wrong way
The inputStream.read(byte[], int, 0) is not always return zero.

Reviewed-by: wetmore, weijun
2008-11-13 23:08:11 -08:00
Chris Hegarty
bb833cb3e5 Merge 2008-11-13 09:40:51 +00:00
Chris Hegarty
e9076296a9 6755625: Add HttpURLConnection.setFixedLengthStreamingMode(long)
Reviewed-by: jccollet
2008-11-12 16:38:17 +00:00
Weijun Wang
5c6f569aa5 6765491: Krb5LoginModule a little too restrictive, and the doc is not clear
Reviewed-by: valeriep
2008-11-12 16:01:06 +08:00
Weijun Wang
9f36c3b7c7 6733095: Failure when SPNEGO request non-Mutual
Reviewed-by: valeriep
2008-11-12 16:00:22 +08:00
Alan Bateman
1e36589fc9 Merge 2008-11-11 09:07:58 +00:00
Alan Bateman
e9a892dd41 6763122: ZipFile ctor does not throw exception when file is not a zip file
Reviewed-by: bristor
2008-11-11 08:59:43 +00:00
Eamonn McManus
bbac59f218 6336968: Methods to convert AttributeList to/from Map
6750008: Add JMX.getSpecificationVersion(MBeanServerConnection) and document interop
6750472: Add a way to convert a CompositeData into a Map
6752563: Allow CompositeDataSupport to have zero items

Small JMX RFEs

Reviewed-by: dfuchs
2008-11-07 19:19:08 +01:00
Eamonn McManus
ab227cb671 5072267: A way to communicate client context such as locale to the JMX server
Support for client contexts and also for localization of descriptions

Reviewed-by: dfuchs
2008-11-07 11:48:07 +01:00
Sean Mullan
cb4eb96188 6765046: CertPathValidatorException(Throwable).getMessage() always returns null since b37
Reviewed-by: vinnie
2008-11-06 12:12:39 -05:00
Andrew Brygin
f0bc3cdc91 6541476: PNG imageio plugin incorrectly handles iTXt chunk
Reviewed-by: igor, prr
2008-11-01 20:42:18 +03:00
Eamonn McManus
5118c7cd7f 6766173: Spec should say that createMBean wraps a constructor RuntimeException in a RuntimeMBeanException
JMX spec clarification

Reviewed-by: dfuchs
2008-10-31 17:34:52 +01:00
Eamonn McManus
44dcc74e78 6252609: Two different default descriptor forms defined for ModelMBeanInfoSupport
6253137: Documentation for NotificationListener's handback parameter is confusing
6368691: javadoc for JMX Descriptors has bugs and is very hard to navigate
6602699: support for async notification of mbeaninfo update
6759612: [javadoc] EventClient.NOTIFS_LOST has a garbled href to addEventClientListener
6759619: Clarify what EventClient.getEventClientNotificationInfo does
6759622: Clarify what EventClient.getListeners list does

Documentation fixes, plus simple bugfix for 6759619.

Reviewed-by: dfuchs
2008-10-30 17:46:50 +01:00
Igor Nekrestyanov
df32a451da 6761856: OpenJDK: vertical text metrics may be significanly different from those returned by Sun JDK
Reviewed-by: bae, prr
2008-10-29 01:52:22 +03:00
Dmitri Trembovetski
285a7ec5e3 6764257: D3D/OGL: color is not reset properly after save/restoreState() [RSL]
Reviewed-by: campbell
2008-10-28 14:47:14 -07:00
Eamonn McManus
540b83b6b1 6763051: MXBean: Incorrect type names for parametrized dealing with arrays (openType)
6713777: developer diagnosability of errors in uncompliant mxbean interfaces

Reviewed-by: dfuchs
2008-10-28 18:21:36 +01:00
Chris Hegarty
333adf3ae1 6756771: com.sun.net.httpserver.HttpServer should handle POSTs larger than 2Gig
Update implementation to use long instead of int

Reviewed-by: michaelm
2008-10-28 16:14:51 +00:00
Artem Ananiev
dacdf4a500 6758673: WeakReference leak in Window.ownedWindowList
WindowDisposerRecord parent field is correctly initialized

Reviewed-by: dav, ant
2008-10-28 17:06:12 +03:00
Joshua Bloch
adcd85f803 6761678: (ann) SecurityException in AnnotationInvocationHandler.getMemberMethods
Move call to getDeclaredMethods inside doPrivileged

Reviewed-by: darcy, mullan
2008-10-24 20:34:40 -07:00
Lana Steuck
92c83c7681 Merge 2008-10-20 19:07:12 -07:00
Lana Steuck
579cc2111a Merge 2008-10-20 11:52:47 -07:00
Bradford Wetmore
09220bdd58 Merge 2008-10-20 01:39:38 -07:00
Weijun Wang
d9d3a81168 6761072: new krb5 tests fail on multiple platforms
Reviewed-by: xuelei
2008-10-20 10:32:33 +08:00
Tim Bell
a9d034a33c Merge 2008-10-17 16:45:36 -07:00
Lana Steuck
eb292c9219 Merge 2008-10-17 15:01:10 -07:00
Kumar Srinivasan
92992b2e76 6755943: Java JAR Pack200 Decompression should enforce stricter header checks
Fixes a core dump when fed with a faulty pack file and related malicious take over

Reviewed-by: jrose
2008-10-17 09:43:30 -07:00
Tim Bell
ecacc1fb5f Merge 2008-10-17 08:41:15 -07:00
Bradford Wetmore
b1e7b0352e Merge 2008-10-17 00:51:59 -07:00
Weijun Wang
f134b5139a 6706974: Add krb5 test infrastructure
Reviewed-by: valeriep
2008-10-17 13:02:00 +08:00
Yuka Kamiya
3b082d1d69 6759521: Move Bidi test programs from closed to open
Reviewed-by: okutsu
2008-10-17 13:34:03 +09:00
Phil Race
ed94b2e90b 6751616: outline for underline in TextLayout with underline is off rasterized underline
Reviewed-by: dougfelt, igor
2008-10-16 06:28:37 -07:00
Kumar Srinivasan
a7c6406a8f 6758881: (launcher) needs to throw NoClassDefFoundError instead of JavaRuntimeException
The launcher will throw the Error vs. Exception, also fixed some minor issues with the tests.

Reviewed-by: darcy
2008-10-14 13:02:30 -07:00
Lana Steuck
fb52866502 Merge 2008-10-13 17:13:29 -07:00
Jennifer Godinez
2549cb015c 6732647: isAttributeValueSupported() is not consistant with getSupportedValues() for Copies, TEXT flavor
Reviewed-by: tdv, prr
2008-10-13 15:41:31 -07:00
Xueming Shen
7add953cfe 5025260: Register methods should throw ClosedChannelException instead of NPE
Update the spec and implementation to throw ClosedSelectorException

Reviewed-by: alanb
2008-10-13 14:45:27 -07:00
Dmitri Trembovetski
118a4cdb15 6749060: LCD AA text rendered incorrectly when destination is non opaque (sw pipeline only)
Reviewed-by: campbell, prr
2008-10-09 17:12:50 -07:00
Eamonn McManus
8fe5a021a3 6757225: MXBean: Incorrect type names for parametrized types, dealing with arrays
Reviewed-by: sjiang
2008-10-08 18:38:25 +02:00
Andrei Dmitriev
2437566bc1 Merge 2008-10-08 13:01:40 +04:00
Andrei Dmitriev
b760e25337 5076635: Double click speed is not honored in KDE linux
Reviewed-by: art, dcherepanov
2008-10-08 12:50:17 +04:00
Naoto Sato
c7f7759bdd 6706382: jdk/test/java/util/Locale/data/deflocale.sol10 has incorrect legal notice
Reviewed-by: okutsu
2008-10-06 17:16:06 -07:00
Bradford Wetmore
c63de8e0a8 Merge 2008-10-06 09:17:35 -07:00
Tim Bell
f7bfb9b472 Merge 2008-10-04 22:57:59 -07:00
Tim Bell
1e22a7ec76 Merge 2008-10-04 22:48:54 -07:00
Yuka Kamiya
c507643efe 6683975: [fmt-da] Regression: Java 6 returns English DateFormatPatterns for Thai locale
Reviewed-by: okutsu
2008-10-03 15:54:41 +09:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Andrew Brygin
3a902871ef 6726779: ConvolveOp on USHORT raster can cause the JVM crash
Reviewed-by: igor, prr
2008-10-02 20:37:43 +04:00
Yuka Kamiya
ef34d89841 6645263: (cal) Calendar throw java.lang.IllegalArgumentException: WEEK_OF_MONTH
Reviewed-by: okutsu
2008-10-02 15:54:59 +09:00
Kumar Srinivasan
c8bd8e9a0f 4459600: java -jar fails to run Main-Class if classname followed by whitespace
Fixed whitespace trimming in the manifest as well as post review comments on CR: 6742159

Reviewed-by: darcy, dholmes
2008-10-01 09:04:42 -07:00
Mandy Chung
b6ae33fc2e Merge 2008-10-03 09:36:05 -07:00
Jim Holmlund
5cdf6e6e08 6751643: ThreadReference.ownedMonitors() can return null
Make a local copy of the cache so it doesn't get modified by a racy resume

Reviewed-by: dcubed, swamyv
2008-10-02 18:23:23 -07:00
Mandy Chung
2be5ac062d 6581243: Service Tag and Product Registration Support in JDK 7
Include service tag creation and product registration support in JDK

Reviewed-by: ksrini
2008-10-02 16:50:41 -07:00
Tim Bell
f48920fb62 Merge 2008-09-29 22:10:00 -07:00
Chris Hegarty
4f54397ad8 6752807: java.net test ADatagramSocket.sh is broken
Update bootclasspath set by test to simply prepend TESTCLASSES

Reviewed-by: michaelm
2008-09-26 11:24:04 +01:00
Kumar Srinivasan
d799afdc04 6742159: (launcher) improve the java launching mechanism
Improves launching, also addresses 6694671 and 6749732

Reviewed-by: darcy, dholmes
2008-09-24 15:07:41 -07:00
Phil Race
ffbeca8c2e 6751621: TextLayout.getBounds() doesn't account for strike through
Reviewed-by: igor, dougfelt
2008-09-24 11:58:21 -07:00
Chris Hegarty
0b215ddf60 6621697: Problem with file test/sun/net/www/http/ChunkedInputStream/test.txt
Reviewed-by: michaelm
2008-09-24 17:10:17 +01:00
Lana Steuck
297ae75019 Merge 2008-09-24 08:14:37 -07:00
Eamonn McManus
6caae4568d 6750935: The expected NotCompliantMBeanException is not thrown for the custom MXBeanMappingFactory
6751872: MXBeanMappingFactory example says "implements" when it should be "extends"

Reviewed-by: dfuchs
2008-09-24 15:19:07 +02:00
Tim Bell
4138ab60c8 Merge 2008-09-22 22:37:31 -07:00
Jim Holmlund
717114d206 6263966: TEST: com/sun/jdi/ClassesByName2Test.java has a race
Have the debuggee stop at a bkpt instead of running to completion.

Reviewed-by: tbell
2008-09-22 19:20:08 -07:00
Sean Mullan
c8a68bace6 6469266: Integrate Apache XMLSec 1.4.2 into JDK 7
Reviewed-by: valeriep
2008-09-22 10:43:17 -04:00
Shanliang Jiang
2e7b00b7d5 6697180: JMX query results in java.io.IOException: Illegal state - also a deadlock can also be seen
Reviewed-by: emcmanus
2008-09-22 15:43:12 +02:00
Lana Steuck
6f9021ff80 Merge 2008-09-19 19:38:12 -07:00
Michael McMahon
f6337de7b6 Merge 2008-09-19 14:03:04 +01:00
Michael McMahon
1807fe2b97 6750364: Error in test for 6744329
Reviewed-by: chegar
2008-09-19 13:32:36 +01:00
Andrei Dmitriev
2c0b584b2d 6315717: Support for mouse with multiple scroll wheels and 4 or more buttons
Implementation of the more mouse buttons support

Reviewed-by: art, dcherepanov
2008-09-16 12:17:02 +04:00
Bradford Wetmore
44aa1a1519 Merge 2008-09-15 00:41:02 -07:00
Daniel Fuchs
c3552d0201 6747983: jmx namespace: unspecified self-link detection logic
Reviewed-by: emcmanus
2008-09-12 19:06:38 +02:00
Eamonn McManus
a1e4e3ec94 6747411: EventClient causes thread leaks
Reworked thread management in EventClient and related classes.

Reviewed-by: sjiang, dfuchs
2008-09-12 15:17:52 +02:00
Sean Mullan
875eea0ac0 Merge 2008-09-11 18:13:51 -04:00
Dave Bristor
3020470ba9 6440786: Cannot create a ZIP file containing zero entries
Allow reading and writing of ZIP files with zero entries.

Reviewed-by: alanb
2008-09-11 14:58:57 -07:00
Sean Mullan
545b7e4f62 6465942: Add problem identification facility to the CertPathValidator framework
Add support to the java.security.cert APIs for determining the reason that a certification path is invalid.

Reviewed-by: vinnie
2008-09-11 14:05:16 -04:00
Michael McMahon
597abb5082 6744329: Exception in light weight http server code
Reviewed-by: chegar
2008-09-11 17:46:53 +01:00
Artem Ananiev
6b814bb3fc 6727884: Some Uncaught Exceptions are no longer getting sent to the Uncaught Exception Handlers
Reviewed-by: anthony, dav
2008-09-11 10:38:00 +04:00
Pavel Porvatov
46533a9546 6587742: filling half of a JSlider's track is no longer optional
Now OceanTheme uses the JSlider.isFilled property like other themes

Reviewed-by: alexp
2008-09-10 19:16:14 +04:00
Daniel Fuchs
b2e851f920 6746754: jmx namespace: test for leading separator missing
6669137: RFE: InstanceNotFoundException should have a constructor that takes an ObjectName
6746796: jmx namespaces: Several tests are missing an @bug or @run keyword

Note on 6669137: first implementation of 6669137 was actually pushed with 5072476 - here we only have a small update and a test case. Also re-fixes 6737133: Compilation failure of test/javax/management/eventService/LeaseManagerDeadlockTest.java which had failed.

Reviewed-by: emcmanus, yjoan
2008-09-10 16:27:13 +02:00
Eamonn McManus
a4ef2ba11d 6734813: Provide a way to construct an ObjectName without checked exceptions
6746649: ObjectName constructors and methods declare unchecked exceptions in throws clauses

Reviewed-by: dfuchs
2008-09-10 13:36:47 +02:00
Daniel Fuchs
4e22cb6970 6745832: jmx namespaces: Some refactoring/commenting would improve code readability
Reviewed-by: emcmanus
2008-09-09 17:01:45 +02:00
Shanliang Jiang
ebdad848b8 6736611: [Evt Srv] EventSubscriber.unsubscribe removes other listeners
Reviewed-by: emcmanus
2008-09-09 14:17:29 +02:00
Dave Bristor
367e60a438 6356642: extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception
Fix causes printing of user-level error messages instead of throwing exceptions

Reviewed-by: sherman
2008-09-08 14:11:13 -07:00
Yuka Kamiya
c8b6411661 6466476: (tz) Introduction of tzdata2005r can introduce incompatility issues with some JDK1.1 3-letter TZ Ids
Reviewed-by: okutsu
2008-09-08 15:21:55 +09:00
Yuka Kamiya
6ee252719c 4823811: [Fmt-Da] SimpleDateFormat patterns don't allow embedding of some literal punctuation
Reviewed-by: okutsu
2008-09-08 14:31:08 +09:00
Yuka Kamiya
3927ae9832 6645292: [Fmt-Da] Timezone Western Summer Time (Australia) is parsed incorrectly
Reviewed-by: okutsu
2008-09-08 13:31:45 +09:00
Yuka Kamiya
14ea0be212 6665028: native code of method j*.text.Bidi.nativeBidiChars is using the contents of a primitive array direct
Reviewed-by: okutsu
2008-09-08 10:44:57 +09:00
Bradford Wetmore
441ef80eda Merge 2008-09-05 00:43:26 -07:00
Kumar Srinivasan
3a7a9cc557 6733959: Insufficient checks for "Main-Class" manifest entry in JAR files
Fixes a buffer overrun problem with a very long Main-Class attribute.

Reviewed-by: darcy
2008-09-04 09:43:32 -07:00
Jean-Christophe Collet
9b311f9a7b 6692802: HttpCookie needs to support HttpOnly attribute
Added HttpOnly tag support to HttpCookie class.

Reviewed-by: chegar, michaelm
2008-09-04 15:26:53 +02:00
Andrei Dmitriev
e1f54b3780 Merge 2008-09-04 17:24:23 +04:00
Andrei Dmitriev
db6b4110da 6738181: api/java_awt/Toolkit/index.html#GetAWTEventListeners Fails with:empty array returned unexpectedly
Redirect getAWTEventListeners(long l) from Headless to underlying toolkit.

Reviewed-by: art
2008-09-04 17:20:25 +04:00
Daniel Fuchs
6b53043eea 5072476: RFE: support cascaded (federated) MBean Servers
6299231: Add support for named MBean Servers

New javax.management.namespace package.

Reviewed-by: emcmanus
2008-09-04 14:46:36 +02:00
Pavel Porvatov
4a2921184f 6278700: JSlider created with BoundedRangeModel fires twice when changed
Removed second registration of listener

Reviewed-by: peterz
2008-09-04 15:15:24 +04:00
Sergey Malenkov
d46ed5c358 6397609: DOC: De-register API required for PropertyEditorManager and/or doc change
Reviewed-by: peterz, rupashka
2008-09-03 21:00:04 +04:00
Eamonn McManus
ab464bccd1 6744132: Spurious failures from test/javax/management/MBeanInfo/NotificationInfoTest.java
Reviewed-by: dfuchs
2008-09-03 14:31:17 +02:00
Eamonn McManus
fdfb7acee2 6405862: Allow CompositeType to have zero items
6737133: Compilation failure of test/javax/management/eventService/LeaseManagerDeadlockTest.java
6737140: Javadoc of some throw clauses of MBeanServer and MBeanServerConnection is garbled
6737143: createMBean of MBeanServer should acquire 2 extra throw clauses present in MBeanServerConnection

Reviewed-by: dfuchs
2008-09-02 14:14:05 +02:00
Eamonn McManus
50a610e81c 6731410: JMXServiceURL cannot use @ConstructorProperties for compatibility reasons
Reviewed-by: dfuchs
2008-09-01 17:11:58 +02:00
Peter Zhelezniakov
803014e138 5062055: JEditorPane HTML: HR-tag with attribute size=1px causes NumberFormatException
Wrapped parseInt() with try/catch

Reviewed-by: gsm
2008-09-01 15:21:46 +04:00
Alan Bateman
63d86bcfda 4640544: New I/O: Complete socket-channel functionality
Reviewed-by: iris, sherman, chegar
2008-08-31 18:39:01 +01:00
Chris Hegarty
1833c872a0 6576763: Thread constructors throw undocumented NPE for null name
Update javadoc to specify NPE as well as fix minor bug in implementation.

Reviewed-by: alanb
2008-08-29 17:46:45 +01:00
Pavel Porvatov
7861fdb862 6742358: MetalSliderUI paint wrong vertical disabled filled JSlider for DefaultMetalTheme
Corrected the method MetalSliderUI.paintTrack

Reviewed-by: malenkov
2008-08-29 18:58:17 +04:00
Pavel Porvatov
b4ad1bd707 6742490: JSlider tests are located in JFileChooser directory
Tests were moved to appropriate folder

Reviewed-by: peterz
2008-08-29 13:23:55 +04:00
Xueming Shen
3ae3654210 Merge 2008-08-27 10:28:26 -07:00
Xueming Shen
790bc3042d 4849617: (cs)Revise Charset spec to allow '+' in names
Update the spec and code to accept '+' as a charset name character

Reviewed-by: alanb
2008-08-27 10:12:22 -07:00
Eamonn McManus
e2c297b29f 5041784: (reflect) generic signature methods needlessly return generic arrays
Reviewed-by: darcy
2008-08-27 11:03:59 +02:00
Alan Bateman
d41b0a77b2 6682020: (bf) Support monitoring of direct and mapped buffer usage
Reviewed-by: mchung, iris
2008-08-26 10:21:22 +01:00
Lana Steuck
f0ef7211c5 Merge 2008-08-25 13:58:15 -07:00
Dmitry Cherepanov
a16656700d 6737722: api/java_awt/TrayIcon/index.html#TrayIconHeadlessMode
IsSupported() should skip tray initialization in case of headless

Reviewed-by: art, ant
2008-08-25 19:15:37 +04:00
Bradford Wetmore
f1c6258165 Merge 2008-08-25 08:11:08 -07:00
Jean-Christophe Collet
29241c7694 6717876: Make java.net.NetworkInterface.getIndex() public
Make getIndex() and getByIndex() public. Required a name change in native code

Reviewed-by: alanb, chegar, michaelm
2008-08-25 14:38:20 +02:00
Xueming Shen
630d73eb0a 4486841: UTF-8 decoder should adhere to corrigendum to Unicode 3.0.1
6636317: Optimize UTF-8 coder for ASCII input

Re-write the UTF-8 charset to obey the standard and improve the performance

Reviewed-by: alanb
2008-08-22 14:37:46 -07:00
Joshua Bloch
2cb9d9610e 6739302: Check that deserialization preserves EnumSet integrity
Reviewed-by: dl, chegar
2008-08-20 13:45:12 -07:00
Bradford Wetmore
7ecbd27b2f Merge 2008-08-20 00:41:24 -07:00
Jennifer Godinez
ea4f164aae 6731826: race condition in UnixPrintServiceLookup
Reviewed-by: campbell, tdv
2008-08-19 16:04:06 -07:00
Swamy Venkataramanappa
64b449dd2a 6736461: ThreadMXBean Locks.java fails intermittently
Fixed the test to wait for the right state before calling check thread information.

Reviewed-by: jjh
2008-08-19 12:46:34 -07:00
Swamy Venkataramanappa
f1f86e9fa2 6705893: javax.script tests should not require a js engine on OpenJDK
Fixed the tests to pass with open JDK.

Reviewed-by: darcy
2008-08-18 15:28:54 -07:00
Jim Holmlund
1c42f2e0d3 6737900: TEST: Some JDI regression tests timeout on slow machines
Don't execute useless code, and split test into multiple @runs.

Reviewed-by: tbell
2008-08-15 18:06:42 -07:00
Lana Steuck
189c383d48 Merge 2008-08-12 17:59:58 -07:00
Pavel Porvatov
3b50ea9003 6604281: NimbusL&F :Regression in Focus traversal in JFileChooser in pit build
Fixed calculation of preferred size in SynthButtonUI

Reviewed-by: loneid, peterz
2008-08-11 16:39:17 +04:00
Tim Bell
4a362b1ee2 Merge 2008-08-10 18:35:53 -07:00
Eamonn McManus
e2890ec21a 6610174: Improve CompositeDataSupport.toString when it includes arrays
Reviewed-by: dfuchs
2008-08-08 18:36:19 +02:00
Eamonn McManus
2d8b7bbf47 6334663: TabularDataSupport should be able to return values in the insertion order
Reviewed-by: dfuchs
2008-08-08 15:08:57 +02:00
Yuri Nesterenko
540f1f640a Merge 2008-08-08 03:32:34 -07:00
Lana Steuck
6b68aa3dcb Merge 2008-08-07 22:24:26 -07:00
Tim Bell
6f9ae46ab8 Merge 2008-08-07 18:02:28 -07:00
Jennifer Godinez
3630a38b8f 6731937: javax/print/CheckDupFlavor.java fails
Reviewed-by: campbell, tdv
2008-08-07 11:19:06 -07:00
Tim Bell
37f438af87 Merge 2008-08-07 09:42:31 -07:00
Martin Buchholz
a1269f9d94 6730507: java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
Reviewed-by: chegar
2008-08-07 06:36:41 -07:00
Jiri Tusla
d914009a33 Merge 2008-08-07 04:52:05 -07:00
Swamy Venkataramanappa
072306e2f0 Merge 2008-08-06 10:49:31 -07:00
Swamy Venkataramanappa
5091305900 6732441: TEST_BUG: ThreadMXBeanProxy test fails intermittently
Fixed the race condition in the test.

Reviewed-by: jjh
2008-08-06 10:24:33 -07:00
Weijun Wang
6d08d079f0 6731685: CertificateFactory.generateCertificates throws IOException on PKCS7 cert chain
Reviewed-by: mullan
2008-08-06 08:11:49 +08:00
Dmitri Trembovetski
0c7e3a5aaf 6733718: test /java/awt/FullScreen/UninitializedDisplayModeChangeTest/ fails
Reviewed-by: igor
2008-08-05 09:37:03 -07:00
Eamonn McManus
e174ee8284 6733589: Intermittent failure of test/javax/management/eventService/SharingThreadTest.java
Reviewed-by: sjiang
2008-08-05 10:49:58 +02:00
Dmitri Trembovetski
c2fe3112f6 6728834: D3D/OGL: LCD AA text becomes bold and blurred when rendering to a non-opaque destination
Reviewed-by: campbell
2008-08-04 11:29:28 -07:00
Jim Holmlund
4c82d94e47 6730273: TEST: JDI_REGRESSION test Solaris32AndSolaris64Test.sh fails if -XX:+UseCompressedOops is used
Fix test to not pass -XX:[+-]UseCompressedOops to the debuggee.

Reviewed-by: tbell
2008-08-01 13:58:29 -07:00
Jiri Tusla
eca52f9d2c 6608572: Currency change for Malta and Cyprus
Change the respective currencies

Reviewed-by: naoto, jenda
2008-08-01 02:58:59 -07:00
Jiri Tusla
28ced6a8e3 6509039: Swedish localization has incorrect am/pm markers in FormatData_sv
Added respective section

Reviewed-by: peytoia, jenda
2008-08-01 01:46:31 -07:00
Doug Lea
1c84fa3582 6725789: ScheduledExecutorService does not work as expected in jdk7/6/5
Reviewed-by: martin, dholmes, chegar
2008-08-01 00:42:43 -07:00
Daniel Fuchs
3e4831d05d 6616825: JMX query returns no value in 1.0 compatibility mode - deserialization bug in readObject()
Reviewed-by: emcmanus
2008-07-31 17:38:55 +02:00
Shanliang Jiang
cf105cf085 5108776: Add reliable event handling to the JMX API
6218920: API bug - impossible to delete last MBeanServerForwarder on a connector

Reviewed-by: emcmanus
2008-07-31 15:31:13 +02:00
Daniel Fuchs
22260fb95d 6689505: Improve MBeanServerNotification.toString
Reviewed-by: emcmanus
2008-07-31 14:20:11 +02:00
Daniel Fuchs
192678a793 6730926: Document that create/registerMBean can throw RuntimeMBeanException from postRegister
Reviewed-by: emcmanus
2008-07-31 12:41:35 +02:00
Bradford Wetmore
e37f0f7e34 Merge 2008-07-29 10:18:25 -07:00
Jim Holmlund
ee07f33cc5 6730587: TEST: com/sun/jdi/MonitorFrameInfoTest.java fails with -server -Xcomp
Fix test to prevent C2 escape analysis from deleting the required synchronized blocks

Reviewed-by: swamyv
2008-07-28 12:37:52 -07:00
Igor Kushnirskiy
b4ae1216b3 6638195: need API for EventQueueDelegate
Reviewed-by: bchristi
2008-07-25 14:13:59 -04:00
Sergey Malenkov
873a9176c7 6630275: The spec on VetoableChangeSupport.fireVetoableChange should be updated
Reviewed-by: peterz, rupashka
2008-07-25 21:00:05 +04:00
Igor Kushnirskiy
f7be937495 6608456: need API to define RepaintManager per components hierarchy
Reviewed-by: alexp
2008-07-25 11:32:12 -04:00
Lana Steuck
025ca5d66a Merge 2008-07-24 21:12:50 -07:00
Sergey Malenkov
95dc5f8473 6707406: BasicColorChooserUI tests throw NPE while getColorSelectionModel if isPropertyChanged() returns true
Reviewed-by: peterz, rupashka
2008-07-24 17:30:59 +04:00
Mikhail Lapshin
c3732ffc5d 6725409: Unable to localize JInternalFrame system menu during run-time
Use of the static final constants replaced by direct calls of UIManager.getString().

Reviewed-by: alexp
2008-07-24 14:34:02 +04:00
Bradford Wetmore
54618c0601 Merge 2008-07-23 12:16:28 -07:00
Tim Bell
00e6ff0db3 Merge 2008-07-22 11:40:06 -07:00
Mikhail Lapshin
a44852b8fe 6607130: REGRESSION: JComboBox cell editor isn't hidden if the same value is selected with keyboard
JComboBox cell editor now hides if the same value is selected with keyboard

Reviewed-by: peterz, alexp
2008-07-21 19:58:43 +04:00
Dmitri Trembovetski
e4c9db984f 6725214: D3D: forward-port the new pipeline from 6u10
Forward port of the new Direct3D 9 rendering pipeline from 6u10. Also includes fixes for 6690659 6689025 6658398 6596234.

Reviewed-by: campbell, prr
2008-07-18 10:48:44 -07:00