Commit Graph

196 Commits

Author SHA1 Message Date
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
Mikhail Lapshin
b2827492a6 Merge 2008-05-14 07:53:12 -07:00
Yuri Nesterenko
62c49d12f7 Merge 2008-05-13 21:58:46 -07:00
Douglas Felt
33dda32d9c 6697721: OpenJDK: rotated text baseline different between TextLayout and drawString
Reviewed-by: prr, igor
2008-05-13 16:56:22 -07:00
Phil Race
6014ce6668 6699843: IllegalArgumentException when using Graphics.drawString( "", 0, 0 )
Reviewed-by: igor, tdv
2008-05-13 16:18:30 -07:00
Tim Bell
0b0581443e Merge 2008-05-12 18:06:23 -07:00
Scott Blum
e7b25f91b2 6691215: (coll) IdentityHashMap.containsValue(null) returns true when null value not present
Reviewed-by: dl, chegar, alanb
2008-05-10 12:14:53 -07:00
Martin Buchholz
53684b6479 6691185: (coll) TreeMap.navigableKeySet's descendingIterator method starts at first instead of last entry
Reviewed-by: dl, chegar
2008-05-10 11:49:25 -07:00
Sergey Malenkov
c2072462fb 4935607: RFE: LTP: Should be possible to set the TRANSIENT attribute of propertiies to FALSE
Add the Transient annotation and support it (JSR-273)

Reviewed-by: peterz, loneid
2008-05-07 23:20:32 +04:00
Sergey Malenkov
99f494c8ee 6348456: BasicColorChooserUI ignores JColorChooser selection model changes
Some methods are moved from AbstractColorChooserPanel to BasicColorChooserUI

Reviewed-by: peterz, alexp
2008-05-07 21:54:03 +04:00
Sergey Malenkov
cc169e2b9d 6625450: javax.swing.border.TitledBorder.getBaseline() doesn't throw IAE when width is < 0
Necessary check is added

Reviewed-by: peterz, alexp
2008-05-07 16:08:31 +04:00
Yuri Nesterenko
55c1fa19a4 Merge 2008-05-04 07:05:42 -07:00
Pavel Porvatov
f8f23e46ab 6688203: Memory leak and performance problems in the method getFileSystemView of FileSystemView
Removed from the "FileSystemView#getFileSystemView" method creation of a new listener and adding it to UIManager

Reviewed-by: peterz
2008-05-01 14:47:50 +04:00
Phil Race
faadc39966 6656651: Windows Look and Feel LCD glyph images have some differences from native applications
Reviewed-by: igor, tdv
2008-04-30 13:10:39 -07:00
Valerie Peng
c2d32a0f1b 6695818: New regression test (KerberosTixDateTest) for Kerberos failing on (probably) all platforms
Reviewed-by: mullan
2008-04-30 11:10:33 -07:00
Mikhail Lapshin
e7c50a0d25 Merge 2008-04-30 08:23:31 -07:00
Mikhail Lapshin
fc405f63c8 Merge 2008-04-30 07:03:08 -07:00
Mikhail Lapshin
92019e467c 6690791: Even more ClassCasetException with TrayIcon
Event.getComponent() is used unstead of (Component)event.getSource()

Reviewed-by: peterz
2008-04-30 13:19:26 +04:00
Pavel Porvatov
f09d6c6ac3 6524424: JSlider Clicking In Tracks Behavior Inconsistent For Different Tick Spacings
JSlider should use minimal tick space in SnapToTicks mode

Reviewed-by: peterz
2008-04-30 12:32:05 +04:00
Mikhail Lapshin
dd60bfb692 Merge 2008-04-29 06:30:27 -07:00
Phil Race
c672506f95 6679308: Poor text rendering on translucent image
Reviewed-by: flar, campbell
2008-04-28 15:57:46 -07:00
Phil Race
cb5a8e47fb 6664915: SecurityException using javax.print APIs when queuePrintJob permission is granted
Reviewed-by: tdv, jgodinez
2008-04-28 11:06:18 -07:00
Pavel Porvatov
9d90ce5781 4252173: Inability to reuse the HorizontalSliderThumbIcon
Removed casting component to JSlider from MetalIconFactory

Reviewed-by: alexp
2008-04-28 17:17:45 +04:00
Valerie Peng
818282ec8c 6659990: KerberosTicket.getEndTime does not copy date (findbugs)
Reviewed-by: mullan
2008-04-25 15:24:48 -07:00
Tim Bell
25f3229c2b Merge 2008-04-25 15:18:45 -07:00
Phil Race
edfa6ff652 6692979: VM Crash when shearing text + rect over a range of values
Reviewed-by: igor, tdv
2008-04-25 10:40:11 -07:00
Phil Race
9e39cf49ed 6687298: Reg testcase java/awt/Graphics2D/DrawString/RotTransText.java fails on windows
Reviewed-by: igor, tdv
2008-04-25 10:37:07 -07:00
Andrew Haley
f82f310aba 6523403: Need to provide lcms library with PYCC and LINEAR_RGB OS ICC profiles
Add two contributed profiles and a fix to GRAY.pf, all from Redhat, keiths@redhat.com contributed the GRAY.pf fix.

Reviewed-by: jgodinez, avu, prr
2008-04-24 11:58:13 -07:00
Mikhail Lapshin
2b028bddc7 Merge 2008-04-24 05:58:57 -07:00
Bradford Wetmore
f1e72f0012 Merge 2008-04-23 10:20:34 -07:00
Mikhail Lapshin
8dff6c648b 6691503: Malicious applet can show always-on-top popup menu which has whole screen size
The fix for 6675802 is replaced by a try-catch clause that catches SequrityExceptions for applets.

Reviewed-by: alexp
2008-04-23 18:06:34 +04:00
Weijun Wang
a934ff801a 6689000: Changes in 6675606 causing regression test failures on windows-i586
Accept illegal URLs like file:c:/root/x.conf and file:this/that/x.conf

Reviewed-by: alanb, chegar
2008-04-23 08:10:28 +08:00
Eamonn McManus
1ca7f71818 6692027: Custom subclasses of QueryEval don't serialize
Remove non-public superclass of QueryEval

Reviewed-by: dfuchs
2008-04-22 18:58:40 +02:00
Xiomara Jayasena
3ceaec158c Merge 2008-04-18 13:24:06 -07:00
Mikhail Lapshin
7cc4f58228 6675802: Regression: heavyweight popups cause SecurityExceptions in applets
The problem code in Popup class is surrounded by AccessController.doPrivileged()

Reviewed-by: alexp
2008-04-18 18:21:02 +04:00
Jean-Christophe Collet
18ff524a84 6558853: getHostAddress() on connections using IPv6 link-local addrs should have zone id
Set the scope_id_set flag when necessary

Reviewed-by: chegar
2008-04-18 15:23:27 +02:00
Keith McGuigan
cd24f6fc4a 6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: sspitsyn, sbohne
2008-04-17 22:00:16 -04:00
Bradford Wetmore
a7affccf50 Merge 2008-04-17 16:56:11 -07:00
Jean-Christophe Collet
2dc88cc9c9 6644726: Cookie management issues
Many changes to accomodate RFC 2965 and old Netscape specs

Reviewed-by: chegar
2008-04-17 11:05:33 +02:00
Sean Mullan
0ca6fc6718 Merge 2008-04-14 10:41:16 -04:00
Sean Mullan
5a0ae8fa6f 6631361: Spec of AccessControlContext constructor is not complete
Add NullPointerException to @throws clause and treat empty array and array of nulls as equivalent

Reviewed-by: valeriep
2008-04-14 10:25:05 -04:00
Mikhail Lapshin
697620a8bb 6612531: api/javax_swing/ScrollPaneLayout/index.html#xxxLayoutSize (ScrollPaneLayout2024) throws NPE
Added a check for the NPE

Reviewed-by: alexp
2008-04-14 16:41:00 +04:00
Dmitry Cherepanov
c942da3f2e 6688067: regression test for 6471693 is missed
Added regression test

Reviewed-by: son
2008-04-14 15:53:32 +04:00
Konstantin Voloshin
f1c8a2f589 Merge 2008-04-13 23:56:20 +04:00
Konstantin Voloshin
74ae1c6b65 6686273: Some AWT reg. tests should be moved to open repository (for CRs 6444769, 6480547, and 6560348)
Some AWT reg. tests are moved to open repository (for CRs 6444769, 6480547, and 6560348)

Reviewed-by: ant
2008-04-13 23:41:40 +04:00
Mandy Chung
6c33c4e721 6687508: Update test/sun/management jtreg tests due to sun.management.ManagementFactory class rename
Modified the jtreg tests to use ManagementFactoryHelper instead

Reviewed-by: emcmanus
2008-04-11 10:26:26 -07:00
Lana Steuck
27aef79dc2 Merge 2008-04-10 15:50:46 -07:00
Mandy Chung
98ecfdaa47 6610094: Add generic support for platform MXBeans of any type (also fixed 6681031)
Add new methods in ManagementFactory class to obtain platform MXBeans

Reviewed-by: alanb, dfuchs, emcmanus
2008-04-10 10:47:13 -07:00
Phil Race
b3d5835158 6684056: SUPERSCRIPT TextAttribute on font needs to trigger layout
Reviewed-by: igor, campbell
2008-04-10 09:05:01 -07:00
Kumar Srinivasan
da0bf7574c 6684582: Launcher needs improved error reporting
Indicate the missing main class in the error message

Reviewed-by: darcy, kbr
2008-04-10 09:02:22 -07:00
Weijun Wang
c5757d6fbd 6675606: javax.security.auth.login.Configuration does not recognize path with spaces
Reviewed-by: chegar, xuelei
2008-04-10 19:58:48 +08:00
Phil Race
3e1b0813ec 6683472: Incorrect handling of translation component of font transform
Reviewed-by: igor, campbell
2008-04-09 13:11:46 -07:00
Anton Tarasov
e1d1e39f49 6522725: Component in a minimized Frame has focus and receives key events
XAWT: a window natively focused may request focus in it only synthetically

Reviewed-by: son
2008-04-09 09:37:07 +04:00
Anton Tarasov
06e3882354 6607170: Focus not set by requestFocus
Fixing/refactoring focus auto-transfer mechanism.

Reviewed-by: son
2008-04-08 13:32:30 +04:00
Bradford Wetmore
bbe29fa484 Merge 2008-04-07 14:19:23 -07:00
Peter Zhelezniakov
a61087c762 4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used
Both POST and GET can now be processed asynchronously; PageLoader refactored

Reviewed-by: gsm
2008-04-03 16:41:43 +04:00
Dmitry Cherepanov
194fc6af43 6619458: testcase depends on a file with the name te{st.html
Using test.html instead of te{st.html in reg test

Reviewed-by: son
2008-04-03 15:00:21 +04:00
Xue-Lei Andrew Fan
2dddf4033e 6668231: Presence of a critical subjectAltName causes JSSE's SunX509 to fail trusted checks
Make the critical extension known to end entity checker.

Reviewed-by: wetmore, mullan
2008-04-02 22:44:45 -04:00
Kelly O'Hair
de514b4b6e 6627823: Missed whitespace normalization files: jdk/test/java/rmi
Just missed a few files being normalized in rev 0.

Reviewed-by: xdono
2008-04-01 15:41:23 -07:00
Anthony Petrov
4eb04f83d5 6681889: JSN security test headline/noWarningApp failed with NPE exception
The java.awt.Component.changeSupportLock field should be initialized in the readObject() method.

Reviewed-by: son, art
2008-04-01 17:38:46 +04:00
Eamonn McManus
332059a555 6610917: Define a generic NotificationFilter
Adds javax.management.QueryNotificationFilter

Reviewed-by: dfuchs
2008-04-01 14:45:23 +02:00
Valerie Peng
3470103a93 6681652: Two new regression test failures in pkcs11 code
Fixed the test to not assume SunJCE provider being the provider for DES

Reviewed-by: wetmore
2008-03-31 11:09:57 -07:00
Bradford Wetmore
754b9d2936 Merge 2008-03-28 12:56:34 -07:00
Yuri Nesterenko
b6a8a6ebd2 Merge 2008-03-28 03:06:00 -07:00
Daniel D. Daugherty
be69c9cfa3 Merge 2008-03-27 14:15:59 -07:00
Tim Bell
1a4fe677d1 Merge 2008-03-27 10:42:36 -07:00
Andrei Dmitriev
44f8b333b5 Merge 2008-03-27 12:31:18 +03:00
Anton Tarasov
911da0a796 6616792: five AWT focus regression tests should be fixed
Fixed/refactored the tests.

Reviewed-by: volk
2008-03-26 17:38:26 +03:00
Anton Tarasov
75f6b17d66 6609607: test/closed/java/awt/Focus/AppletInitialFocusTest should be rewritten
Using test.java.awt.regtesthelpers.Util. Refactoring.

Reviewed-by: volk
2008-03-26 16:56:40 +03:00
Anton Tarasov
3a0d8165ce 6680135: A number of test/closed/java/awt/Focus/* tests should be opened
The tests moved from the closed repository.

Reviewed-by: son
2008-03-26 16:20:01 +03:00
Anton Tarasov
724ce6a00e Merge 2008-03-25 18:14:15 +03:00
Andrei Dmitriev
f555fe0a57 6255653: REGRESSION: Override isLightweight() causes access violation in awt.dll
Verufy that the component to restack is a HW component by checking for instanceof WComponentPeer

Reviewed-by: son, anthony
2008-03-25 16:23:09 +03:00
Andrei Dmitriev
88699393d7 6610244: modal dialog closes with fatal error if -Xcheck:jni is set
Obtain WWindowPeer class every time it is required

Reviewed-by: art
2008-03-25 15:16:03 +03:00
Daniel D. Daugherty
afd0a54dd0 6667089: 3/3 multiple redefinitions of a class break reflection
Add regression test for multiple redefinitions of a class break reflection.

Reviewed-by: sspitsyn
2008-03-24 17:20:54 -07:00
Daniel D. Daugherty
43ac52cdce 6572160: 3/3 Instrumentation.getObjectSize triggers JVM crash in JPLISAssert in shutdown
Tolerate JVMTI_ERROR_WRONG_PHASE return codes so that JLI methods can be called to the end of VM's life.

Reviewed-by: ohair, sspitsyn
2008-03-24 17:12:01 -07:00
Daniel D. Daugherty
11ff50b340 6545149: 4/4 JLI Instrumentation.redefineClasses SIGSEGVs on java/lang/Thread
Add regression test for redefining class with native methods.

Reviewed-by: sspitsyn
2008-03-24 16:11:24 -07:00
Daniel D. Daugherty
904063c9c9 6528548: 4/4 NativeMethodPrefixAgent.java times out intermittently in nightly
Increase timeouts for tasks that take > 10 seconds on a 4-way Ultra-80 with all local resources.

Reviewed-by: sspitsyn
2008-03-24 16:04:07 -07:00
Daniel D. Daugherty
7d1d2b63c1 6491461: 3/3 TEST: java/lang/instrument .sh tests need to use $TESTVMOPTS in their java commands
Add ${TESTVMOPTS} to java test execution command(s).

Reviewed-by: sspitsyn
2008-03-24 15:42:37 -07:00
Daniel D. Daugherty
a3114e931c 6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
Only copy Java source files from ilib and bootreporter.

Reviewed-by: sspitsyn
2008-03-24 15:26:24 -07:00
Daniel D. Daugherty
791e6a4a43 6289149: 4/4 Java Agent will pick wrong execution path while attaching
Check for a declared premain() or agentmain() method before an inherited one

Reviewed-by: sspitsyn
2008-03-24 15:20:29 -07:00
Daniel D. Daugherty
dba3a02ea0 6274276: 3/2 java.lang.instrument JAR manifest processing does not remove spaces from class names
Attribute values should be extracted without leading or trailing whitespace.

Reviewed-by: ohair, sspitsyn
2008-03-24 15:14:31 -07:00
Daniel D. Daugherty
fa12ec89ef 5088398: 3/2 java.lang.instrument TCK test deadlock (test11)
Add regression test for single-threaded bootstrap classloader.

Reviewed-by: sspitsyn
2008-03-24 15:05:09 -07:00
Daniel D. Daugherty
bab69115c7 4926961: 4/4 TransformerManagementThreadRemoveTests hangs
Changes motivated by Effective Java - Item 48 & Item 51.

Reviewed-by: sspitsyn
2008-03-24 14:39:30 -07:00
Daniel D. Daugherty
41dd8d9f6f 6239043: 4/4 TransformerManagementThreadAddTests.java failed
Clear fCheckedTransformers in order to properly record transformer() call data.

Reviewed-by: sspitsyn
2008-03-24 14:31:47 -07:00
Yuri Nesterenko
3965384d4c Merge 2008-03-24 06:33:16 -07:00
Anton Tarasov
1f1d82e2aa 6637607: 1st char. is discarded after a modal dialogue shows up and disappears
Reset consuming next KEY_TYPED on every subsequent KEY_PRESS.

Reviewed-by: son
2008-03-24 15:51:26 +03:00