Commit Graph

695 Commits

Author SHA1 Message Date
Peter Zhelezniakov
2c63f90f19 6635110: GTK problem when testing Sun Studio IDE on snv_77 with jdk1.6 using Gnome window manager
GTKIconFactory icons should protect against null context passed in

Reviewed-by: rupashka
2009-04-06 13:06:24 +04:00
Alan Bateman
560560dc55 4890703: Support SDP (sol)
Reviewed-by: michaelm
2009-04-06 08:59:33 +01:00
Alan Bateman
9676f044cb 6823609: (se) Selector.select hangs on Windows under load
Reviewed-by: sherman
2009-04-03 22:10:36 +01:00
Xueming Shen
793be7342c Merge 2009-04-03 09:51:58 -07:00
Weijun Wang
b01525e89b 6825352: support self-issued certificate in keytool
Reviewed-by: xuelei
2009-04-03 11:36:19 +08:00
Xueming Shen
21aa30606a 4681995: Add support for large (> 4GB) zip/jar files
The ZIP64 format support is added for > 4GB jar/zip files

Reviewed-by: alanb, martin
2009-04-02 15:35:46 -07:00
Kelly O'Hair
208dfa22cd 6825765: Further adjustments to regression tests run by jprt
Reviewed-by: tbell
2009-04-02 15:04:33 -07:00
Alan Bateman
78e9762656 6824477: (se) Selector.select fails with IOException: "Invalid argument" if maximum file descriptors is low
Reviewed-by: sherman
2009-04-02 19:47:24 +01:00
Alan Bateman
f83fd900a9 6824141: test/java/rmi/activation/rmidViaInheritedChannel tests fail
Reviewed-by: peterjones
2009-04-02 16:31:44 +01:00
Alan Bateman
d2cd251815 6824135: (ch) test/java/nio/channels/AsyncCloseAndInterrupt.java fails (lnx)
Reviewed-by: sherman
2009-04-02 11:13:56 +01:00
Kelly O'Hair
36ce084168 Merge 2009-04-01 09:44:34 -07:00
Kelly O'Hair
1e18bf2d6e 6824583: regtest TimeUnit/Basic.java fails intermittently on Windows - again
Reviewed-by: dholmes
2009-04-01 09:08:54 -07:00
Anthony Petrov
0a24bf67c2 6818312: com.sun.awt.SecurityWarning.getSize() always reports (0, 0) on X11
The fix got pushed with 6693253. However the test was omitted. Here it comes.

Reviewed-by: dcherepanov, art
2009-04-01 19:05:47 +04:00
Kelly O'Hair
c9ce349372 6824012: Add jdk regression tests to default jprt jobs
A work in progress on adding to the jprt testing.

Reviewed-by: tbell
2009-03-31 16:14:14 -07:00
Kelly O'Hair
53b5f6ae6b 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
A work in progress on testing additions for JPRT system.

Reviewed-by: tbell
2009-03-31 16:12:56 -07:00
Andrew John Hughes
f38ce53536 6819601: Fix AWT JTReg tests which fail to compile
Fix compilation of tests.

Reviewed-by: anthony, son
2009-03-31 18:47:31 +04:00
Alan Bateman
445c56f3ea Merge 2009-03-30 19:22:27 +01:00
Alan Bateman
f59df4d489 6693490: (se) select throws "File exists" IOException under load (lnx)
Reviewed-by: sherman
2009-03-27 15:24:37 +00:00
Yuri Nesterenko
51ef95c396 6680988: KeyEvent is still missing VK values for many keyboards
2 new methods and some fields added to KeyEvent, plus hash of constants introduced

Reviewed-by: art
2009-03-27 12:01:24 +03:00
Weijun Wang
739414c177 6802846: jarsigner needs enhanced cert validation(options)
Reviewed-by: xuelei
2009-03-27 11:05:45 +08:00
Doug Lea
b63d6d68d9 6801020: Concurrent Semaphore release may cause some require thread not signaled
Introduce PROPAGATE waitStatus

Reviewed-by: martin
2009-03-26 11:59:07 -07:00
Anthony Petrov
a1fd30eb7a 6693253: Security Warning appearance requires enhancements
6779717: A Window does not show applet security warning icon on X platforms
6785058: Parent dn't get the focus after dialog is closed if security warning is applied

Forward-port from 6u10-6u14

Reviewed-by: art, dcherepanov
2009-03-26 14:38:46 +03:00
Pavel Porvatov
93751b6e8c 6798062: Memory Leak on using getFiles of FileSystemView
Reviewed-by: peterz, malenkov
2009-03-26 11:04:47 +03:00
Doug Lea
01a36018d3 6800572: Removing elements from views of NavigableMap implementations does not always work correctly
Replace use of new TreeSet with new KeySet

Reviewed-by: martin
2009-03-24 19:42:23 -07:00
Lana Steuck
8888335104 Merge 2009-03-24 19:12:02 -07:00
Alan Bateman
6af949fe24 6621689: (dc spec) DatagramChannel.receive when channel is not bound is not specified
Reviewed-by: sherman
2009-03-24 14:10:38 +00:00
Alan Bateman
a2b46bd320 6807702: Integer.valueOf cache should be configurable
Reviewed-by: darcy
2009-03-24 14:05:44 +00:00
Phil Race
4db0a48b10 6745225: Memory leak while drawing Attributed String
Reviewed-by: jgodinez, dougfelt
2009-03-23 10:40:54 -07:00
Xueming Shen
3f0b988cfc 6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl)

Optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case.

Reviewed-by: alanb
2009-03-23 09:19:23 -07:00
Dmitry Cherepanov
cd71edadc5 6730447: Support for high resolution mouse wheel is still incomplete. AWT panel needs to be supported
Reviewed-by: art, dav
2009-03-23 09:47:39 -04:00
Peter Zhelezniakov
1a1db06a37 4783068: Components with HTML text should gray out the text when disabled
Views fixed to use different colors when container is disabled

Reviewed-by: gsm, rupashka
2009-03-23 16:41:47 +03:00
Xueming Shen
94bd6b212a Merge 2009-03-20 17:40:52 -07:00
Xueming Shen
df65a88edb 6817475: named-capturing group name started with digit causes PSE exception
Need accept the digit as the first char of the group name

Reviewed-by: alanb
2009-03-20 16:22:59 -07:00
Alexey Ushakov
7f2828e070 6733501: Apply IcedTea little cms patches
Reviewed-by: bae, prr
2009-03-20 20:05:22 +03:00
Dmitry Cherepanov
dc5ad18362 6774258: api/java_awt/Component/index.html#PaintUpdate fails randomly
Reviewed-by: art
2009-03-20 08:41:43 -04:00
Weijun Wang
827d425560 6819272: keytool -importcert should read the whole input
Reviewed-by: xuelei
2009-03-19 11:17:06 +08:00
Daniel Fuchs
a2e046f672 Merge 2009-03-18 18:55:10 +01:00
Tim Bell
a787d51eea 6814587: Legal notice repair needed in jdk/src/share/classes/java/nio
6814590: Legal notice repair needed in jdk/test/java/awt/Frame/FrameSize/TestFrameSize.java
6814591: Legal notice repair needed in jdk/test/javax/script/Test3.java

Reviewed-by: alanb, xdono
2009-03-17 13:20:56 -07:00
Pavel Porvatov
30beae5a8c 6738668: JFileChooser cannot be created under SecurityManager
Reviewed-by: peterz
2009-03-17 16:06:14 +03:00
Xue-Lei Andrew Fan
6a44e920f6 6383095: CRL revoked certificate failures masked by OCSP failures
Remove the mask if certificate revoked

Reviewed-by: mullan
2009-03-17 11:54:13 +08:00
Hiroshi Yamauchi
8e6208656a 6812600: The miter line join decoration isn't rendered properly
Reviewed-by: avu, flar
2009-03-16 11:46:26 -07:00
Daniel Fuchs
aa0baf128e Merge 2009-03-13 14:25:48 +01:00
Weijun Wang
78ae650f8f 6815182: GSSAPI/SPNEGO does not work with server using MIT Kerberos library
Reviewed-by: valeriep
2009-03-13 09:20:56 +08:00
Daniel Fuchs
e466180135 6661448: Make the SNMP agent optional when OPENJDK=true and IMPORT_BINARY_PLUGS=false
Reviewed-by: mchung, ohair
2009-03-12 15:36:14 +01:00
Pavel Porvatov
93c4a7033c 6491795: COM should be initialized for Shell API calls in ShellFolder2.cpp
Reviewed-by: peterz, loneid
2009-03-12 14:00:26 +03:00
Anton Tarasov
56f4a68e6b 6806217: implement synthetic focus model for MS Windows
Reviewed-by: art, dcherepanov
2009-03-10 18:33:29 +03:00
Weijun Wang
5f12c03c56 6813402: keytool cannot -printcert entries without extensions
Reviewed-by: xuelei
2009-03-05 14:49:55 +08:00
Lana Steuck
be8bd14e3c Merge 2009-03-04 10:57:24 -08:00
Phil Race
de4c8e0eb5 2163516: Font.createFont can be persuaded to leak temporary files
Reviewed-by: igor
2009-03-03 16:10:37 -08:00
Xue-Lei Andrew Fan
ff67e1ba9a 6549506: Specification of Permission.toString() method contradicts with JDK implementation
Update the spec, and add double quotes around component.

Reviewed-by: weijun
2009-03-02 23:17:53 +08:00
Pavel Porvatov
95a3c4a81f 6794831: Infinite loop while painting ticks on Slider with maximum=MAX_INT
Reviewed-by: malenkov
2009-02-26 11:44:43 +03:00
Kevin Walls
53cf69e562 6809463: Missing license header in test LargeZipFile.java
Reviewed-by: alanb
2009-02-24 19:03:58 +00:00
Kevin Walls
ee5c2301ec 6599383: Unable to open zip files more than 2GB in size
Reviewed-by: alanb
2009-02-24 14:22:08 +00:00
Alan Bateman
4f2325cf75 Merge 2009-02-24 11:33:25 +00:00
Alan Bateman
6d59271ca9 6808647: (file) Paths.get("C:").newDirectoryStream() iterates over Path elements with additional slash [win]
6808648: (file) Files.walkFileTree should obtain file attributes during iteration [win]

Reviewed-by: sherman
2009-02-24 09:11:42 +00:00
Xueming Shen
952857e682 6350801: Add support for named (instead of numbered) capture groups in regular expression
6676425: Opensource unit/regression tests for java.util.regex

Added "named capturing group" into regex. Moved most of reg/unit tests to openjdk.

Reviewed-by: alanb, okutsu
2009-02-23 21:06:15 -08:00
Lana Steuck
2ba8da1975 Merge 2009-02-23 11:16:04 -08:00
Xue-Lei Andrew Fan
d1f800c577 5067458: Loopback SSLSocketImpl createSocket is throwing an exception
A null hostname should be regarded as a loopback address.

Reviewed-by: weijun
2009-02-23 17:32:52 +08:00
Weijun Wang
3a37d195f3 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
Reviewed-by: xuelei, mullan
2009-02-23 10:05:55 +08:00
Weijun Wang
500caf95bd 6803376: BasicConstraintsExtension does not encode when (ca==false && pathLen<0)
Reviewed-by: xuelei
2009-02-23 10:05:41 +08:00
Weijun Wang
9081658837 6804045: DerValue does not accept empty OCTET STRING
Reviewed-by: xuelei
2009-02-23 10:04:52 +08:00
Weijun Wang
967dd884ac 6789935: cross-realm capath search error
Reviewed-by: xuelei
2009-02-23 10:04:25 +08:00
Weijun Wang
7465090acf 6535697: keytool can be more flexible on format of PEM-encoded X.509 certificates
Reviewed-by: vinnie
2009-02-23 10:03:36 +08:00
Lana Steuck
ddc1549079 Merge 2009-02-22 12:26:39 -08:00
Tim Bell
a58639094e Merge 2009-02-20 10:53:39 -08:00
Xue-Lei Andrew Fan
f202d9a6e1 6697270: Inputstream dosent behave correct
Do not try to read zero byte from a InputStream, and do always return immediately for zero byte reading in a InputStream implementation.

Reviewed-by: weijun
2009-02-20 13:05:28 +08:00
Tim Bell
354897da83 Merge 2009-02-19 18:04:30 -08:00
Kumar Srinivasan
dcbd65a1c3 6792554: Java JAR Pack200 header checks are insufficent
Added several checks to ensure that the values read from the headers are consistent

Reviewed-by: jrose
2009-02-18 14:14:03 -08:00
Lana Steuck
0b8159d689 Merge 2009-02-18 10:05:41 -08:00
Alan Bateman
030a13d8fe 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
4313887: New I/O: Improved filesystem interface
4607272: New I/O: Support asynchronous I/O

Reviewed-by: sherman, chegar
2009-02-15 12:25:54 +00:00
Artem Ananiev
b8af3d5019 6799345: JFC demos threw exception in the Java Console when applets are closed
Reviewed-by: alexp, peterz
2009-02-12 14:19:06 +03:00
Artem Ananiev
e67e7cb5a7 6633275: Need to support shaped/translucent windows
Forward-port from 6u14, no public API is introduced

Reviewed-by: anthony, dcherepanov
2009-02-11 17:07:06 +03:00
Lana Steuck
f9c7b83d22 Merge 2009-02-10 12:26:12 -08:00
Andrew Brygin
d83e26cba4 6800846: REGRESSION: Printing quality degraded with Java 6 compared to 5.0
Reviewed-by: igor, prr
2009-02-06 20:49:53 +03:00
Tim Bell
04d96f9698 Merge 2009-02-05 09:28:04 -08:00
Tim Bell
354177b550 Merge 2009-02-05 09:24:45 -08:00
Sergey Malenkov
8f96eb9cea 6669869: Beans.isDesignTime() and other queries should be per-AppContext
Reviewed-by: peterz, rupashka
2009-02-05 17:00:57 +03:00
Peter Zhelezniakov
06d5f1e07f 6588003: LayoutQueue shares mutable implementation across AppContexts
DefaultQueue property is made per-AppContext

Reviewed-by: alexp
2009-02-04 18:48:24 +03:00
Xue-Lei Andrew Fan
df345d27f4 6782783: regtest HttpsURLConnection/B6216082.java throws ClosedByInterruptException
Make the test robust

Reviewed-by: weijun
2009-02-04 19:10:09 +08:00
Andrew Brygin
b56f073148 6799583: LogManager shutdown hook may cause a memory leak
Reviewed-by: igor, swamyv
2009-02-04 14:06:18 +03:00
Anthony Petrov
13c271c69b 6797195: Forward-port enhancements for hw/lw mixing from 6u12 to 7
Reviewed-by: art, dcherepanov
2009-02-04 11:58:13 +03:00
Lana Steuck
c88ad511d0 Merge 2009-02-03 22:02:55 -08:00
Weijun Wang
e7c217c72d 6552334: Enable DNS in Kerberos by default
Reviewed-by: valeriep
2009-02-03 09:38:13 +08:00
Jean-Christophe Collet
57a4df4e50 6791927: Wrong Locale in HttpCookie::expiryDate2DeltaSeconds
Force Locale.US when parsing the cookie expiration date.

Reviewed-by: chegar
2009-02-02 16:50:54 +01:00
Michael McMahon
71dfa4d2db 4167874: URL-downloaded jar files can consume all available file descriptors
Added close method to URLClassLoader

Reviewed-by: alanb
2009-01-30 22:05:30 +00:00
Lana Steuck
0d1c16da0e Merge 2009-01-29 18:33:52 -08:00
Joe Darcy
0476ba59fb 6327048: Enum javadoc could link to JLS
6653154: Exception message for bad Enum.valueOf has spurious "class"

Reviewed-by: emcmanus
2009-01-29 13:04:44 -08:00
Lana Steuck
6701ca1be7 Merge 2009-01-29 09:25:47 -08:00
Pavel Porvatov
798600a691 6794836: BasicSliderUI throws NullPointerExc when JSlider maximum is Integer.MAX_VALUE
Reviewed-by: peterz
2009-01-29 19:06:29 +03:00
Sergey Malenkov
d36d789593 6788531: java.beans.Statement imposes excessive access control
Reviewed-by: peterz, rupashka
2009-01-29 15:34:50 +03:00
Omair Majid
9ea7492522 6721088: Bad window size calculation after using pack()
Reviewed-by: anthony
2009-01-29 14:58:12 +03:00
Joe Darcy
79ec4bf8d3 6704655: Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
Reviewed-by: ksrini
2009-01-28 10:30:33 -08:00
Red Hat
55076b2558 6793344: BasicStroke's first element dash pattern is not a dash
Reviewed-by: igor, flar
2009-01-28 09:38:55 -08:00
Jean-Christophe Collet
285d905e09 6790677: java.net.HttpCookie.parse(String) should ignore unrecognized attributes, RFC2965
Changed code not to throw an exception on unknown attributes

Reviewed-by: chegar
2009-01-27 11:36:28 +01:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00
Sergey Malenkov
606b473fb5 4222508: JColorChooser ignores setEnabled() function call
Reviewed-by: peterz, rupashka
2009-01-23 18:31:08 +03:00
Andrew Brygin
8c2a336349 6795544: GIFImageWriter does not write the subImage of BufferedImage to a file correctly
Reviewed-by: igor, prr
2009-01-23 17:43:29 +03:00
Xueming Shen
a9c275ed18 6476425: (fmt)java.util.Formatter.print() throws IllegalArgumentException on large BigDecima
Correct the wrong calculation of "precision" in certain circumstances.

Reviewed-by: darcy, alanb
2009-01-22 20:29:54 -08:00
Naoto Sato
c0b51b7972 6627549: ISO 3166 code addition: Saint Barthelemy and Saint Martin
6786276: Locale.getISOCountries() still contains country code "CS"

Reviewed-by: okutsu
2009-01-21 13:58:46 -08:00
Alex Menkov
e3d66c6414 6702956: OpenJDK: replace encumbered code (software synthesizer)
6717691: Update Gervill with post 1.0 fixes
6740210: Update Gervill with more post 1.0 fixes
6748247: Further update Gervill with still more post 1.0 fixes
6748251: Apply IcedTea midi sound patch
6758986: Gervill: Turn SoftJitterCorrector, SoftAudioPusher threads into a daemon threads

Reviewed-by: ohair, darcy
2009-01-19 20:11:58 +03:00
Andrew Brygin
47a5b98c7f 6788096: ImageIO SreamCloser causes memory leak in FX applets
Reviewed-by: igor, prr
2009-01-15 13:55:30 +03:00
Martin von Gagern
57a1271b06 6782079: PNG: reading metadata may cause OOM on truncated images
Reviewed-by: igor, prr
2009-01-13 18:38:44 +03:00
Martin von Gagern
bf4d190698 5082756: Image I/O plug-ins set metadata boolean attributes to "true" or "false"
Reviewed-by: igor, prr
2009-01-13 16:55:12 +03:00
Tim Bell
9298831bab Merge 2009-01-09 22:01:38 -08:00
Jeremy Manson
e8974fee90 6791458: FileInputStream/RandomAccessFile.read leaks memory if invoked on closed stream with len > 8k
Reviewed-by: alanb
2009-01-08 14:07:45 -08:00
Gary Benson
95f5222445 6788196: (porting) Bounds checks in io_util.c rely on undefined behaviour
Reviewed-by: alanb
2009-01-07 11:50:32 -08:00
Tomas Hurka
b1c4a6ff3f 6790467: Add test for setInterval() for local MonitoredHost and local MonitoredVm
Test for MonitoredHost.setInterval() and MonitoredVm.setInterval() added

Reviewed-by: swamyv
2009-01-07 14:06:04 +01:00
Lana Steuck
e39c4cbfe7 Merge 2009-01-06 16:24:03 -08:00
Phil Race
a0930ff4d4 6785424: SecurityException locating physical fonts on Windows Terminal Server
Reviewed-by: campbell, jgodinez
2009-01-06 13:52:03 -08:00
Phil Race
c357cbe4e0 6632886: Font.createFont can be persuaded to leak temporary files
6522586: Enforce limits on Font creation
6652929: Font.createFont(int,File) trusts File.getPath

Reviewed-by: igor
2009-01-05 11:28:43 -08:00
Sergey Malenkov
aa3da7789a 6736248: EnumEditor bug. Class check incorrect
Reviewed-by: rupashka, alexp
2008-12-25 20:43:44 +03:00
Phil Race
14b56dc3a0 6652463: MediaSize constructors allow to redefine the mapping of standard MediaSizeName values
Reviewed-by: igor, jgodinez
2008-12-24 15:48:59 -08:00
Phil Race
6f0de04c87 6752638: java.awt.GraphicsEnvironment.preferLocaleFonts() throws NPE on Linux
6755034: Legal notice repair: jdk/src/solaris/classes/sun/font/FcFontConfiguration.java

Reviewed-by: bae, igor
2008-12-24 09:57:48 -08:00
Sergey Malenkov
9330abadea 4864117: RFE: Make XMLDecoder API more reusable
Reviewed-by: peterz, loneid
2008-12-22 17:42:49 +03:00
Tim Bell
928a098209 Merge 2008-12-19 10:37:50 -08:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Martin von Gagern
6f7b6c816a 5106550: PNG writer merge standard metadata fails for TextEntry sans #IMPLIED attributes
Reviewed-by: igor, prr
2008-12-12 17:38:14 +03:00
Eamonn McManus
871bbff9ce 6456269: Add a GenericMBeanException so clients don't have to have server's exception classes present
Reviewed-by: jfdenise, dfuchs
2008-12-10 11:59:32 +01:00
Shanliang Jiang
0a521a9457 Merge 2008-12-09 20:51:59 +01:00
Shanliang Jiang
16870a7767 6336980: NotificationBroadcasterSupport: to tell whether there are listeners and to do clear
Reviewed-by: emcmanus
2008-12-09 20:50:45 +01:00
Daniel Fuchs
2064095b24 6768935: Clarify the behaviour of ObjectName pattern matching with regards to namespaces
Reviewed-by: emcmanus
2008-12-09 20:20:48 +01:00
Shanliang Jiang
6a4903d458 6332907: Add ability for connector server to close individual connections
Reviewed-by: emcmanus
2008-12-09 19:44:22 +01:00
Shanliang Jiang
e7d171eac3 Merge 2008-12-09 18:45:09 +01:00
Shanliang Jiang
d2c931b222 6760712: Provide a connector server option that causes it not to prevent the VM from exiting
Reviewed-by: emcmanus
2008-12-09 18:42:13 +01:00
Jean-Francois Denise
85e1e1e290 6287328: Add methods to StandardMBean to retrieve a method based on MBean{Attribute|Operation}Info
Reviewed-by: emcmanus
2008-12-09 16:26:30 +01:00
Jean-Francois Denise
ef7000f82e 6450834: RFE: allow StandardMBean to call MBeanRegistration methods on its wrapped resource
6373143: MonitorNotification should have a public constructor

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

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

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

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

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

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

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

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

Small JMX RFEs

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

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

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

Documentation fixes, plus simple bugfix for 6759619.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

New javax.management.namespace package.

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

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

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

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

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

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

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

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

Reviewed-by: art, ant
2008-08-25 19:15:37 +04:00