Commit Graph

491 Commits

Author SHA1 Message Date
Chris Hegarty
0ad6d3770b 6626677: Error: Unimplemented()/HPI sysMonitorExit is broken on linux
Remove the definition of NEED_DL_LOCK on platforms with GLIBC

Reviewed-by: dholmes, psoper
2008-06-05 04:08:41 -07:00
Pavel Porvatov
9a2ae13639 6688110: JSlider has incorrect javadoc for the setValueIsAdjusting method
The sentence about ChangeEvents generation was removed

Reviewed-by: peterz
2008-06-05 13:30:41 +04:00
Kelly O'Hair
821c41a2cd 6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep makefiles)
Changes to support building with SS12.

Reviewed-by: tbell
2008-06-04 09:38:18 -07:00
Pavel Porvatov
86031542b2 6571802: 'Shared Documents' listed in-between C,D drives in the JFileChooser, does not match with native
Now sun.awt.shell.ShellFolder#sort uses system sorting instead of alphabetical

Reviewed-by: loneid, peterz
2008-06-04 18:48:42 +04: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
Jonathan Gibbons
321a423512 6708729: update jdk Makefiles for new javap
Reviewed-by: ohair
2008-06-03 13:28:16 -07: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
Tim Bell
011de6871b Merge 2008-06-02 22:33:55 -07:00
Bradford Wetmore
328c2b4f39 Merge 2008-06-02 10:16:54 -07:00
Pavel Porvatov
2ae586bafc 6709530: There are unnecessary code in slider classes, such as in JSlider and SliderUIs
Removed unnecessary code like unused variables, castings, imports etc

Reviewed-by: peterz
2008-06-02 19:08:13 +04:00
Daniel Fuchs
160c6f164d 6592586: RequiredModelMBean prints a WARNING message when calling getAttributes() for a non-existing attr
Switched traces to FINER - except when logging fails - in which cases the traces are logged to FINE

Reviewed-by: emcmanus
2008-05-30 14:35:43 +02:00
Yuri Nesterenko
971ba86d95 Merge 2008-05-30 03:02:40 -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
Andrei Dmitriev
da21254012 6691328: DragSourceContext returns unexpected cursor
Make the code to be executed if other options don't suit

Reviewed-by: dcherepanov
2008-05-29 13:48:51 +04:00
Igor Nekrestyanov
e3cd9f9e06 6587560: OpenJDK problem handling bitmaps returned when LCD text is requested
Reviewed-by: bae, prr
2008-05-28 20:06:09 +04:00
Xiomara Jayasena
d91b97f98b Merge 2008-05-27 17:18:01 -07: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
4e3260e82e Merge 2008-05-23 11:13:45 -07:00
Sergey Malenkov
f0fd6aa12c 6668273: Example given in java.beans.EventHandler shows incorrect order of parameters
Very simple misprint

Reviewed-by: peterz, loneid
2008-05-23 20:14:20 +04:00
Yuri Nesterenko
d20982eeaa Merge 2008-05-23 02:29:12 -07: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
Xiomara Jayasena
f269bbddcf Added tag jdk7-b27 for changeset 5ca30a3c97e7 2008-05-22 09:37:50 -07:00
Peter Zhelezniakov
4b3a6a58b4 6606443: Infinite loop in FlowView.layout when using HTML tables in JEditorPane
FlowStrategy.damageStart now tracks position changes

Reviewed-by: gsm
2008-05-22 15:06:22 +04: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
Yuri Nesterenko
4b9a053b3f 6253172: Some key characters on none US keyboard cannot be typed since JDK 1.4
Windows-only problem fixed by applying 4737679/4623376 fix to navigation keys only.

Reviewed-by: son
2008-05-21 10:28:19 +04:00
Phil Race
a2ffb58a98 Merge 2008-05-19 15:33:24 -07:00
Phil Race
be8dde580e 6611637: NullPointerException in sun.font.GlyphLayout$EngineRecord.init
Reviewed-by: tdv, jgodinez
2008-05-19 11:25:32 -07:00
Bradford Wetmore
1d0421b41f Merge 2008-05-17 00:27:52 -07:00
Tim Bell
8b3c7a86d6 Merge 2008-05-16 12:25:57 -07:00
Yuri Nesterenko
c2407a3b5f Merge 2008-05-16 04:37:47 -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
Igor Nekrestyanov
1138f00d74 6630501: CRASH: JCK test eats much memory and jvm crashes
Reviewed-by: bae, prr
2008-05-16 03:10:58 +04:00
Kelly O'Hair
19c686e7f4 6590549: Cygwin build of OpenJDK has problems and not very well documented
Just the Makefile changes to fix a cygwin nawk BINMODE=w problem.

Reviewed-by: igor, tbell
2008-05-15 13:04:31 -07:00
Vinnie Ryan
d7beaf03b5 Merge 2008-05-15 10:55:43 +01:00
Chris Hegarty
a83943f8b0 6670408: testcase panics 1.5.0_12&_14 JVM when java.net.PlainSocketImpl trying to throw an exception
Replace select with poll

Reviewed-by: alanb, jccollet
2008-05-15 10:26:07 +01:00
Oleg Sukhodolsky
69a10f680a 6644301: lightweight components can repaint outside request bounds
Repaint() needs to adjust width and height if it receives negative x or y.

Reviewed-by: art
2008-05-15 11:34:11 +04:00
Roman Kennke
f333c99e58 6675596: SurfaceManagerFactory should allow plugging in different implementations
Reviewed-by: tdv, campbell
2008-05-14 16:05:07 -07:00
Xiomara Jayasena
df5b479335 Merge 2008-05-14 14:06:58 -07:00
Vinnie Ryan
f3ee9c2f06 6383078: OCSP checking does not work on end-entity certificate
Reviewed-by: mullan
2008-05-14 18:59:18 +01:00
Eamonn McManus
a9f3e4ddb8 6701459: Synchronization bug pattern found in javax.management.relation.RelationService
Fixed this and many other problems found by FindBugs.

Reviewed-by: dfuchs
2008-05-14 18:38:14 +02:00
Dmitri Trembovetski
3ea05e6a1a 6604044: java crashes talking to second X screen
Reviewed-by: prr
2008-05-14 09:16:18 -07: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
Phil Race
02e4fc676c Merge 2008-05-13 16:57:04 -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
8011082abf 6696292: Printing transformed images accuracy problems
Reviewed-by: jgodinez, igor
2008-05-13 16:49:21 -07:00
Dan Munckton
95f191ea95 6636469: Java Fullscreen Exclusive Mode not working with Xorg server 1.3.0 and above
Improve the check for full exclusive screen support by analyzing RANDR extension version

Reviewed-by: tdv, prr
2008-05-13 16:46:06 -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
Xiomara Jayasena
d9300bad58 Merge 2008-05-13 11:33:06 -07:00
Tim Bell
0b0581443e Merge 2008-05-12 18:06:23 -07:00
Bradford Wetmore
3cedab2ac5 Merge 2008-05-11 00:26:16 -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
Martin Buchholz
901635bc1d 6636363: BufferUnderflowException decoding length 6 UTF-8 sequences with direct buffers
Reviewed-by: sherman
2008-05-10 11:30:53 -07:00
Keith McGuigan
c3f28b519a 6697875: Copyright headers need to be upgraded with GPL derivative
Update copyright headers to GPL

Reviewed-by: xdono
2008-05-08 09:16:03 -04: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
Pavel Porvatov
bc777dbec9 6635277: Incorrect text seen when creating a new folder, when selection is on the image file in JFileChooser
Corrected bounds of editor area

Reviewed-by: loneid
2008-05-07 20:26:32 +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
Chris Hegarty
bd09a2baed 6687919: REGRESSION : Classloader can handle any resource which is not included in classpath
Reviewed-by: jccollet, alanb
2008-05-02 21:33:59 +01: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
Kelly O'Hair
12cef95d40 6695553: Cleanup GPLv2+SPL legal notices in hat sources
Just correcting the legal notices on the HAT sources.

Reviewed-by: alanb
2008-04-30 17:34:41 -07: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
4594b0f8ea 6642612: JFileChooser approve buttons should use Open and Save text (GTK)
In FileChooser under GTK LaF "Ok" and "Cancel" buttons were made with the same size

Reviewed-by: peterz
2008-04-30 13:01:01 +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
Pavel Porvatov
f149163508 6614972: JSlider value should not change on right-click
WindowsSliderUI won't use the right mouse button for change slider position

Reviewed-by: alexp
2008-04-29 17:48:01 +04:00
Mikhail Lapshin
dd60bfb692 Merge 2008-04-29 06:30:27 -07:00
Florian Brunner
f5ac15812c 6693507: There are unnecessary compilation warnings in the com.sun.java.swing.plaf.motif package
Removed unnecessary castings and other warnings

Reviewed-by: peterz
2008-04-29 15:47:17 +04:00
Pavel Porvatov
c091ee49da 6210674: FileChooser fails to load custom harddrive icon and gets NullPointerException
WindowsPlacesBar should use default icon for folders that doesn't have own icon

Reviewed-by: loneid
2008-04-29 13:49:13 +04: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
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
Xiomara Jayasena
b1415f3d2d Merge 2008-03-27 12:09:50 -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
16c3e83a2b Merge 2008-03-27 11:35:00 +03:00
Anthony Petrov
fa0a3d0495 6603312: Segmentation fault running java -jar SwingSet2.jar in 256 color mode
Force hiding the splashscreen if the code cannot allocate a reasonable number of color cells on PseudoColor displays

Reviewed-by: son, art
2008-03-27 11:08:37 +03:00
Daniel D. Daugherty
e1362bb54d 6679866: 3/2 portability issues with JLI-batch-200803 on Win*
Make minor tweaks to the fix for 6274276 to make the Win* compiler happy...

Reviewed-by: sspitsyn, ohair
2008-03-26 20:18:22 -07:00
Kelly O'Hair
2214f21856 Merge 2008-03-26 17:48:05 -07: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
Kelly O'Hair
ba11a6a5e6 6627817: Remove ^M characters in all files (Makefiles too)
Some files included the use of the ^M character, which has been deleted.

Reviewed-by: xdono
2008-03-25 14:40:43 -07:00
Anton Tarasov
724ce6a00e Merge 2008-03-25 18:14:15 +03:00
Anton Tarasov
5b39f2291c 6613426: two WM_TAKE_FOCUS messages on one mouse click in GNOME Metacity 2.16.0
A workaround to the metacity issue 485016.

Reviewed-by: son
2008-03-25 18:08:57 +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
a6edacebb8 6655234: 4/4 j.l.i.: setNativeMethodPrefix does not document that prefix string can be null
Clarify wording for 'prefix' parameter to setNativeMethodPrefix().

Reviewed-by: sspitsyn
2008-03-24 17:16:10 -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
ff7433606c 6642405: 4/4 src/share/instrument/JPLISAgent.c line 286: "==" found where assignment "=" expected
Fix incorrect variable assignment in initializeJPLISAgent().

Reviewed-by: ohair, sspitsyn
2008-03-24 16:59:07 -07:00
Daniel D. Daugherty
f465e85260 6547500: 2/2 j.l.i.: .retransformClasses throws unexpected InternalError
RetransformClasses() should catch both an empty classes array and a classes array that contains a NULL element.

Reviewed-by: ohair, sspitsyn
2008-03-24 16:32:15 -07:00
Daniel D. Daugherty
b6cb4857d9 6547358: 2/2 j.l.i.: manifest attribute 'Can-Retransform-Classes' is ignored by isRetransformClassesSupported()
IsRetransformClassesSupported() should return the capability rather than give the agent the capability

Reviewed-by: ohair, sspitsyn
2008-03-24 16:23:21 -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