Commit Graph

465 Commits

Author SHA1 Message Date
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
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
Andrei Dmitriev
87e915d1af 6638872: invalid links
Removed invalid links

Reviewed-by: dcherepanov
2008-03-24 18:24:15 +03: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
Valerie Peng
43aa87d64a Merge 2008-03-21 14:45:20 -07:00
Eamonn McManus
4387f047bc 6643627: JMX source code includes incorrect Java code
Javac compiler bug accepts incorrect code; JMX code inadvertently has such code

Reviewed-by: dfuchs
2008-03-21 18:07:57 +01:00
Eamonn McManus
86bf96a3b2 6649542: Document explicitly in registerMBean etc that MBeanServerNotification is emitted
Make spec more readable by adding cross-references.  Suggested by Andrew Haley.

Reviewed-by: dfuchs
2008-03-21 09:49:40 +01:00
Anton Tarasov
f865626b54 6599270: Using EmbeddedFrame in SWT leads to a hang
Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process.

Reviewed-by: son
2008-03-21 09:54:50 +03:00
Valerie Peng
adaa79491e 6599979: KeyStore.setEntry/setKeyEntry() do not override existing entry for secret key objects
Override existing secret key entry when setEntry/setKeyEntry() is called

Reviewed-by: andreas
2008-03-20 18:41:05 -07:00
Valerie Peng
4b9b2408f3 6572331: regression: cipher.wrap operation fails with CKR_ATTRIBUTE_VALUE_INVALID
Check supported key size range and use encryption if needed

Reviewed-by: andreas
2008-03-20 17:17:10 -07:00
Valerie Peng
83d7d2cdfb 4898461: Support for ECB and CBC/PKCS5Padding
Add support for ECB mode and PKCS5Padding

Reviewed-by: andreas
2008-03-20 16:02:23 -07:00
Anton Tarasov
74107ff438 6598089: JDK 7: AWT often goes into busy loop when showing dialog
Preventing focus from getting in an endless loop.

Reviewed-by: son
2008-03-20 18:06:41 +03:00
Oleg Sukhodolsky
816ed65ca6 6630878: clean target in sun/xawt is incomplete
Clean target should remove .gen_icons

Reviewed-by: yan
2008-03-20 16:21:44 +03:00
Anton Tarasov
6898039064 Merge 2008-03-20 14:26:38 +03:00
Anthony Petrov
eb02c12739 4993545: NativeInLightFixer adds asynchronousity
All the hooks related to the NativeInLightFixer have been moved to the HW/LW mixing handling methods. The NativeInLightFixer itself has been removed.

Reviewed-by: son, alexp
2008-03-20 11:09:16 +03:00
Weijun Wang
2aadb6cde1 6670362: HTTP/SPNEGO should work across realms
Reviewed-by: valeriep
2008-03-20 11:57:06 +08:00
Kelly O'Hair
cd2e0b7e91 6611629: Avoid hardcoded cygwin paths for memory detection
Use free with sygwin, mem or systeminfo otherwise, to get MB_OF_MEMORY on windows.

Reviewed-by: tbell
2008-03-19 13:26:29 -07:00
Mandy Chung
c1473eafef Merge 2008-03-19 11:13:46 -07:00
Eamonn McManus
bca4fce00a 6675768: NoSuchElementException thrown in RequiredModelMBean when tracing enabled
Rewrite logging in RequiredModelMBean.addAttributeChangeNotificationListener

Reviewed-by: dfuchs
2008-03-19 15:17:22 +01:00
Anton Tarasov
a24634be6b 6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails
A filter flag has been added to the HCBT focus hook.

Reviewed-by: dcherepanov
2008-03-19 16:23:50 +03:00
Mandy Chung
9c8e97d713 6672804: First line in com/sun/management/package.html is broken
Fixed the typo in package.html

Reviewed-by: jjh
2008-03-18 12:53:47 -07:00
Mandy Chung
af4bff1a1e 6658779: Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: alanb, tbell
2008-03-18 11:53:15 -07:00
Kelly O'Hair
e35b18e39b 6654458: /java/devtools findbugs doesn't work on windows
Changes to both ant and findbugs version checking.

Reviewed-by: tbell
2008-03-18 11:08:09 -07:00
Kelly O'Hair
42919ee3bb 6674232: OPENJDK=false is same as OPENJDK=true
OPENJDK should be empty (undefined) or "true".

Reviewed-by: tbell
2008-03-18 11:06:34 -07:00
Kelly O'Hair
0dbfd8d9bf 6611788: chmod a+x bin/winver.exe in make/tools/winver/Makefile fails on a read only file system
Tell Mercurial this file has execute permission.

Reviewed-by: tbell
2008-03-18 11:04:42 -07:00
Kelly O'Hair
65cbc8719f 6674226: Warning errors in freetypecheck
Just corrected some C code to remove warning errors from gcc.

Reviewed-by: tbell
2008-03-18 11:03:27 -07:00
Anthony Petrov
723e255938 6589527: Window and Frame instances can hide their "Applet Warning"
Additional constraints have been added for the setBounds() operation.

Reviewed-by: son, art
2008-03-18 16:19:03 +03:00
Anthony Petrov
c195eb4ef5 6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons
The SWP_NOSENDCHANGING flag should not be passed to the ::SetWindowPos() WinAPI function when we receive the WM_MOUSEMOVE message while manually handling the resizing of non-focusable frames.

Reviewed-by: son, ant
2008-03-18 15:07:42 +03:00
Anthony Petrov
8813269b78 6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32
The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true.

Reviewed-by: son, dcherepanov
2008-03-18 14:36:14 +03:00
Anthony Petrov
80a01c0796 6637796: setBounds doesn't enlarge Component
Added the areBoundsValid() method that verifies whether the current bounds of the component are valid. Using the isValid() method for this purpose previously was incorrect.

Reviewed-by: son, art
2008-03-18 14:20:28 +03:00
Anthony Petrov
cdf1fcc79d 6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock
The body of the method has been wrapped into the synchronized (getTreeLock()) { } block.

Reviewed-by: son, art
2008-03-18 14:10:28 +03:00
Anthony Petrov
f92bcde478 6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit)
The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux

Reviewed-by: yan, avu
2008-03-18 13:53:08 +03:00
Anthony Petrov
2095e90fb0 6608764: PropertyChangeListeners machinery should have a better locking scheme
Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this

Reviewed-by: son, ant
2008-03-18 12:04:20 +03:00
Tim Bell
3a9b62e3d3 Merge 2008-03-17 23:03:51 -07:00
Tim Bell
fa4fe9bea5 Merge 2008-03-17 22:56:59 -07:00
Bradford Wetmore
99370e418f Merge 2008-03-17 12:27:58 -07:00
Bradford Wetmore
e5c032b7a8 Merge 2008-03-17 11:53:36 -07:00
Xue-Lei Andrew Fan
04886b6f44 6447412: Issue with socket.close() for ssl sockets when poweroff on other system
Support SSL sockets SOLINGER

Reviewed-by: chegar
2008-03-17 03:11:29 -04:00
Xue-Lei Andrew Fan
e61d136dd9 6542796: CPU issue with JSSE and tomcat
Record length count error

Reviewed-by: weijun
2008-03-16 23:46:27 -04:00
Xue-Lei Andrew Fan
4a616b5705 6618387: SSL client sessions do not close cleanly. A TCP reset occurs instead of a close_notify alert
CloseIdelConnection() does not query the cached connection correctly.

Reviewed-by: chegar
2008-03-16 01:37:44 -04:00
Xue-Lei Andrew Fan
5fc030e9d3 6648816: REGRESSION: setting -Djava.security.debug=failure result in NPE in ACC
Unchecking the null pointer of the debug handle

Reviewed-by: mullan, weijun
2008-03-15 13:43:05 -04:00
Xueming Shen
8436026352 6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers
Reviewed-by: iris
2008-03-14 14:21:03 -07:00
Dmitry Cherepanov
9e5bc6d8bf 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards
WS_DISABLED style should be used to fix some modality bugs

Reviewed-by: art, son
2008-03-14 22:00:33 +03:00
Dmitry Cherepanov
ad051bbc3a 6524352: support for high-resolution mouse wheel
Added support for high-resolution mouse wheel

Reviewed-by: dav, son
2008-03-14 20:40:09 +03:00
Dmitry Cherepanov
4033c90251 6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
AWT XEmbed shouldn't use _SUN_XEMBED_START message

Reviewed-by: art, son
2008-03-14 18:50:02 +03:00
Dmitry Cherepanov
f97f9eb9a5 6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
Partial rollback changes for 6567564 in the Component.getGC method

Reviewed-by: art, son
2008-03-14 18:27:34 +03:00
Sean Mullan
aa16afbf77 Merge 2008-03-14 10:33:21 -04:00
Dmitry Cherepanov
07a1367346 6522731: Location of the frame changes,when the frame is resized & non-resized
XMoveWindow() should use shell's location

Reviewed-by: son
2008-03-14 17:23:25 +03:00
Roman Kennke
eab1a9b3df 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
Reviewed-by: iris
2008-03-13 19:34:49 +00:00
Alan Bateman
66fa5dcf96 6628575: (fc) lock/tryLock methods do not work with NFS servers that limit lock range to max file size
Reviewed-by: sherman
2008-03-13 19:29:41 +00:00
Sean Mullan
cf50796ba5 6611991: Add support for parsing RFC4514 DNs to X500Principal
Added new test and made one code change to escape null characters.

Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00
Oleg Sukhodolsky
dc0d619ccb 6538066: XSelection should be more passive
Now only XClipboard know about XSelection, and XSelection knows nothing about XClipboard.

Reviewed-by: uta, denis
2008-03-13 17:14:44 +03:00
Oleg Sukhodolsky
205971fd7c 6645856: static field XWindowPeer.defaultFont hides XWindow.defaultFont
Unnedded code has been removed.  Added getter for XWindow.defaultFont to initialize it lazily.

Reviewed-by: dav
2008-03-13 17:08:15 +03:00
Oleg Sukhodolsky
3c81ec3851 6645885: small refactoring for XContentWindow
Move createContent() method from XDecoratedPeer to XContentWindow, so only XContentWindow keep information about the way we position it.

Reviewed-by: anthony
2008-03-13 17:04:54 +03:00
Oleg Sukhodolsky
a7dad49796 6636368: XAtom contains unused code
Unused code has been removed

Reviewed-by: dcherepanov
2008-03-13 16:56:54 +03:00
Oleg Sukhodolsky
9c0e7108a3 6636370: minor corrections and simplification of code in AppContext
MainAppContext, isDisposed, and numAppContexts has beem made volatile.  mostRecentThreadAppContext has been rewritten using ThreadLocal.

Reviewed-by: art
2008-03-13 16:54:51 +03:00
Oleg Sukhodolsky
794142ee36 6636331: ConcurrentModificationException in AppContext code
Added synchronization to AppContext.getAppContexts()

Reviewed-by: art
2008-03-13 16:51:04 +03:00
Oleg Sukhodolsky
59d9653ecf 6636369: sun.awt.datatransfer.DataTransferer contains double-check idiom
Double-check has been removed

Reviewed-by: dav
2008-03-13 16:47:40 +03:00
Oleg Sukhodolsky
43fd376e71 6607163: Linux: Cannot copy image from Java to OpenOffice
TARGETS should have type ATOM

Reviewed-by: denis
2008-03-13 16:42:52 +03:00
Oleg Sukhodolsky
c02f0bd9b7 6603256: Startup: Defer initialization of DropTarget's flavorMap
SystemFlavorMap is lazily initialized now.

Reviewed-by: uta
2008-03-13 16:32:15 +03:00
Oleg Sukhodolsky
16b0d38feb 6592751: EmbeddedFrame disposal is fragile and breaks clean AppContext termination
AppContext.dispose() should be ready to get exceptions during disposal of toplevels.  Also now we mark windows peers as destroyed when native object has been destroyed.

Reviewed-by: art
2008-03-13 16:27:20 +03:00
Oleg Sukhodolsky
d51ba24908 6632140: minor refactoring for XWM
Code cleanup and generificaion for XWM

Reviewed-by: anthony
2008-03-13 16:19:32 +03:00
Oleg Sukhodolsky
ee0c8e43e4 6616095: AWT's WindowDisposerRecord keeps AppContext alive too long
WindowDisposerRecord should not keep strong reference to AppContext.

Reviewed-by: art
2008-03-13 16:12:56 +03:00
Oleg Sukhodolsky
2a20e69f1a 6595651: Focus transfers broken for applications embedding AWT across processes
Now we allow cross-process focus requests if focus is in embedder's process.

Reviewed-by: ant
2008-03-13 15:36:31 +03:00
Bradford Wetmore
b12d27166f Merge 2008-03-11 23:37:02 -07:00
Weijun Wang
7434ffcbfb 6673164: dns_fallback parse error
Reviewed-by: valeriep
2008-03-12 09:32:38 +08:00
Alan Bateman
40922e9127 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException
Reviewed-by: chegar
2008-03-11 14:49:53 +00:00
Alan Bateman
d5b852b81d 6448457: (ch) Channels.newOutputStream().write() does not write all data
Reviewed-by: iris, sherman
2008-03-11 14:42:35 +00:00
Martin Buchholz
5d9d5e3e88 6625725: (coll) modCount should not be volatile
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Martin Buchholz
95c7559bd3 6583872: (coll) Direct uninformed users away from Vector/Hashtable
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Martin Buchholz
af3cf15e6e 6633113: test/java/util/concurrent/SynchronousQueue/Fairness.java fails intermittently
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Doug Lea
e4f30f8084 6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
2bcc7a86a0 6620549: ExecutorService#shutdown should clearly state that it does not block
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
f280870c0f 6609775: Reduce context switches in DelayQueue due to signalAll
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Doug Lea
0170151171 6602600: Fast removal of cancelled scheduled thread pool tasks
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Martin Buchholz
2ebe861fe5 6612102: (coll) IdentityHashMap.iterator().remove() might decrement size twice
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
f8092959d4 6595669: regtest LinkedBlockingQueue/OfferRemoveLoops.java fails
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
5f387b52a1 5080227: (coll spec) Bug in documentation for WeakHashMap
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Luis Miguel Alventosa
134f15a93f 6655515: MBeans tab: operation return values of type Component displayed as String
6439590: MBeans tab: jconsole mbean tree not correctly refreshed
6446434: MBeans tab: Not possible to view MBean content before all MBeans have been initially loaded
6520144: Hard to find MBean Attributes, Operations, and Notifications in Java 6 jconsole
6522091: VMPanel.java contains non-ASCII character
6608334: JConsole fails to display MBean operation with <null> return type
6611445: MBeans tab: MBean tree algorithm wrongly removes intermediate nodes

Reviewed-by: dfuchs, jfdenise
2008-03-11 01:20:55 +01:00
Kelly O'Hair
c0165a4ae8 6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
OUTPUTDIR changes to make sure absolute path is correct.

Reviewed-by: xdono
2008-03-10 16:51:23 -07:00
Luis Miguel Alventosa
c88c71b755 Merge 2008-03-10 23:51:13 +01:00
Luis Miguel Alventosa
cc358443d5 Merge 2008-03-10 23:31:50 +01:00
Luis Miguel Alventosa
f810300851 4981215: Publishing a port number for management console to access
Reviewed-by: emcmanus, dfuchs
2008-03-10 23:13:31 +01:00
Martin Buchholz
4341094beb 6600143: Remove another 450 unnecessary casts
Reviewed-by: alanb, iris, lmalvent, bristor, peterjones, darcy, wetmore
2008-03-10 15:07:09 -07:00
Martin Buchholz
f3d6a3bd3b 6671051: (process) Runtime.exec() hangs if signalled during fork/exec
Reviewed-by: iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
4385dbf930 6642034: System.getProperty("os.name") returns Windows Vista on Windows Server 2008 (longhorn)
Reviewed-by: iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
abde1241e1 4960438: (process) Need IO redirection API for subprocesses
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
504a24907d 6631352: File{OutputStream,Writer} should implement atomic append mode using FILE_APPEND_DATA (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
8d412f036d 6631437: File{In,Out}putStream minor improvements to spec and stylistic improvements to code
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
2c1daccc0a 6631362: Nuke io_util_md.c:handleFileSizeFD (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
a686efe6ac 6632696: Writing to closed output files (writeBytes) leaks native memory (unix)
Reviewed-by: alanb, iris
2008-03-10 14:32:51 -07:00
Martin Buchholz
4d5b998028 6631966: (process) Raise Windows pipe buffer size an extra 24 bytes (win)
Reviewed-by: alanb, iris
2008-03-10 14:32:50 -07:00
Martin Buchholz
f7ce4bc4ab 6633613: (str) StringCoding optimizations to avoid unnecessary array copies with Charset arg
Reviewed-by: iris
2008-03-09 21:56:42 -07:00
Martin Buchholz
14120d1c34 6671834: (str) Eliminate StringCoding.java compile warnings
Reviewed-by: iris
2008-03-09 21:56:42 -07:00
Martin Buchholz
13ced2b935 4499288: (cs spec) Charset terminology problems
Reviewed-by: mr, iris
2008-03-09 21:56:42 -07:00
Kelly O'Hair
fbfab433d5 6672777: Broken deploy build from jdk fix 6668781 for cygwin windows
Deploy workspace does not set BUILDDIR, uses it, assumes it is jdk/make.

Reviewed-by: xdono
2008-03-09 14:16:49 -07:00
Weijun Wang
095647f3a4 6597349: KeyStore.getCertificateChain() may not return the full chain
Reviewed-by: mullan
2008-03-08 22:52:20 +08:00
Weijun Wang
e75aa5c3ab 6643094: Test on keytool -startdate forgets about December
Reviewed-by: xuelei
2008-03-08 22:51:14 +08:00
Weijun Wang
b85d2a9e76 6634644: broken fragment, should use @link
Reviewed-by: mullan
2008-03-08 22:49:45 +08:00
Phil Race
a15c780502 6640532: Graphics.getFontMetrics() throws NullPointerException
NIO usage needs to be robust against Thread.interrupt()

Reviewed-by: tdv
2008-03-07 12:13:17 -08:00
Chris Hegarty
ff13f5c98a Merge 2008-03-07 17:18:22 +00:00
Chris Hegarty
077f55f470 6631048: Problem when writing on output stream of HttpURLConnection
Fix up logic in ChunkedOutputStream.write

Reviewed-by: jccollet
2008-03-07 17:17:49 +00:00
Chris Hegarty
ff08ed9bb1 Merge 2008-03-07 07:28:50 -08:00
Chris Hegarty
950ab58166 6628661: NTLM-authentication doesn't work with non-ASCII letters
Use JNU_GetStringPlatformChars to convert jstrings to the locale specific native C strings

Reviewed-by: michaelm
2008-03-07 07:25:17 -08:00
Chris Hegarty
afd3b1f4ba 6672682: Forgotten file from CR 6615656
Reviewed-by: michaelm
2008-03-07 15:15:54 +00:00
Chris Hegarty
349fef2b70 6628576: InterfaceAddress.equals() NPE when broadcast field == null
Update logic in equals to correctly handle nulls.

Reviewed-by: michaelm
2008-03-07 13:00:44 +00:00
Chris Hegarty
1b9d87730f 6591358: documentation error in URLConnection.setRequestProperty("accept", ...)
Simple doc change, "accept" -> "Accept"

Reviewed-by: jccollet
2008-03-07 11:51:27 +00:00
Chris Hegarty
b8383dba86 6615656: Removed unimplemented java.net methods
Reviewed-by: jccollet
2008-03-07 11:30:32 +00:00
Chris Hegarty
b02a978ac4 6667108: typo in javadoc for java.net.Socket.getRemoteSocketAddress()
Simple typo in method specification.

Reviewed-by: jccollet
2008-03-07 09:57:22 +00:00
Bradford Wetmore
623bcb71a5 6578538: com.sun.crypto.provider.SunJCE instance leak using KRB5 and LoginContext
Reviewed-by: valeriep
2008-03-06 16:06:45 -08:00
Kelly O'Hair
373ad3f1c5 6628146: Exclude the .hgignore and .hgtags files from the source bundles
Just add to list of SCM files.

Reviewed-by: xdono
2008-03-06 11:37:14 -08:00
Bradford Wetmore
9a2759ee8d 6623830: SCCS cleanup has broken two regression tests
Reviewed-by: chegar
2008-03-06 10:35:28 -08:00
Kumar Srinivasan
86d2ba8dfc 6596475: (launcher) javaw should call InitCommonControls
Javaw does not show error window after manifest changes.

Reviewed-by: darcy
2008-03-06 07:51:28 -08:00
Jean-Christophe Collet
e33dde9817 6651717: Debug output statement left in MailToURLConnection
Removed output statement, removed unused imports, added override tags.

Reviewed-by: chegar
2008-03-05 18:11:33 +01:00
Jean-Christophe Collet
45c655a782 6660405: HttpURLConnection returns the wrong InputStream
Set inputStream back to null in disconnectInternal().

Reviewed-by: chegar
2008-03-05 17:16:14 +01:00
Weijun Wang
be421c50f1 6664612: debug output leaked
Reviewed-by: valeriep
2008-03-05 22:16:06 +08:00
Weijun Wang
0c6743a970 6590930: reed/write does not match for ccache
Add null-awareness to ccache read

Reviewed-by: valeriep
2008-03-05 22:15:45 +08:00
Weijun Wang
578a880fee 6648972: KDCReq.init always read padata
PA-DATA is optional, only read it when it exists

Reviewed-by: valeriep
2008-03-05 21:55:33 +08:00
Jean-Christophe Collet
ffacce2397 6641309: Wrong Cookie separator used in HttpURLConnection
Added a space to cookie separator. Generified the code and added tags.

Reviewed-by: chegar
2008-03-05 11:40:22 +01:00
Weijun Wang
0f960354ea 6641312: Fix krb5 codes indentation problems
Reviewed-by: xuelei, valeriep, wetmore
2008-03-05 09:52:50 +08:00
Kelly O'Hair
4b49c996b4 6668781: Openjdk windows cygwin build failure: no rule to make linker_md.obj target
Use of GNU make vpath breaks on windows with C:/ style fullpaths

Reviewed-by: xdono
2008-03-04 09:52:54 -08:00
Kelly O'Hair
c13218442a 6638060: Build failed with GNU make 3.81 (part of latest Solaris 'gmake')
Changes to the way GNU make 3.81 deals with the env variable SHELL

Reviewed-by: xdono
2008-03-04 09:51:25 -08:00
Kelly O'Hair
962e1ab78e 6638571: Fix freetype sanity check to work on solaris 64bit
Missing -xarch options to build for 64bit

Reviewed-by: xdono
2008-03-04 09:50:30 -08:00
Kelly O'Hair
05b8e8fbfd 6637583: Build failure on latest Solaris, source missing include of resource.h?
The include of sys/resource.h must be explicit

Reviewed-by: xdono
2008-03-04 09:49:22 -08:00
Kelly O'Hair
e467c731a7 6654456: OpenJDK build problem with freetype makefiles
Ifdef test on OPENJDK before it gets set based on source tree contents

Reviewed-by: xdono
2008-03-04 09:47:43 -08:00
Chris Hegarty
6797bd9fb2 6638560: APPCRASH in "SPNEGO_HTTP_AUTH/PROXY_FALLBACK" test case with 64 bit JDK on Win2008 x64, VinVista x64
Remove incorrect free from native code

Reviewed-by: jccollet
2008-03-04 17:09:09 +00:00
Eamonn McManus
5cd758db4c 6670375: Missing unit test for 6607114 (Make JMXServiceURL reconstructible)
Current setup doesn't allow two pushes with same CR number

Reviewed-by: dfuchs
2008-03-03 15:44:50 +01:00
Eamonn McManus
4ef2f229c7 Merge 2008-03-03 15:29:22 +01:00
Eamonn McManus
8736cd2d59 6607114: Make JMXServiceURL reconstructible in MXBeans
Add @ConstructorProperties tag to JMXServiceURL

Reviewed-by: dfuchs
2008-03-03 15:28:40 +01:00
Daniel Fuchs
c79ec66f1a 6651382: The Java JVM SNMP provider reports incorrect stats when asked for multiple OIDs
The JvmMemPoolEntryImpl must use the row index when caching data.

Reviewed-by: jfdenise
2008-03-03 12:29:42 +01:00
Eamonn McManus
104cc86359 6602310: Extensions to Query API for JMX 2.0
6604768: IN queries require their arguments to be constants

New JMX query language and support for dotted attributes in queries.

Reviewed-by: dfuchs
2008-03-03 10:32:38 +01:00
Mark Reinhold
1fd0bb2370 6669216: Add jcheck configuration directories
Reviewed-by: ohair, xdono
2008-02-29 20:04:01 -08:00
Xiomara Jayasena
e40791d448 Added tag jdk7-b24 for changeset 90ce3da70b43 2007-12-04 16:28:33 -08:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00