Commit Graph

1412 Commits

Author SHA1 Message Date
Xueming Shen
4b33465b42 6707281: Adler32.update() JavaDoc is wrong
6553961: java.util.zip.{CRC32,Adler32}.update(int) doc errors
6646605: Missing method ZipFile.getComment()
6841232: ZipFile should implement Closeable
4985614: Failure on calls to ZipFile constructor
5032358: "java.util.zip.ZipException: The system cannot find the file specified"
6846616: java/util/zip/ZipFile/ReadAfterClose.java failed after fix for 6735255

Some misc bug/rfe fixes for zipfile

Reviewed-by: alanb
2009-06-29 19:57:58 -07:00
Tim Bell
c0a769b9ff Merge 2009-06-29 17:40:17 -07:00
Yuka Kamiya
f2d770bf73 6855715: Font2Dtest demo needs to be updated to support Unicode 5.1.0
Reviewed-by: okutsu
2009-06-30 09:38:16 +09:00
Jonathan Gibbons
92af1e97cf 6855069: rmic should support v51 class files
Reviewed-by: jrose
2009-06-29 16:28:58 -07:00
Jennifer Godinez
5256d9183f Merge 2009-06-29 14:42:22 -07:00
Andy Herrick
84c0ca5fa8 6855953: JDK7 - merger error of deployment changes with b62 -in jdk/make/sun/Makefile
This problem was discovered testing initial changeset for implementing 6uX Deployment Features into JDK7

Reviewed-by: dgu, billyh
2009-06-29 17:34:29 -04:00
Andy Herrick
974a4682e4 Merge 2009-06-29 12:06:42 -04:00
Michael McMahon
df221ae4b0 Merge 2009-06-29 15:08:52 +01:00
Michael McMahon
f9268d3c20 6827999: 6827999: URLClassLoader.addURL(URL) adds URLs to closed class loader
Reviewed-by: chegar
2009-06-29 15:05:15 +01:00
Chris Hegarty
60b4f589fb 6855335: Several changes in the SCTP implementation
Reviewed-by: michaelm
2009-06-29 14:53:10 +01:00
Michael McMahon
27c5ebc1c1 Merge 2009-06-29 13:29:05 +01:00
Michael McMahon
a505db1f7d 6513803: httpserver regression test Test13 failing and causing NullPointerException
Check for NPEs

Reviewed-by: chegar
2009-06-29 13:10:33 +01:00
Tim Bell
817aac3f58 Merge 2009-06-28 23:16:18 -07:00
Kelly O'Hair
82ca44035d Merge 2009-06-28 11:47:34 -07:00
Tim Bell
8990000e63 Merge 2009-06-28 00:00:25 -07:00
Alan Bateman
9b6fcc28d2 6844054: (bf) Eliminate dependency on javax.management.ObjectName
Reviewed-by: mchung
2009-06-27 21:49:41 +01:00
Alan Bateman
212565afd7 6838333: New I/O: Update file system API to jsr203/nio2-b101
6844313: New I/O: File timestamps should be represented by a FileTime rather than a long+TimeUnit

Reviewed-by: sherman
2009-06-27 21:46:53 +01:00
Kelly O'Hair
4f6bc0cc73 6855180: Fix classfile version check in java_crw_demo
Reviewed-by: jjg
2009-06-26 21:52:47 -07:00
Michael Ernst
272d82ec23 6843077: JSR 308: Annotations on types
Co-authored-by: Mahmood Ali <mali@csail.mit.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Reviewed-by: jjg, mcimadamore, darcy
2009-06-26 18:39:45 -07:00
Peter Zhelezniakov
f17d1e509e 6849805: Nimbus L&F: NimbusLookAndFeel.getDerivedColor() not always returns color2 for 1.0 midPoint
Different rounding mode used for float->int conversion

Reviewed-by: malenkov
2009-06-26 21:43:21 +04:00
Tim Bell
645805c313 Merge 2009-06-26 10:25:45 -07:00
Man Lung Wong
adb1c7571e 6848458: java/awt/GridLayout/LayoutExtraGaps/LayoutExtraGaps.java fails
Consider gap between the component edge and container borders instead of just getX() and getY()

Reviewed-by: dav
2009-06-26 19:50:44 +04:00
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
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
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
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
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
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
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