Commit Graph

1566 Commits

Author SHA1 Message Date
Jean-Christophe Collet
33dbe6a01d 6855297: Windows build breaks after 6811297
Re-introduced the mistakenly taken out authObj member

Reviewed-by: chegar
2009-06-26 16:50:58 +02:00
Sergey Malenkov
99370fd871 6742850: Antialiasing for GTK L&F should be turned on by default if there is no embedded bitmap
Reviewed-by: peterz
2009-06-26 17:15:19 +04:00
Sergey Malenkov
d41845e0ab 6679840: provide a way to choose v-synced BufferStrategy
Reviewed-by: peterz
2009-06-26 16:58:46 +04:00
Sergey Malenkov
0ed9b1c52f 6557223: Resize cursor stays after fast outline-resize of JInternalFrame with JScrollPane
Reviewed-by: peterz
2009-06-26 16:30:02 +04:00
Yuri Nesterenko
c61b48b28b 6711676: Numpad keys trigger more than one KeyEvent
Introduce a new sniffer based on server keymap.

Reviewed-by: art
2009-06-26 11:48:58 +04:00
Peter Zhelezniakov
433856b24d 6827032: NIMBUS: Drag and drop throws a NPE in SwingSet2 ColorChooser
Reviewed-by: malenkov
2009-06-26 08:09:19 +04:00
Lillian Angel
9feab8fb3a 6852607: MessageUtils JVM crash
Fixes crash by checking null field

Reviewed-by: alanb
2009-06-25 17:01:56 -04:00
Xiomara Jayasena
16157d1e61 Added tag jdk7-b62 for changeset 301dcd5c88d0 2009-06-25 12:10:01 -07:00
Jean-Christophe Collet
1ece67558e 6811297: Add more logging to HTTP protocol handler
Added extra logging to HttpURLConnection and HttpClient. Added a capture tool.

Reviewed-by: chegar
2009-06-25 18:56:30 +02:00
Sergey Malenkov
3fcee8351e 6848364: javax/swing/border/Test4856008.java regression test fails due to BorderedComponent package not found
Reviewed-by: alexp
2009-06-25 18:50:51 +04:00
Yuka Kamiya
bbd33e6ddc 6792400: Avoid loading of Normalizer resources for simple uses
Reviewed-by: okutsu
2009-06-25 21:55:39 +09:00
Yuri Nesterenko
b6b6594d50 Merge 2009-06-25 02:42:26 -07:00
Yuka Kamiya
3876899a84 6609750: [Fmt-De] SimpleDateFormat.format() doesn't handle pattern "y" correctly
Reviewed-by: okutsu
2009-06-25 17:37:28 +09:00
Yuri Nesterenko
0efb52dc90 Merge 2009-06-25 00:18:46 -07:00
Yuka Kamiya
f73952ec12 6853792: test/java/text/Bidi/Bug6850113.java compilation error
Reviewed-by: okutsu
2009-06-25 07:38:09 +09:00
Andy Herrick
b8b39b3d37 6633813: Add standard hotspot import path for Kernel VM
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-24 14:49:31 -04:00
Jennifer Godinez
912fd84f30 Merge 2009-06-24 11:49:16 -07:00
Sergey Malenkov
eaf8bfc5f3 6737700: api/javax_swing/table/DefaultTableCellRenderer/index.html#getset:DefaultTableCellRenderer
Reviewed-by: alexp
2009-06-24 17:45:19 +04:00
Sergey Malenkov
c48e8ec7a6 6852574: EnumPersistenceDelegate fails to persist instances with blocks
Reviewed-by: peterz
2009-06-24 13:59:54 +04:00
Yuri Nesterenko
46360bd868 Merge 2009-06-23 23:09:49 -07:00
Tim Bell
b9554f42b8 Merge 2009-06-23 22:07:58 -07:00
Anthony Petrov
b751a27e27 6851646: test/closed/java/awt/GridBagLayout/GridBagLayoutIpadXYTest/GridBagLayoutIpadXYTest.java can fail
Added realSync() call. Made the test public.

Reviewed-by: dcherepanov
2009-06-23 16:10:19 +04:00
Anton Tarasov
4fc4bb20ae 6821291: assertion failure in awt_Frame.h
Reviewed-by: dcherepanov, art
2009-06-23 15:53:32 +04:00
Dmitry Cherepanov
0cadb2e023 6736247: Component.printAll Invalid local JNI handle
Reviewed-by: anthony
2009-06-23 15:10:02 +04:00
Dmitry Cherepanov
2e78b95300 6824169: Need to remove some AWT class dependencies
Reviewed-by: art, anthony, igor, alexp
2009-06-23 13:35:58 +04:00
Peter Zhelezniakov
beedf39dce 6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus
Reviewed-by: prr
2009-06-23 12:24:11 +04:00
Martin Buchholz
cab60341e3 6853806: Prefer (cd $dir && jar) to jar -C for performance reasons
Eliminate (most) uses of jar -C

Reviewed-by: ohair
2009-06-22 21:07:20 -07:00
Jeremy Manson
7c01613569 6834805: Improve jar -C performance
Store "-C" directories in a HashSet, not List, to remove duplicates

Reviewed-by: sherman
2009-06-22 20:47:51 -07:00
Xueming Shen
3c65bb6343 6847092: (cs) CharsetEncoder.isLegalReplacement of US_ASCII behaves differently since
Updated the US_ASCII and ISO-8859-1 to fix the failure.

Reviewed-by: alanb, martin
2009-06-22 19:22:47 -07:00
Martin Buchholz
614cc9b007 6851653: (launcher) Make every java process 20 bytes smaller
Carefully keep track of every byte

Reviewed-by: ksrini, xlu
2009-06-22 16:41:27 -07:00
Phil Race
886c516b5b 6853617: race condition in java.awt.Font.getAttributes() (private method)
Reviewed-by: igor, jgodinez
2009-06-22 14:10:09 -07:00
Jennifer Godinez
cb5399d380 6850398: Allow GraphicsEnvironment to be loaded by system classloader (edit)
Reviewed-by: campbell, prr
2009-06-22 09:47:50 -07:00
Kumar Srinivasan
d92c74443f 6830335: Java JAR Pack200 Decompression Integer Overflow Vulnerability
Fixes a potential vulnerability in the unpack200 logic, by adding extra checks, a back-port.

Reviewed-by: asaha
2009-06-22 07:23:20 -07:00
Sean Mullan
68d0756ea6 6824440: XML Signature HMAC issue
Reviewed-by: asaha
2009-06-23 13:54:36 -04:00
Abhijit Saha
6b90310fed 6656610: AccessibleResourceBundle.getContents exposes mutable static (findbugs)
Reviewed-by: hawtin
2009-06-22 13:36:37 -07:00
Peter Zhelezniakov
3006b1fcd0 6849277: Nimbus L&F: lots of painter classes were added to JDK7 as public
Reviewed-by: malenkov
2009-06-22 18:08:50 +04:00
Andy Herrick
ca0d6a6d87 Merge 2009-06-22 09:16:54 -04:00
Tim Bell
8848c1d3d6 Merge 2009-06-21 23:52:58 -07:00
Martin Buchholz
356454363f 6853336: (process) disable or remove clone-exec feature (6850720)
Clone-exec feature (6850720) needs more work on 32-bit Linux

Reviewed-by: alanb, michaelm
2009-06-21 12:02:14 -07:00
Xiaobin Lu
c0146a5bd0 6850606: Regression from JDK 1.6.0_12
The returned result from multiply should be constructed by using valueOf to take care of the INFLATED case.

Reviewed-by: darcy
2009-06-20 13:34:06 -07:00
Xueming Shen
721a90bda5 6299219: euro sign failed to be printed in Console on Localized Windows platform with GBK encoding
4891024: EUC-KR and JOHAB converters need to be updated to include two new characters
4287467: Character converter generator tool

Migrated some of the doublebyte charsets to the new implementation.

Reviewed-by: okutsu
2009-06-19 14:39:06 -07:00
Lillian Angel
5cd182518e 6721086: Toolkit beep does not work consistently
Flush out after bell is sounded

Reviewed-by: anthony
2009-06-19 16:49:50 -04:00
Andy Herrick
2d11eb64db 6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-19 15:04:51 -04:00
Andy Herrick
2eaba45345 6852646: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-19 11:46:39 -04:00
Jean-Christophe Collet
712e4baa4b 6852108: Remove Preferences dependance from SocksSocketImpl
Removed Preferences API use and fixed a few findbugs gotchas

Reviewed-by: alanb
2009-06-19 14:12:22 +02:00
Weijun Wang
1d5c589340 6851973: ignore incoming channel binding if acceptor does not set one
Reviewed-by: valeriep
2009-06-19 18:03:27 +08:00
Abhijit Saha
d89108356d Merge 2009-06-18 22:53:54 -07:00
Abhijit Saha
f63a5c2e42 Merge 2009-06-18 22:45:16 -07:00
Xiomara Jayasena
38d90218be Added tag jdk7-b61 for changeset 11089342ea90 2009-06-18 13:05:38 -07:00
Sean Mullan
1d306fbe9b Merge 2009-06-18 10:38:21 -04:00
Sean Mullan
5e6adf6d99 6833839: RFE: improve ManifestDigester by instantiating StringBuilder constructor w/ initial value
Reviewed-by: weijun
2009-06-18 09:04:20 -04:00
Sergey Malenkov
0681d1454c 6660049: Synth Region.uiToRegionMap/lowerCaseNameMap are mutable statics
Reviewed-by: hawtin
2009-06-18 14:08:07 +04:00
Anton Tarasov
48ed6852bf 4788402: SortingFocusTraversalPolicy: prob with non-focusable focus Cycle Root as first
Reviewed-by: dcherepanov
2009-06-18 11:28:54 +04:00
Yuri Nesterenko
0b09aba377 Merge 2009-06-17 23:27:56 -07:00
Weijun Wang
f5d1fbc0b4 6712755: jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.0_13
Reviewed-by: mullan
2009-06-18 11:12:13 +08:00
Andrew John Hughes
fdff41f711 6851515: awt_p.h incorporates a chunk of the XRender header
Use XRender header directly rather than copying chunks locally

Reviewed-by: anthony, ohair
2009-06-17 21:13:04 +01:00
Abhijit Saha
9a130fd30d Merge 2009-06-17 13:12:42 -07:00
Weijun Wang
7b2694f5b3 6849275: enhance krb5 reg tests
Reviewed-by: xuelei
2009-06-17 15:26:58 +08:00
Xue-Lei Andrew Fan
71306719d3 6850783: InvalidityDateExtension returns reference to internal mutable state
Return cloned instead of referenced object

Reviewed-by: weijun
2009-06-16 20:46:25 +08:00
Yuri Nesterenko
d184c2ebce Merge 2009-06-16 00:37:39 -07:00
Andy Herrick
1939fe49d8 Merge 2009-06-15 13:08:29 -04:00
Jennifer Godinez
45febb097f Merge 2009-06-15 09:59:03 -07:00
Dmitry Cherepanov
d7d8999b2b 6847584: closed/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html fails
Reviewed-by: anthony
2009-06-15 11:15:55 -04:00
Andrew Brygin
0574960761 6684104: Applets fails to launch using ImageIO if .java.policy with File permissions present on the system
Reviewed-by: igor, prr
2009-06-15 17:19:33 +04:00
Andrew Brygin
5ecb6c24be 6829549: JVM crash on certain images
Reviewed-by: igor, prr
2009-06-15 14:49:22 +04:00
Jeremy Manson
5bf951e2a6 6511515: poor performance of LogRecord.inferCaller depending on java.lang.Throwable.getStackTraceElement
Allow random access to stack trace elements; retrieve only needed ones

Reviewed-by: swamyv
2009-06-14 14:33:30 -07:00
Martin Buchholz
a5e977cf14 6850720: (process) Use clone(CLONE_VM), not fork, on Linux to avoid swap exhaustion
Use clone(CLONE_VM) on Linux; Reluctantly implement execvpe.

Reviewed-by: michaelm
2009-06-14 14:23:22 -07:00
Yuka Kamiya
3445a11481 6850113: Bidi class needs to be updated to support Unicode 5.1
Reviewed-by: okutsu
2009-06-13 06:43:54 +09:00
Abhijit Saha
d214e051c9 Merge 2009-06-12 12:26:20 -07:00
Andy Herrick
e487e25584 6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
6845973: Update JDK7 with deployment changes in 6u13, 6u14
4802695: Support 64-bit Java Plug-in and Java webstart on Windows/Linux on AMD64
6825019: DownloadManager should not be loaded and referenced for full JRE
6738770: REGRESSION:JSException throws when use LiveConnect javascript facility
6772884: plugin2 : java.lang.OutOfMemoryError or crash
6707535: Crossing domain hole affecting multiple sites/domains using plug-in
6728071: Non-verification of Update files may allow unintended updates
6704154: Code loaded from local filesystem should not get access to localhost
6727081: Web Start security restrictions bypass using special extension jnlp
6727079: Java Web Start Socket() restriction bypass
6727071: Cache location/user name information disclosure in SingleInstanceImpl
6716217: AppletClassLoader adds permissions based on codebase regardless of CS
6694892: Java Webstart inclusion via system properties override [CVE-2008-2086]
6704074: localhost socket access due to cache location exposed
6703909: Java webstart arbitrary file creation using nativelib
6665315: browser crashes when deployment.properties has more slashes ( / )
6660121: Encoding values in JNLP files can cause buffer overflow
6606110: URLConnection.setProxiedHost for resources that are loaded via proxy
6581221: SSV(VISTA): Redirection FAILS to work if user does a downgrade install
6609756: Buffer Overflow in Java ActiveX component
6608712: Bypassing the same origin policy in Java with crafted names
6534630: "gnumake clobber" doesn't
6849953: JDK7 - replacement of bufferoverflowU.lib on amd64 breaks build
6849029: Need some JDK7 merge clean-up after comments on the webrev
6847582: Build problem on JDK7 with isSecureProperty in merge
6827935: JDK 7 deployment merging - problem in Compiler-msvm.gmk
6823215: latest merge fixes from 6u12 -> JDK7
6816153: further mergers for JDK7 deployment integration
6807074: Fix Java Kernel and JQS in initial JDK7 builds

Initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-12 14:56:32 -04:00
Abhijit Saha
b982198ede Merge 2009-06-12 10:54:48 -07:00
Tim Bell
54e8ace85c Merge 2009-06-11 21:32:12 -07:00
Xue-Lei Andrew Fan
2f977c16d9 6570344: Invalid RSA OID in sun.security.x509.AlgorithmId
Change RSA OID to "2.5.8.1.1"

Reviewed-by: mullan
2009-06-12 09:00:38 +08:00
Xiomara Jayasena
861912d777 Added tag jdk7-b60 for changeset 21261fc963f2 2009-06-11 10:54:22 -07:00
Andrew Brygin
d78db1b0c7 5101862: WBMP Image reader tries to load Quicktime MOV files
Reviewed-by: igor, prr
2009-06-11 14:22:33 +04:00
Andrew Brygin
83632f1cab 6296893: BMP Writer handles TopDown property incorrectly for some of the compression types
Reviewed-by: igor, prr
2009-06-11 13:47:42 +04:00
Sean Mullan
46c0719042 6845161: Bottleneck in Configuration.getConfiguration synchronized call
Reduce scope of synchronized block

Reviewed-by: weijun
2009-06-10 09:12:15 -07:00
Yuri Nesterenko
d094861eeb Merge 2009-06-09 23:47:38 -07:00
Weijun Wang
8a52d1a9d5 6578647: Undefined requesting URL in java.net.Authenticator.getPasswordAuthentication()
Reviewed-by: chegar, valeriep
2009-06-09 14:17:05 +08:00
Jennifer Godinez
b321d4a736 Merge 2009-06-08 13:56:45 -07:00
Dmitry Cherepanov
7019b37e8c 6829180: Removing focused component from a window causes a JVM crash for JDK7b50+ on WinXP/Vista
Access pData on the toolkit thread

Reviewed-by: art, anthony, naoto
2009-06-05 17:30:05 +04:00
Omair Majid
eb1cb99d4e 6832386: Fix JTreg test: java/awt/Graphics/DrawImageBG/SystemBgColorTest.java
Removed unneeded System.exit(0) call.

Reviewed-by: art, ohair, anthony
2009-06-04 15:18:46 +04:00
Xue-Lei Andrew Fan
105735aeb6 6847459: Allow trust anchor self-issued intermediate version 1 and version 2 certificate
Reviewed-by: weijun
2009-06-04 11:28:03 +08:00
Yuri Nesterenko
1770d3d03e 6839645: Swing application prints message in Control Panel if language is changed
Just remove debug printout from production builds; ignore multicharacter-generating keys

Reviewed-by: uta
2009-06-03 17:41:05 +04:00
Yuri Nesterenko
86df48bb43 Merge 2009-06-01 01:06:28 -07:00
Yuri Nesterenko
5979ab9e03 Merge 2009-06-01 01:05:22 -07:00
Xueming Shen
01649412e3 6808625: Incomplete code sample in Deflater javadoc
Added compresser.end() into example

Reviewed-by: martin
2009-05-29 16:34:49 -07:00
Jonathan Gibbons
e25b3b4834 6838199: remove support for old javap
Reviewed-by: ohair, mcimadamore
2009-05-29 16:27:26 -07:00
Chris Hegarty
9641cb498c 6807602: Increase MAX_BUFFER_LEN and MAX_HEAP_BUFFER_LEN on 64-bit Solaris and Linux
Reviewed-by: alanb
2009-05-29 15:51:43 +01:00
Pavel Porvatov
f46daf03eb 6845805: Test for CR 6713352 is failed under Linux
Reviewed-by: malenkov
2009-05-28 18:11:07 +04:00
Keith McGuigan
ac9b9ad0ea Merge 2009-05-27 15:32:21 -07:00
Keith McGuigan
c2ff547e1f 6838211: jdk docs creation broken for tracing docs
Fix javadoc makefile macro

Reviewed-by: ohair, jjg
2009-05-27 13:20:23 -07:00
Mandy Chung
e1109816d7 Merge 2009-05-27 13:02:00 -07:00
Xue-Lei Andrew Fan
06370a8f01 6845286: Add regression test for name constraints
Create regression test cases on name constraints

Reviewed-by: weijun
2009-05-27 17:48:22 +08:00
Mandy Chung
26e0c238dd 6535104: TEST_BUG: FindDeadlocks.java fails intermittently
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:09:32 -07:00
Mandy Chung
dd2d72ea50 6512493: TEST_BUG: unexpected LockInfo failure in LockedSynchronizers.java
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:07:14 -07:00
Mandy Chung
354731edb5 5080203: TEST_BUG: ThreadStateTest fails intermittently
Retry a few times to check thread status before reporting failure

Reviewed-by: swamyv
2009-05-26 18:02:44 -07:00
Mandy Chung
bb698a2b6f 6798842: TEST_BUG: ThreadStackTrace.java fails intermittently with unexpected thread status
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:54:28 -07:00
Mandy Chung
e2f7248afb 6829636: test/java/util/logging/LoggingDeadlock2.java is flaky
Remove @ignore

Reviewed-by: swamyv
2009-05-26 17:47:57 -07:00
Jean-Christophe Collet
74bfe722ce 6726695: HttpURLConnection shoul support 'Expect: 100-contimue' headers for PUT
Added code triggered when 'Expect: 100-continue' header has been added

Reviewed-by: chegar
2009-05-26 16:03:51 +02:00
Xue-Lei Andrew Fan
93614a3c7d 6720721: CRL check with circular depency support needed
Checking AKID of certificates and CRLs

Reviewed-by: mullan, weijun
2009-05-26 16:43:22 +08:00
Xue-Lei Andrew Fan
5f228867b6 6822460: support self-issued certificate
Checking self-issued certificate during certification path building

Reviewed-by: mullan, weijun
2009-05-26 16:19:18 +08:00
Weijun Wang
9823ad0eae 6844887: NPE in TextCallbackHandler
Reviewed-by: xuelei
2009-05-26 10:12:22 +08:00
Jean-Christophe Collet
97c0be0045 6349566: java.net.CookieManager doesn't set default domain
Enforce default domain in CookieManager

Reviewed-by: michaelm
2009-05-25 22:27:26 +02:00
Andrei Dmitriev
fb9bba27b9 6844750: Solaris build failed after 6799099
Reviewed-by: yan
2009-05-25 18:22:23 +04:00
Xiaobin Lu
2af45eb571 6806261: BigDecimal.longValueExact() method throws NullPointerException
Add various tests to test the change to 6622432

Reviewed-by: darcy
2009-05-24 16:35:32 -07:00
Xiaobin Lu
9f9d70b270 6622432: RFE: Performance improvements to java.math.BigDecimal
Reviewed-by: darcy
2009-05-24 16:29:57 -07:00
Andrew Brygin
8e2b3cf306 4893408: JPEGReader throws IllegalArgException when setting the destination to BYTE_GRAY
Reviewed-by: igor, prr
2009-05-23 08:35:37 +04:00
Andrei Dmitriev
072ba357bf 6799099: All automatic regression tests that create Robot fail on X11
Reviewed-by: art, ant
2009-05-22 16:09:45 +04:00
Xueming Shen
f625a6d545 6843578: Re-implement IBM doublebyte charsets
6639450: IBM949C encoder modifies state of IBM949 encoder
6569191: Cp943 io converter returns U+0000 and U+FFFD for unconvertable character
6577466: Character encoder IBM970 throws a BufferOverflowException
5065777: CharsetEncoder canEncode() methods often incorrectly return false

Re-write 11 IBM doublebyte charsets. Thanks Ulf.Zibis for the codereview!

Reviewed-by: martin
2009-05-21 23:32:46 -07:00
Andrew Haley
dfe2bac1c2 6839133: lcms 1.18 update breaks ICC_ProfileRGB Tests
Reviewed-by: avu, prr
2009-05-21 18:41:50 +01:00
Hiroshi Yamauchi
f3d01961f8 6829659: Circle is rendered in C shape
Reviewed-by: campbell, flar
2009-05-21 09:56:03 -07:00
Andrew John Hughes
62ccd90ee5 6841728: Make building the Nimbus L 'n' F optional (100054)
Add DISABLE_NIMBUS variable to prevent Nimbus subdirs being built

Reviewed-by: mr, ohair
2009-05-21 16:29:58 +01:00
Anton Tarasov
b02a9e2e05 6833019: KeyboardFocusManager.getCurrentKeyboardFocusManager() throws unspecified HeadlessException
Reviewed-by: art
2009-05-21 15:04:23 +04:00
Artem Ananiev
55c50f50d0 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window

Reviewed-by: anthony, tdv, alexp
2009-05-21 12:29:25 +04:00
Jonathan Gibbons
6178f3c373 6827026: Change javac source and target default to 7
Reviewed-by: darcy, ohair
2009-05-20 13:55:50 -07:00
Weijun Wang
0263c2809b 6832353: Krb5LoginModule: use the KRB5CCNAME when searching for Kerberos ticket cache
Reviewed-by: xuelei
2009-05-20 10:12:37 +08:00
Weijun Wang
04e56f7701 6682516: SPNEGO_HTTP_AUTH/WWW_KRB and SPNEGO_HTTP_AUTH/WWW_SPNEGO failed on all non-windows platforms
Reviewed-by: xuelei
2009-05-20 10:12:00 +08:00
Christian Thalinger
2005a31e5d 6832016: {DigestMD5Base,Des3DkCrypto}.setParityBit should use Integer.bitCount
Reviewed-by: weijun
2009-05-20 10:11:23 +08:00
Xueming Shen
9a67d0776e Merge 2009-05-19 16:33:32 -07:00
Xueming Shen
c27639c4d2 6728376: Wrong error handling in Java_java_util_zip_Deflater_deflateBytes leads to size 0 if compress fails
6735255: ZipFile.close() does not close ZipFileInputStreams, contrary to the API document

Throws OOM when malloc failed. Closes all outstanding streams when closing

Reviewed-by: alanb
2009-05-19 16:21:48 -07:00
Xueming Shen
15baf98a0a 6843079: Putback for the new EUC_TW is not complete
Putback the files missed in last putback

Reviewed-by: alanb
2009-05-19 16:03:02 -07:00
Xueming Shen
a1958b22ef 6831794: charset EUC_TW is 12.6% of the total size of charsets.jar
6229811: Several codepoints in EUC_TW failed in roundtrip conversion

Re-write EUC_TW charset to address the size and roundtrip issue.

Reviewed-by: alanb
2009-05-19 15:25:29 -07:00
Anthony Petrov
c403935e34 6839999: Cumulative fix for 6762511 and 6838003
Adds support for ARGB and ABGR X11 surfaces.

Reviewed-by: art, yan
2009-05-19 17:03:13 +04:00
Anthony Petrov
013285996b 6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
Added optional _BOOTDIR3 that provides the J: path for the BOOTDIR on Windows

Reviewed-by: ohair, xdono
2009-05-19 14:43:49 +04:00
Anthony Petrov
7648a0d70b 6812298: Dynamic GraphicsConfig changes don't work on X11 platforms
The peer gets recreated if the visual of the new GC differs from the previous one

Reviewed-by: art, dcherepanov
2009-05-19 14:14:31 +04:00
Anthony Petrov
41def7835d 6811219: Deadlock java AWT in XWarningWindow
The locking scheme has been re-architected, the code slightly refactored.

Reviewed-by: art, dcherepanov
2009-05-19 12:15:18 +04:00
Kelly O'Hair
f4e0a8215f 6842023: Improve test reliability, Increase timeout factor on jtreg tests, etc
Reviewed-by: tbell
2009-05-18 10:36:38 -07:00
Yuri Nesterenko
db67339fc1 6834525: PIT: RowToleranceTransitivityTest test fail with crash on rhel4 x86 and rhel 5x86
Do not try to use released XKB resources

Reviewed-by: art
2009-05-18 12:39:58 +04:00
Kelly O'Hair
6854596ec6 Merge 2009-05-15 13:21:43 -07:00
Kelly O'Hair
b324b462d0 6841873: Fix windows redist default location for msvc runtime dlls
Reviewed-by: tbell
2009-05-15 13:14:40 -07:00
Pavel Porvatov
210c9c8b6f 6713352: Deadlock in JFileChooser with synchronized custom FileSystemView
Reviewed-by: malenkov, peterz
2009-05-15 17:26:45 +04:00
Artem Ananiev
fb42efb4c9 6678385: Random java.lang.StackOverflowError from various JDKs
Reviewed-by: stayer
2009-05-15 15:40:35 +04:00
Peter Zhelezniakov
ec0e5a2b69 6827581: Contextkey does not work in Nimbus
Reviewed-by: rupashka
2009-05-15 12:06:22 +04:00
Vassili Igouchkine
6a308df390 Added tag jdk7-b59 for changeset b17924394fab 2009-05-14 10:58:07 -07:00
Jennifer Godinez
47aba10d4e Merge 2009-05-14 09:53:35 -07:00
Peter Zhelezniakov
8514d49a21 6741426: ClassCastException from ComboBoxEditableState (Nimbus LaF) in JDK 1.6.0_10 RC
Reviewed-by: rupashka
2009-05-14 18:12:13 +04:00
Yuri Nesterenko
ac54f240e8 Merge 2009-05-14 00:17:25 -07:00
Alex Menkov
272f5e12f9 6777448: JDK13Services.getProviders creates instances with full privileges [hawtin, alexp]
Reviewed-by: hawtin, alexp
2009-05-13 14:32:33 +04:00
Alex Menkov
00b701feda 6738524: JDK13Services allows read access to system properties from untrusted code
Reviewed-by: hawtin
2009-05-13 14:32:14 +04:00
Alex Menkov
28848d3300 6657625: RmfFileReader/StandardMidiFileWriter.types are public mutable statics (findbugs)
Reviewed-by: hawtin
2009-05-13 13:52:52 +04:00
Xiomara Jayasena
78f516d04e Merge 2009-05-12 14:05:09 -07:00
John R Rose
708863fcf9 6839839: access checking logic is wrong at three points in MethodHandles
Point fixes to access checking logic

Reviewed-by: mr
2009-05-12 13:54:22 -07:00
Chris Hegarty
ce7e28f3e6 6801071: Remote sites can compromise user privacy and possibly hijack web sessions
Reviewed-by: jccollet, hawtin
2009-05-12 16:32:34 +01:00
Yuri Nesterenko
a529aee20c Merge 2009-05-12 00:40:13 -07:00
Yuka Kamiya
136168a10c 6834474: (tz) Support tzdata2009g
Reviewed-by: okutsu
2009-05-12 15:21:55 +09:00
John R Rose
9d698bded0 6839802: java.dyn needs to be on the CORE_PKGS list
Fix makefile to expose the new APIs in the core list; edit some javadocs for correctness

Reviewed-by: mr
2009-05-11 21:09:58 -07:00
Vassili Igouchkine
dc73a83365 Added tag jdk7-b58 for changeset d01743017349 2009-05-11 12:08:15 -07:00
Kelly O'Hair
e2f79f8662 Merge 2009-05-08 11:24:17 -07:00
Andrew Brygin
813ad65e9a 6823373: [ZDI-CAN-460] Java Web Start JPEG header parsing needs more scruity
Reviewed-by: igor
2009-05-08 16:15:15 +04:00
Andrew Brygin
8fdb1d367a 6657133: Mutable statics in imageio plugins (findbugs)
Reviewed-by: prr
2009-05-08 15:57:33 +04:00
Andrew Brygin
10f62128a4 6656625: ImageReaderSpi.STANDARD_INPUT_TYPE/ImageWriterSpi.STANDARD_OUTPUT_TYPE are mutable static (findbugs)
Reviewed-by: prr
2009-05-08 15:38:21 +04:00
Kelly O'Hair
663faa821c 6835803: Type error in src/windows/native/sun/windows/awt_Window.cpp
Reviewed-by: prr
2009-05-07 18:19:41 -07:00
Abhijit Saha
2b871b4ad6 Merge 2009-05-07 13:18:12 -07:00
Xiomara Jayasena
390fc897b8 Merge 2009-05-07 12:26:22 -07:00
Xiomara Jayasena
e7a0b90b6d Merge 2009-05-07 10:31:32 -07:00
Chris Hegarty
8cc962d4a3 6837982: SCTP API docs not being generated
Update docs makefile to build javadoc for the com.sun.nio.sctp package.

Reviewed-by: jccollet, alanb, weijun
2009-05-07 17:02:47 +01:00
Eamonn McManus
ec41d4d0e9 6736293: OpenType checks can be bypassed through finalizer resurrection
Reviewed-by: hawtin
2009-05-07 10:44:45 +02:00
Phil Race
c71395c821 6806822: Font.getFontName() is slow in Java5 and 6
Reviewed-by: igor, jgodinez
2009-05-06 14:14:54 -07:00
Yuri Nesterenko
d1277d1d57 Merge 2009-05-06 09:37:34 -07:00
Anthony Petrov
a9fe649f3d 6838046: Rollback 6762511 due to build failure (6838003)
Reviewed-by: yan
2009-05-06 20:06:23 +04:00
Artem Ananiev
f6e8569c85 6656586: Cursor.predefined is protected static mutable (findbugs)
Reviewed-by: hawtin, igor
2009-05-06 15:17:22 +04:00
Artem Ananiev
825bafa0ea 6837004: java.awt.GraphicsDevice.setFullScreenWindow throws NPE for windows with background color not set
Reviewed-by: yan, dcherepanov
2009-05-06 12:39:23 +04:00
Tim Bell
8f52d15f97 Merge 2009-05-05 23:12:47 -07:00
John R Rose
fb6164cec8 6829144: JSR 292 JVM features need a provisional Java API
JDK API and runtime (partial) for anonk, meth, indy

Reviewed-by: mr
2009-05-05 22:40:09 -07:00
Jennifer Godinez
553fed80a4 Merge 2009-05-05 09:09:24 -07:00
Anthony Petrov
dfb6852a16 6818787: It is possible to reposition the security icon too far from the border of the window on X11
The constraints for the position of the icon are moved to the shared code

Reviewed-by: art, dcherepanov
2009-05-05 17:56:31 +04:00
Anthony Petrov
2453a64fc4 6805231: Security Warning Icon is missing in Windows 2000 Prof from Jdk build 6u12
The icon becomes layered only when the fading-out effect is being performed.

Reviewed-by: art, dcherepanov
2009-05-05 17:47:04 +04:00
Anthony Petrov
2c819571f1 6762511: Translucency is not working on Linux using Metacity
Introduced additional blits and new X11 surface types (ARGB, ABGR)

Reviewed-by: art, avu
2009-05-05 14:45:56 +04:00
Jean-Christophe Collet
b23fe07b43 6801497: Proxy is assumed to be immutable but is non-final
Cloned the proxy instance when necessary

Reviewed-by: chegar
2009-05-05 11:02:51 +02:00
Peter Zhelezniakov
d663bac931 6837293: Reapply fix for 6588003 to JDK7
Reviewed-by: alexp
2009-05-05 12:07:37 +04:00
Tim Bell
7a94d5e47f Merge 2009-05-04 22:16:02 -07:00
Jacob T Royal
221af5e5e1 6837214: Update JDK7 man pages
Reviewed-by: darcy, bpatel, tbell
2009-05-04 18:28:26 -07:00
Alan Bateman
e4f45d0a0b 6834246: (ch) AsynchronousSocketChannel#write completes with wrong number of bytes written under load (win)
Reviewed-by: sherman
2009-05-04 19:25:14 +01:00
Xueming Shen
2c08c535e0 6836489: Incorrect @link usage in java.util.zip API doc
Correct the wrong @link tag

Reviewed-by: alanb
2009-05-01 12:06:14 -07:00
Xiomara Jayasena
56074531b7 Added tag jdk7-b57 for changeset 93833fce07e3 2009-04-30 15:04:39 -07:00
Jennifer Godinez
934dac40ef Merge 2009-04-29 12:27:05 -07:00
Abhijit Saha
c3de9bf468 Merge 2009-04-29 11:43:19 -07:00
Sergey Malenkov
de6e2fb6e2 6777487: Encoder allows reading private variables with certain names
Reviewed-by: peterz
2009-04-29 20:55:13 +04:00
Sergey Malenkov
99c5ea5368 6660539: Introspector shares cache of mutable BeanInfo between AppContexts
Reviewed-by: peterz
2009-04-29 20:03:09 +04:00
Yuri Nesterenko
035ca4f0c8 Merge 2009-04-29 00:27:46 -07:00
Kelly O'Hair
2756e99316 6835241: Annotate some tests with @ignore that have shown to be unpredictable
Reviewed-by: tbell
2009-04-28 14:43:44 -07:00
Yuri Nesterenko
33484a2710 Merge 2009-04-28 13:41:11 -07:00
Yuri Nesterenko
06a805b13f Merge 2009-04-28 13:30:42 -07:00
Jennifer Godinez
b7456052cd Merge 2009-04-28 13:25:25 -07:00
Peter Zhelezniakov
68a4665158 6835113: Nimbus Makefile issue
Reviewed-by: prr
2009-04-28 21:41:04 +04:00
Kelly O'Hair
101e0eb871 6831225: Upgrade JPRT jobs to use newer Linux 2.6 (e.g. Fedora 9)
Reviewed-by: tbell
2009-04-27 20:26:18 -07:00
Mandy Chung
f7b87611c6 6829503: addShutdownHook fails if called after shutdown has commenced
Allow shutdown hook to be added during shutdown and handle properly if it fails to add

Reviewed-by: alanb, dholmes, martin
2009-04-27 12:08:41 -07:00
Peter Zhelezniakov
c738ebdc67 6591875: Nimbus Swing Look and Feel
Reviewed-by: jasper, ohair
2009-04-25 21:17:50 +04:00
Tim Bell
ce6f939956 Merge 2009-04-23 21:32:44 -07:00
Xiomara Jayasena
2906215abb Added tag jdk7-b56 for changeset 825f6628794a 2009-04-23 15:55:01 -07:00
Alan Bateman
b5ace034c3 6832557: TEST_BUG: java/lang/Class/getEnclosingConstructor/EnclosingConstructorTests.java fails to compile
Reviewed-by: darcy, mcimadamore
2009-04-23 19:44:43 +01:00
Tim Bell
cdcdf54d1e Merge 2009-04-21 21:26:21 -07:00
Roman Kennke
a14c950998 6829678: StrokeShapeTest: createStrokedShape() behaves differently
Reviewed-by: igor, flar
2009-04-21 09:43:49 -07:00
Tim Bell
af422c1d2f Merge 2009-04-21 09:03:36 -07:00
Tim Bell
9331eed2d6 6831313: update jaxws in OpenJDK7 to 2.1 plus bug fixes from OpenJDK 6
6672868: Package javax.xml.ws.wsaddressing not included in make/docs/CORE_PKGS.gmk

Reviewed-by: darcy
2009-04-21 08:46:25 -07:00
Anthony Petrov
176a41f92e 6802853: API: shaped & translucent windows
A public API for the feature forward-ported from 6u10.

Reviewed-by: yan
2009-04-21 11:35:52 +04:00
Martin Buchholz
c0b32f4e3c 6278014: java.util.logging.LogRecord.getThreadID() should provide real thread id
Make j.u.l. thread id a copy of Thread's id, for small values of thread id.

Reviewed-by: alanb
2009-04-20 21:57:01 -07:00
Martin Buchholz
4910f50ea2 6716076: test UTIL_REGRESSION/test/java/util/logging/LoggingDeadlock2.java failed with exit code 1
Reviewed-by: swamyv, mchung
2009-04-20 21:53:38 -07:00
Jeremy Manson
8d5b9cfad8 6830220: Logging issues due to regression from bug fix 6797480
Reviewed-by: swamyv
2009-04-20 21:23:47 -07:00
Jennifer Godinez
f662d4d726 6821495: test/java/awt/print/PrinterJob/PrtException.java fails
Reviewed-by: igor, prr
2009-04-20 12:31:36 -07:00
Dmitry Cherepanov
fbea8d87f4 6825362: Avoid calling peer.setZOrder on Window instances
Reviewed-by: anthony
2009-04-20 19:18:41 +04:00
Dmitry Cherepanov
76fedc71ad 6770457: Using ToolTips causes inactive app window to exhibit active window behavior
Reviewed-by: art, ant
2009-04-20 17:05:34 +04:00
Dmitry Cherepanov
75d9b0f986 6633354: AppletPanel loads Swing classes
Reviewed-by: art, anthony
2009-04-20 14:41:24 -04:00
Alan Bateman
d4a0d0c66d 6831461: (sample) Copy -r fails with IllegalArgumentexception: 'maxDepth' is negative
Reviewed-by: chegar
2009-04-20 13:27:23 +01:00
Alan Bateman
cab29c9b7a 6830721: (fc) test/java/nio/channels/AsynchronousFileChannel/Basic.java intermittent failure
Reviewed-by: sherman
2009-04-20 09:30:50 +01:00
Tim Bell
f70e9b8dd9 Merge 2009-04-18 14:10:27 -07:00
Abhijit Saha
d3af1f284c Merge 2009-04-17 09:21:27 -07:00
Andrew Haley
0d75be20c1 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:56:20 +01:00
Anthony Petrov
4b321c2bfc 6829858: JInternalFrame is not redrawing heavyweight children properly
The Container.recursiveApplyCurrentShape() is now recursively called for all hw containers, even those having non-null layout

Reviewed-by: art, dcherepanov
2009-04-17 16:42:14 +04:00
Anthony Petrov
c0f20f9d47 6821948: Consider removing the constraints for bounds of untrusted top-level windows
The constrainBounds() methods are removed.

Reviewed-by: art, dcherepanov
2009-04-17 16:30:15 +04:00
Karl Helgason
b426a72177 6823446: Gervill SoftLowFrequencyOscillator fails when freq is set to 0 cent or 8.1758 Hz
Reviewed-by: amenkov
2009-04-17 16:28:02 +04:00
Karl Helgason
2f6783dce5 6823445: Gervill SoftChannel/ResetAllControllers jtreg test fails after portamento fix from last merge
Reviewed-by: amenkov
2009-04-17 16:20:50 +04:00
Anthony Petrov
e06ad08fd4 6826104: Getting a NullPointer exception when clicked on Application & Toolkit Modal dialog
The addition of window peers to the windows collection has been restored in XWindowPeer.

Reviewed-by: art, dcherepanov
2009-04-17 16:16:14 +04:00
Karl Helgason
b136abc344 6821030: Merge OpenJDK Gervill with upstream sources, Q1CY2009
Reviewed-by: darcy, amenkov
2009-04-17 16:13:43 +04:00
Alex Menkov
9a0763bf6b 6806019: 38 JCK api/javax_sound/midi/ tests fails starting from jdk7 b46
Reviewed-by: kalli
2009-04-17 15:15:20 +04:00
Alex Menkov
d15fceaa77 4895403: SPEC: documentation of javax.sound.sampled.spi.MixerProvider should be detailed
Reviewed-by: malenkov
2009-04-17 15:11:43 +04:00
Alex Menkov
8d4e786794 4672194: FloatControl should provide consistent policy for the floats
Reviewed-by: alexp
2009-04-17 15:10:05 +04:00
Alex Menkov
a758339886 5050147: RFE: Add More Useful Constructors to MidiMessage Subclasses
Reviewed-by: alexp
2009-04-17 15:02:46 +04:00
Artem Ananiev
fd76ca6d80 6829923: Test javax/swing/system/6799345/TestShutdown.java fails on X11 platforms
XAWT toolkit thread is correctly interrupted when AppContext is disposed

Reviewed-by: anthony, peterz
2009-04-17 12:46:24 +04:00
Alan Bateman
dd28a663e4 Merge 2009-04-17 09:38:24 +01:00
Yuri Nesterenko
4f420274a7 Merge 2009-04-16 23:14:12 -07:00
Abhijit Saha
885f8851c5 Merge 2009-04-16 22:47:29 -07:00
Abhijit Saha
32bc86d541 Merge 2009-04-16 21:08:04 -07:00
Xueming Shen
c435a0905d 4244499: ZipEntry() does not convert filenames from Unicode to platform
4532049: IllegalArgumentException in ZipInputStream while reading unicode file
5030283: Incorrect implementation of UTF-8 in zip package
4700978: ZipFile can't treat Japanese name in a zipfile properly
4980042: Cannot use Surrogates in zip file metadata like filenames
4820807: java.util.zip.ZipInputStream cannot extract files with Chinese chars in name

Add new constructors for zip classes to support non-UTF-8 encoded names/comments in ZIP file

Reviewed-by: alanb, martin
2009-04-16 21:00:42 -07:00
Xiomara Jayasena
c9560133fd Merge 2009-04-16 19:10:32 -07:00
Xiomara Jayasena
6451f9b113 Added tag jdk7-b55 for changeset 357e7d58ea2f 2009-04-16 11:22:52 -07:00
Chris Hegarty
26ae13fe80 4927640: Implementation of the sctp protocol
An implementation-specific API for the Stream Control Transmission Protocol

Reviewed-by: alanb, michaelm, jccollet
2009-04-16 17:42:00 +01:00
Weijun Wang
3119cce77d 6830658: Changeset ec64fd74aa69 breaks the fastdebug build in NativeCreds.c
Reviewed-by: tbell
2009-04-16 11:16:40 +08:00
Clemens Eisserer
dce704d578 6827989: Use Unsafe.copyMemory for array->Unsafe copy operations in RenderBuffer
Reviewed-by: campbell, flar
2009-04-15 08:47:21 -07:00
Alan Bateman
26dc2b8949 6543863: (fc) FileLock.release can deadlock with FileChannel.close
6429910: (fc) FileChannel.lock() IOException: Bad file number, not AsynchronousCloseException
6814948: (fc) test/java/nio/channels/AsynchronousFileChannel/Lock.java failed intermittently
6822643: (fc) AsynchronousFileChannel.close does not invalidate FileLocks

Reviewed-by: sherman
2009-04-15 16:16:35 +01:00
Alan Bateman
9e2590b7bf 6795561: (bf) CharBuffer.subSequence() uses wrong capacity value for new buffer
Reviewed-by: sherman, iris
2009-04-15 14:53:34 +01:00
Mandy Chung
15dd62fcba 6818072: Load Ductus using Class.forName if exist instead of using the service loader
First attempt Class.forName to load Ductus class before using service loader

Reviewed-by: flar, prr
2009-04-14 17:43:45 -07:00
Lana Steuck
1c53c596df Merge 2009-04-14 04:21:02 -07:00
Anthony Petrov
9c7b1e8b5b 6825342: Security warning may change Z-order of top-level
Added the SWP_NOOWNERZORDER flag when calling ::SetWindowPos()

Reviewed-by: art, dcherepanov
2009-04-14 14:17:31 +04:00
Lana Steuck
b290c5dc99 Merge 2009-04-14 00:05:07 -07:00
Lana Steuck
9769fa9e3b Merge 2009-04-13 22:34:29 -07:00
Valerie Peng
bca01e0826 6829098: Regression test java/security/Security/ClassLoaderDeadlock/Deadlock2.java error - missing ";"
Added back the missing ";"

Reviewed-by: weijun
2009-04-13 18:20:51 -07:00
Lana Steuck
b482e41692 Merge 2009-04-13 15:33:50 -07:00
Denis Fokin
8ac601577f 6590857: Drag & Drop arbitrary file copy
Reviewed-by: uta
2009-04-13 21:42:44 +04:00
Dmitry Cherepanov
29e370d911 6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win
Reviewed-by: art, yan
2009-04-13 15:22:12 +04:00
Martin Buchholz
e8f11acb07 6827153: Miscellaneous typos in javadoc
Reviewed-by: alanb
2009-04-12 20:21:43 -07:00
Tim Bell
b5b691accb Merge 2009-04-10 15:30:37 -07:00
Lana Steuck
92f020bb7c Merge 2009-04-09 20:34:56 -07:00
Weijun Wang
23d8c5ddc1 6587676: Krb5LoginModule failure if useTicketCache=true on Vista
Reviewed-by: valeriep
2009-04-10 11:21:31 +08:00
Yuka Kamiya
7a543510bd 6404304: RFE: Unicode 5.1 support
Reviewed-by: okutsu, naoto
2009-04-10 11:51:36 +09:00
Lana Steuck
415053276d Merge 2009-04-09 13:12:58 -07:00
Xiomara Jayasena
ab095606fe Added tag jdk7-b54 for changeset 0e9e14e7f54a 2009-04-09 10:37:30 -07:00
Weijun Wang
2827ff39e5 6714845: Quotes in Kerberos configuration file are included in the values
Reviewed-by: xuelei
2009-04-09 15:32:55 +08:00
Lana Steuck
e19d0ec5d0 Merge 2009-04-08 15:40:56 -07:00