Commit Graph

313 Commits

Author SHA1 Message Date
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
Phil Race
88cfc253d1 6694480: Two small inefficiencies in getting font strikes for transformed fonts
Reviewed-by: igor, tdv
2008-04-28 09:59:35 -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
ea38e1d152 Merge 2008-04-25 15:32:27 -07:00
Valerie Peng
818282ec8c 6659990: KerberosTicket.getEndTime does not copy date (findbugs)
Reviewed-by: mullan
2008-04-25 15:24:48 -07:00
Valerie Peng
bd6eb33b2a 6524501: inconsistency with PKCS#11 spec - 0-value flags in CK_SLOT_INFO struct returned by C_GetSlotInfo()
Reviewed-by: mullan
2008-04-25 15:19:55 -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
Sean Mullan
82c5bba334 Merge 2008-04-25 09:03:20 -04:00
Sean Mullan
71791668df 6690169: Specification for BasicPermission.equals() is not consistent
Clarified @return to be consistent with method description

Reviewed-by: vinnie
2008-04-25 08:58:07 -04:00
Xiomara Jayasena
aefdc2b068 Added tag jdk7-b26 for changeset 2965fc37ce01 2008-04-24 12:12:20 -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
Yuri Nesterenko
9145169200 6627324: Alt Graph doesnot generate any key event when pressing in German locale
This Unix only problem solved by mapping XK_ISO_Level3_Shift keysym to Java keycode VK_ALT_GRAPH.

Reviewed-by: son
2008-04-23 14:35:26 +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
Keith McGuigan
3c827ac2b0 6691494: doc build broken in tracingdocs
Wrong variable names in makefile

Reviewed-by: tbell
2008-04-21 11:24:04 -04:00
Kelly O'Hair
4dfd0da387 Merge 2008-04-18 16:40:32 -07:00
Xiomara Jayasena
3ceaec158c Merge 2008-04-18 13:24:06 -07:00
Kelly O'Hair
0e9c8616cc 6641585: jdk/make/javax/Makefile should not have both SUBDIRS and AUTO_FILES_JAVA_DIRS
Separated Makefile logic, subtree walk vs. javac compiles. Also fixed minor issue in Rules.gmk.

Reviewed-by: tbell
2008-04-18 12:47:38 -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
Oleg Sukhodolsky
0d2e60cbc6 6690036: some code cleanup for insets-related code
All insets-related code from XWindowPeer, XFramePeer, and XDialogPeer has been moved to XDecoratedPeer.

Reviewed-by: anthony
2008-04-18 11:38:32 +04: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
Chris Hegarty
351801ee0b 6687282: URLConnection for HTTPS connection through Proxy w/ Digest Authentication gives 400 Bad Request
Change http/digest implementation to use host:port from CONNECT request

Reviewed-by: michaelm
2008-04-16 14:17:54 +01:00
Tim Bell
065eb83a37 Merge 2008-04-15 17:46:47 -07:00
Chris Hegarty
3f919e4a32 6659779: HttpURLConnections logger should log tunnel requests
Invoke Logger for CONNECT request/responses.

Reviewed-by: jccollet
2008-04-15 14:22:36 +01:00
Andrei Dmitriev
4b0c5dc3df Merge 2008-04-15 14:14:33 +04:00
Andrei Dmitriev
bcbd82060a 6430553: MouseClick event should not be fired if MouseRelease happened without MousePress
Verify that the there was a PRESS event before sending CLICK event

Reviewed-by: son, dcherepanov
2008-04-15 14:00:29 +04:00
Xueming Shen
f935457fef 6635133: Exception thrown when using a Unicode escape
Update regex engine to handle unicode escape correctly in character class

Reviewed-by: okutsu
2008-04-14 21:45:45 -07:00
Kelly O'Hair
a2db9ffac0 6484686: The next directory looks like it is no longer part of the build (deploy makefiles)
Getting rid of the _OUTPUTDIR settings. Using BUILD_PARENT_DIRECTORY instead. This solves problems with the "/build/windows-i586*" paths getting mangled on Windows builds (fastdebug builds in particular).

Reviewed-by: tbell
2008-04-14 14:52:27 -07:00
Jennifer Godinez
5e8e0b270e Merge 2008-04-14 11:34:15 -07: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
Dmitry Cherepanov
f1854fe0bf 6471693: Moving the vertical scroll bar of List in FileDialog leads Flickering in solaris
Unite paint() calls in one call

Reviewed-by: son
2008-04-14 15:21:16 +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
Tim Bell
1fb81ad2f5 Merge 2008-04-11 15:06:20 -07: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
Kirill Kirichenko
0d3612f2d8 6624717: Corrupted combo box, GTK L&F, Ubuntu 7.10
Reviewed-by: peterz
2008-04-11 16:25:17 +04:00
Xue-Lei Andrew Fan
fb2418cb14 6571950: SSLSocket(raddr, rport, laddr, lport) allows null as laddr that spec doesn't reflect
Add the description that while the local address parameter is null, anyLocalAddress will be used instead.

Reviewed-by: weijun
2008-04-11 03:50:37 -04:00
Xue-Lei Andrew Fan
b8995164f7 6546671: (spec)javax.net.ssl.TrustManagerFactory.getInstance() throws undocumented NP
5053895: (spec) Unspecified IllegalStateException in TrustManagerFactory

Add NullPointerException/IllegalStateException description

Reviewed-by: weijun
2008-04-11 03:43:18 -04:00
Xue-Lei Andrew Fan
3b3f5839b6 6546639: (spec)javax.net.ssl.SSLContext.getInstance(null) throws undocumented NPE
Add NullPointerException description to those methods.

Reviewed-by: weijun
2008-04-11 03:33:22 -04:00
Lana Steuck
1d540f665e Merge 2008-04-10 18:31:26 -07:00
Phil Race
caf5ff6f0e 6662775: Move imaging and color classes from closed to open
Reviewed-by: tdv, campbell
2008-04-10 16:28:45 -07:00
Mandy Chung
85ae69c481 Merge 2008-04-10 16:11:27 -07:00
Lana Steuck
27aef79dc2 Merge 2008-04-10 15:50:46 -07:00
Xueming Shen
7f4be79650 6529796: Support JIS X 0213:2004 in existing JDK versions, especially for Windows Vista
SJIS0213 support

Reviewed-by: naoto
2008-04-10 14:45:58 -07:00
Jennifer Godinez
34f12e0ac4 6678161: Printing to remote non-Postscript printer does not work in Linux
Reviewed-by: prr, tdv
2008-04-10 13:57:15 -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
309496c4c4 Merge 2008-04-10 10:32:31 -07:00
Phil Race
6361bb6771 6638477: Two external URLS referenced in 2D documentation are no longer functioning
Reviewed-by: jgodinez
2008-04-10 10:31:19 -07:00
Jennifer Godinez
803ac3e4f6 Merge 2008-04-10 10:23:47 -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
Jennifer Godinez
fbb2220d00 6633656: Cross platform print dialog doesn't check for orientation being unsupported
Reviewed-by: prr, tdv
2008-04-09 15:16:57 -07: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
Xiomara Jayasena
d045aa8a11 Added tag jdk7-b25 for changeset 8d655ddd5a03 2008-04-09 11:19:07 -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
Andrei Dmitriev
5887f56e62 6520716: event classes lack info about parameters
Clarify allowed values for event constructors

Reviewed-by: son, denis
2008-04-08 12:46:39 +04:00
Tim Bell
a996482e5d Merge 2008-04-07 23:27:43 -07:00
Bradford Wetmore
bbe29fa484 Merge 2008-04-07 14:19:23 -07:00
Andrei Dmitriev
d21a0af975 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
Access to interface's fiels via their name rather then implementation

Reviewed-by: volk, son
2008-04-07 16:52:51 +04:00
Andrei Dmitriev
0e36651f33 6613529: Avoid duplicate object creation within JDK packages
Avoid using constructors when unique values are not necessary

Reviewed-by: volk, igor, peterz
2008-04-07 14:53:51 +04:00
Peter Zhelezniakov
f3cc321cb2 4765383: JTextArea.append(String) not thread safe
Several swing.text methods are not marked thread-safe anymore.

Reviewed-by: gsm
2008-04-07 13:07:04 +04:00
Bradford Wetmore
e6ce57d09e 6683078: Update JCE framework and provider builds to work on read-only filesystems
6644659: Error in default target of make/javax/crypto in OpenJDK build

Reviewed-by: valeriep, ohair
2008-04-06 10:15:03 -07:00
Andrei Dmitriev
31835022c4 Merge 2008-04-04 20:32:59 +04:00
Andrei Dmitriev
c54c100fd7 6573289: api/java_awt/Color/index.html#CreateContextTesttestCase4,5,6,7 fail since JDK 7 b14
Specify current behavior - not caching the painting context

Reviewed-by: flar, son
2008-04-04 20:20:16 +04: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
a602ec9fb2 6615015: Typo in javadoc for Component.getTreeLock()
Fix for typo

Reviewed-by: son
2008-04-03 15:48:10 +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
Roman Kennke
e95ef5ac21 6677332: incorrect signatures for JNI methods in XWindow.c and XlibWrapper.c
Int replaced with jint in XWindow.c and WlibWrapper.c, and BOOL replaced with Bool in MouseInfo.c.

Reviewed-by: anthony
2008-04-02 17:45:50 +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
Kelly O'Hair
3d9e4854d0 6482134: JDK 6 build error on Windows, Visual Studio .NET on Japanese locale
Fix scanning of cl.exe version output, removed CC_TYPE.

Reviewed-by: tbell
2008-04-01 15:14:53 -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
Kelly O'Hair
4a807d5ed3 6501543: Username can have non-alphanumeric characters
User version string issues, including a L10n issue with month names.

Reviewed-by: tbell
2008-03-31 17:20:48 -07:00
Kelly O'Hair
298642faa1 6482445: j2se/make/java/java/localegen.sh uses 'sort' from PATH, could get system32/sort
Making sure the right 'sort' utility is found.

Reviewed-by: tbell
2008-03-31 17:19:06 -07:00
Kelly O'Hair
ea297b80d9 6672405: OPENJDK build: jdk7/jdk/make/tools/freetypecheck leaves dirt behind
OpenJDK freetype sanity check cleanup.

Reviewed-by: tbell
2008-03-31 17:17:18 -07:00
Valerie Peng
58ca4c8b87 Merge 2008-03-31 16:50:16 -07:00
Valerie Peng
0397417ad8 6682417: JCK test failed w/ ProviderException when decrypted data is not multiple of blocks
Check for CKR_ENCRYPTED_DATA_LEN_RANGE and throw IllegalBlockSizeException

Reviewed-by: wetmore
2008-03-31 16:16:12 -07:00
Valerie Peng
c10465ee58 6682411: JCK test failed w/ ArrayIndexOutOfBoundException (-1) when decrypting with no data
Fixed PKCS5Padding class with additional check and throw BadPaddingException if the check failed

Reviewed-by: wetmore
2008-03-31 16:12:37 -07:00
Chris Phillips
b9705263ec 6469580: 1.5.0_08 JVM crashes in SignatureHandlerLibrary::add on Fujitsu Primepower platform
Reviewed-by: andreas, valeriep, wetmore
2008-03-31 13:27:10 -07: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
Dmitry Cherepanov
cfaf19f278 6637204: TrayIcon.displayMessage fails to show icon twice
The icon canvas should be validated to finalize its layout

Reviewed-by: ant
2008-03-31 15:56:12 +04:00
Dmitry Cherepanov
b2b125f8a9 6508505: JComboBox collapses immediately if it is placed to embedded frame
XWindowPeer should translate absolute coordinates to local

Reviewed-by: son
2008-03-31 15:41:56 +04: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
Xiomara Jayasena
4afc4c31b2 Merge 2008-03-27 12:28:53 -07:00