Commit Graph

581 Commits

Author SHA1 Message Date
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
Sergey Malenkov
e91ae90285 6552812: Add HSL tab to JColorChooser
Reviewed-by: peterz, avu
2008-07-18 18:26:22 +04:00
Xueming Shen
5628d956d5 6405995: (ch) test/java/nio/channels/Selector/Wakeup.java broken
Moved the unit test case back to open repo, it works after bugfixes in jdk6

Reviewed-by: alanb
2008-07-17 14:26:51 -07:00
Xueming Shen
ac6523031e Merge 2008-07-16 15:37:23 -07:00
Xueming Shen
61dd937d11 6541641: (fc) java/nio/channels/FileChannel/ExpandingMap.java should clean up after itself
Close channel and explicitly de-ref the mapped buffers before exit.

Reviewed-by: alanb
2008-07-16 15:09:24 -07:00
Tim Bell
46aa35c92c Merge 2008-07-14 22:13:54 -07:00
Jim Holmlund
040fbc1535 6725192: Some JDI Regression tests fail if @debuggeeVMOptions contain multiple blanks
Fix to allow mutiple blanks between options

Reviewed-by: tbell
2008-07-11 17:06:54 -07:00
Jim Holmlund
6f5da73160 Merge 2008-07-09 16:57:39 -07:00
Jim Holmlund
4c95421013 6700889: Thread resume invalidates all stack frames, even from other threads
6701700: MonitorInfo objects aren't invalidated when the owning thread is resumed

Don't inform ThreadListeners for thread T1 when some other thread is resumed, and MonitoryIfoImpl must add itself as a ThreadListener

Reviewed-by: dcubed
2008-07-09 13:43:26 -07:00
Tim Bell
39285cadc4 Merge 2008-07-09 09:56:00 -07:00
Sergey Malenkov
3916f38bd4 4994637: LTP: java.beans.java_util_Map_PersistenceDelegate: ConcurrentModificationException
Reviewed-by: peterz, loneid
2008-07-09 19:29:07 +04:00
Eamonn McManus
4333dd3520 6323980: Annotations to simplify MBean development
Reviewed-by: jfdenise, dfuchs
2008-07-09 10:36:07 +02:00
Weijun Wang
9ac27197df 6480981: keytool should be able to import certificates from remote SSL servers
Reviewed-by: vinnie, wetmore
2008-07-09 12:03:16 +08:00
Sergey Malenkov
e2a366414c 4916852: RFE: LTP: BorderLayout Persistence Delegate should use 1.5 API
Reviewed-by: peterz, loneid
2008-07-08 16:40:38 +04:00
Bradford Wetmore
1f7f81d687 Merge 2008-07-07 13:06:58 -07:00
Anthony Petrov
2720870af6 6723018: Need to push the test for 6682046
Pushed the test

Reviewed-by: art
2008-07-07 17:39:18 +04:00
Mikhail Lapshin
1dce7af76f 6647340: Minimized JInternalFrame icons appear in incorrect positions if the main frame is resized
Now BasicInternalFrameUI and BasicDesktopIconUI both recalculate frame icon position

Reviewed-by: peterz
2008-07-07 16:56:23 +04:00
Tim Bell
d969562df7 Merge 2008-07-05 23:29:16 -07:00
Tim Bell
528aac8c17 Merge 2008-07-04 14:41:34 -07:00
Eamonn McManus
5967d518b5 6601652: MXBeans: no IllegalArgumentException in the ex. chain for SortedSet/Map with a non-null comparator()
Forward-port this bug fix from JDK 6

Reviewed-by: dfuchs, lmalvent
2008-07-04 18:55:37 +02:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Jim Holmlund
1a0c261469 2157677: ClassPrepareRequest.addSourceNameFilter() does not behave as documented
Add proper handling of JVMTI errors.

Reviewed-by: tbell
2008-07-01 09:23:00 -07:00
Jean-Christophe Collet
3fce795f6c 6656849: NullPointerException thrown while de-serializing IPV6 Address
Check for existence of interface name earlier in code

Reviewed-by: michaelm
2008-07-01 13:38:59 +02:00
Xueming Shen
cbe7dc576f Merge 2008-06-30 14:11:49 -07:00
Xueming Shen
dd2dfec9f5 6675856: Open charset tests
Moved non-confidiential test cased from closed repo to open repo

Reviewed-by: martin
2008-06-30 14:06:34 -07:00
Bradford Wetmore
9f99870d74 Merge 2008-06-29 00:25:59 -07:00
Xueming Shen
35038e62cd 6541631: (fc) java/nio/channels/Filechannel/LongTransferTest.java should clean up after itself
Should close the channel before delete the file

Reviewed-by: alanb
2008-06-27 12:09:37 -07:00
Sergey Malenkov
ef9b3891fc 6718965: Swing color chooser tests should be open source
Reviewed-by: peterz
2008-06-26 15:39:12 +04:00
Sergey Malenkov
9d7b3f41e0 6718964: Swing border tests should be open source
Reviewed-by: peterz
2008-06-26 15:11:04 +04:00
Bradford Wetmore
a70b685713 Merge 2008-06-26 00:26:15 -07:00
Tim Bell
1410975f4a Merge 2008-06-25 23:29:39 -07:00
Tim Bell
1baead8a01 Merge 2008-06-25 16:44:55 -07:00
Xueming Shen
827decba87 6481955: Uncanonicalized absolute filepath with length 248-260 no longer works (win)
Uncanonicalized absolute filepath with length 248-260 no longer works (win)

Reviewed-by: alanb
2008-06-25 13:58:22 -07:00
Jennifer Godinez
36d2406edc 6708509: print dialog is not displayed when default paper is custom
Reviewed-by: tdv, prr
2008-06-23 13:00:19 -07:00
Sean Mullan
f44f03f9ea 6714842: CertPathBuilder returns incorrect CertPath for BasicConstraints in builderParams
Do not consider CA target certificates if selector.getBasicConstraints() == -2

Reviewed-by: vinnie
2008-06-19 14:20:43 -04:00
Andrei Dmitriev
9e5e0e9d44 6694792: Syntax error in java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_2.java
Reviewed-by: yan
2008-06-19 16:09:22 +04:00
Lana Steuck
68717f2b81 Merge 2008-06-18 13:05:16 -07:00
Sergey Malenkov
3bdf306326 6708550: LTP: XMLEncoder does not encode instances of the File class
Reviewed-by: peterz, loneid
2008-06-18 19:15:23 +04:00
Andrei Dmitriev
3a5617e9f7 6616323: consider benefits of replacing a componen array with other collection from the awt.Container class
Reviewed-by: uta, art
2008-06-18 15:35:37 +04:00
Steven Loomis
5917bb24f3 6711377: test/java/awt/font/TextLayout/VisibleAdvance.java missing GPL
Reviewed-by: igor, prr
2008-06-17 18:38:20 -07:00
Anton Tarasov
7d7546ef37 4685768: A11y issue - Focus set to disabled component, can't Tab/Shift-Tab
The restore-focus procedure should skip disabled components.

Reviewed-by: art, dcherepanov
2008-06-17 13:37:28 +04:00
Bradford Wetmore
2ec317a88e Merge 2008-06-16 10:46:22 -07:00
Xueming Shen
2d15cd8fc6 6501089: test/java/nio/channels/SocketChannel/AsyncCloseChannel.java failing (timeout) on Linux
Test/java/nio/channels/SocketChannel/AsyncCloseChannel.java failing (timeout) on Linux

Reviewed-by: alanb
2008-06-14 09:30:20 -07:00
Weijun Wang
b572eb5b2b 6711435: console.sh uses incompatible ==
Reviewed-by: xuelei
2008-06-10 11:03:23 +08:00
Bradford Wetmore
827a788dfc Merge 2008-06-09 00:29:24 -07:00
Alan Bateman
e44b665297 Merge 2008-06-07 16:11:57 +01:00
Tim Bell
e23242de59 Merge 2008-06-06 15:16:19 -07:00
Xueming Shen
fa0719879c 6706299: System property java.class.version should be 51 for jdk7
System property java.class.version should be 51 for jdk7

Reviewed-by: alanb
2008-06-06 14:57:32 -07:00
Tim Bell
21953a51cd Merge 2008-06-05 17:43:14 -07:00
Alan Bateman
97bcf18b88 6710579: (ch) test/java/nio/channels/AsyncCloseAndInterrupt fails (lnx)
Reviewed-by: chegar
2008-06-05 14:57:15 +01:00
Alan Bateman
06e7bf1f85 6596323: (fc) ClosedByInterruptException not thrown by the interrupt method (lnx)
Reviewed-by: sherman
2008-06-05 14:50:28 +01:00
Alan Bateman
f46dc4e70b 6652379: File.setLastModified fails on large files (lnx only)
Reviewed-by: iris
2008-06-05 14:47:03 +01:00
Alan Bateman
252f292cc2 4939819: File.canWrite() returns false for the "My Documents" directory (win)
Reviewed-by: iris
2008-06-05 14:44:30 +01:00
Eamonn McManus
dfe323d640 6562936: Support custom type mappings in MXBeans
Reviewed-by: dfuchs
2008-06-05 13:42:47 +02:00
Eamonn McManus
e01cfb7fa8 6701498: Change JMX query language to use * and ? as wildcards rather than % and _
Reviewed-by: dfuchs
2008-06-05 13:40:09 +02:00
Xue-Lei Andrew Fan
720109f8ec 6690018: RSAClientKeyExchange NullPointerException
Checking certificate key length for RSA_EXPORT key exchange

Reviewed-by: wetmore, mullan
2008-06-04 09:56:14 +08:00
Lana Steuck
093ae7bee7 Merge 2008-06-03 11:18:33 -07:00
Pavel Porvatov
cda549c2c2 4987336: JSlider doesn't show label's animated icon
JSlider registers as an image observer of label's icon

Reviewed-by: alexp
2008-06-03 18:00:04 +04:00
Bradford Wetmore
328c2b4f39 Merge 2008-06-02 10:16:54 -07:00
Daniel Fuchs
eaa732b2fd 6673853: LegacyIntrospectorTest is testing an old deprecated com.sun API not present in OpenJDK
Removed test from open test suite - the corresponding deprecated legacy API is not in open source tree

Reviewed-by: emcmanus
2008-05-29 15:33:14 +02:00
Weijun Wang
c0dfc6ea21 6705313: Incorrect exit $? in keytool's autotest.sh
Reviewed-by: valeriep
2008-05-27 14:29:32 +08:00
Mikhail Lapshin
44b0d9abbe 6694823: A popup menu can be partially hidden under the task bar in applets
In applets popup menu is shifted above the task bar

Reviewed-by: peterz
2008-05-26 17:58:09 +04:00
Tim Bell
b8e714ecd0 Merge 2008-05-22 15:58:48 -07:00
Bradford Wetmore
e072682162 6706358: jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphers.java has the wrong copyright notice
Reviewed-by: valeriep
2008-05-22 14:20:53 -07:00
Igor Nekrestyanov
68458b3b27 6703377: freetype: glyph vector outline is not translated correctly
Reviewed-by: bae, prr
2008-05-21 10:59:07 +04:00
Phil Race
a2ffb58a98 Merge 2008-05-19 15:33:24 -07:00
Tim Bell
8b3c7a86d6 Merge 2008-05-16 12:25:57 -07:00
Eamonn McManus
b57cf5b990 6703552: Missing files from changeset for 6701459
Previous push missed a small number of files.

Reviewed-by: dfuchs
2008-05-16 11:34:34 +02:00