8454 Commits

Author SHA1 Message Date
Tim Bell
7aa221ebc3 Merge 2013-10-09 23:19:08 -07:00
Tim Bell
25f7d7b91b 8023611: Win32 and win64: Remove all the WARNINGS in JDK 8 builds for Windows 2008 and MSVS 2010 SP1
Reviewed-by: erikj
2013-10-09 18:50:46 -07:00
Joe Darcy
e9ef833478 8024354: Explicitly permit DoubleStream.sum()/average() implementations to use higher precision summation
Reviewed-by: mduigou, briangoetz
2013-10-09 18:31:51 -07:00
Brent Christian
5edd3cbdfe 8024709: TreeMap.DescendingKeyIterator 'remove' confuses iterator position
Override remove() method in DescendingKeyIterator

Reviewed-by: alanb, mduigou, psandoz
2013-10-09 12:13:31 -07:00
Brian Burkhalter
3b56462097 7189139: BigInteger's staticRandom field can be a source of bottlenecks
Use ThreadLocalRandom instead of SecureRandom.

Reviewed-by: shade, psandoz
2013-10-09 17:22:34 -07:00
Valerie Peng
4ff4823dfc Merge 2013-10-09 13:07:58 -07:00
Brian Burkhalter
4ee6d9bd3a 8016252: More defensive HashSet.readObject
Add data validation checks in readObject().

Reviewed-by: alanb, mduigou, chegar
2013-10-09 11:47:48 -07:00
Stephen Colebourne
bc56565f2a 8024076: Incorrect 2 -> 4 year parsing and resolution in DateTimeFormatter
Add appendValueReduced method based on a ChronoLocalDate to provide context for the value

Reviewed-by: sherman
2013-10-09 13:34:37 -04:00
Henry Jen
1f02e9968e 8023524: Mechanism to dump generated lambda classes / log lambda code generation
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: plevart, mchung, forax, jjb
2013-10-09 09:41:40 -07:00
Erik Joelsson
5798b28398 8026144: Missing mkdir in Images.gmk
Reviewed-by: tbell
2013-10-09 16:22:13 +02:00
Lana Steuck
b6903ca07e Merge 2013-10-08 14:57:32 -07:00
Lana Steuck
14794b79d9 Merge 2013-10-08 14:53:14 -07:00
Valerie Peng
20295341f5 8025967: addition of -Werror broke the old build
Fixed and suppressed compiler warnings on rawtypes

Reviewed-by: vinnie
2013-10-08 14:41:46 -07:00
Lana Steuck
b96364e53b Merge 2013-10-08 14:37:33 -07:00
Leonid Romanov
23cf2b8885 8004050: [macosx] The 'ESC' key does not work with jdk8
Reviewed-by: alexsch, serb
2013-10-09 01:03:33 +04:00
David Katleman
a570fbe483 Merge 2013-10-08 13:10:15 -07:00
Sergey Bylokhov
5ed7c4d3a2 8025603: Unused methods in the awt text peers should be removed
Reviewed-by: art, anthony
2013-10-08 23:34:20 +04:00
Valerie Peng
ba9b938306 8014374: Cannot initialize "AES/GCM/NoPadding" on wrap/unseal on solaris with OracleUcrypto
Removed OracleUcrypto provider regression tests from OpenJDK

Reviewed-by: xuelei
2013-10-08 11:35:29 -07:00
Valerie Peng
a5add24f51 8012900: CICO ignores AAD in GCM mode
Change GCM decryption to not return result until tag verification passed

Reviewed-by: xuelei
2013-10-08 11:17:53 -07:00
Valerie Peng
2f4af22f17 7196382: PKCS11 provider should support 2048-bit DH
Query and enforce range checking using the values from native PKCS11 library.

Reviewed-by: xuelei
2013-10-08 11:07:31 -07:00
Sergey Bylokhov
eacfa0f773 8022119: test api/javax_sound/sampled/spi/MixerProvider/indexTGF_MixerProviderTests fails
Reviewed-by: art, anthony
2013-10-08 21:24:49 +04:00
Alexander Scherbatiy
9a9e0fd42c 7081594: Windows owned by an always-on-top window DO NOT automatically become always-on-top
Reviewed-by: art, anthony, serb
2013-10-08 18:45:38 +04:00
Sergey Malenkov
a485f88ad9 7172597: java.awt.KeyboardFocusManager.clearFocusOwner() missed javadoc tag @since 1.8
Reviewed-by: art, anthony
2013-10-08 18:19:10 +04:00
Sergey Malenkov
fdd26c3a51 7081584: Specification for Window.isAlwaysOnTopSupported needs to be clarified
Reviewed-by: art, serb
2013-10-08 18:10:13 +04:00
Oleg Pekhovskiy
bf733d1947 7199196: Incremental transfer is broken because of a typo
Reviewed-by: anthony, serb
2013-10-08 17:00:44 +04:00
Oleg Pekhovskiy
acf636d21c 7068423: Spec for java.awt.GraphicsDevice.getFullScreenWindow() needs clarification
Reviewed-by: art, anthony
2013-10-08 16:56:15 +04:00
Oleg Pekhovskiy
d8c323d038 8000425: FileDialog documentation should be enhanced
Reviewed-by: serb, anthony
2013-10-08 16:04:12 +04:00
Petr Pchelko
419c7a7c32 8025585: Win: Popups in JFXPanel do not receive MouseWheel events
Reviewed-by: anthony, art
2013-10-08 15:54:43 +04:00
Alexander Zvegintsev
ee806b0721 7158311: GraphicsDevice.setDisplayMode(...) leads to hang when DISPLAY variable points to Oracle Linux
8001463: Regression : Deadlock between AWT-XAWT thread and AWT-EventQueue-0 Thread when screen resolution changes

Reviewed-by: art, serb
2013-10-08 15:17:22 +04:00
Dmitry Ginzburg
241991b07e 8025236: [javadoc] fix some errors in AWT
Reviewed-by: yan, anthony
2013-10-08 13:57:44 +04:00
Alan Bateman
31fdd1b27c 8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers
Reviewed-by: chegar
2013-10-08 10:49:09 +01:00
Doug Lea
5bc35911d0 8025136: SplittableRandom enchancements
Co-authored-by: Guy Steele <guy.steele@oracle.com>
Reviewed-by: psandoz, martin
2013-10-08 11:17:15 +02:00
Xue-Lei Andrew Fan
1d8fbe7d05 6956398: make ephemeral DH key match the length of the certificate key
Reviewed-by: weijun
2013-10-07 18:46:28 -07:00
Henry Jen
6a322383a8 8026009: Changes for 8025968 break all stream tests
Reviewed-by: mduigou
2013-10-07 15:18:37 -07:00
Christine Lu
f00b2dd7ad 8025840: Fix all the doclint warnings about trademark
Reviewed-by: art
2013-10-07 11:34:44 -07:00
Henry Jen
1542ab6eef 8025968: Integrate test improvements made in lambda repo
Reviewed-by: psandoz
2013-10-07 11:25:56 -07:00
Alexander Scherbatiy
3b9db3b7b2 8007219: [macosx] Frame size reverts meaning of maximized attribute if frame size close to display
Reviewed-by: serb, anthony
2013-10-07 16:42:29 +04:00
Alexander Scherbatiy
254c852564 8025438: [macosx] right JNFCall* method should be used in JDK-8008728 fix
Reviewed-by: serb, anthony
2013-10-07 16:13:48 +04:00
Alan Bateman
68ef7f0bc3 8025983: Typo in Javadoc of Files.isRegularFile()
Reviewed-by: mchung, chegar
2013-10-07 11:48:55 +01:00
Chris Hegarty
d3158f2d76 8025991: tools/launcher/RunpathTest.java fails
Reviewed-by: erikj
2013-10-07 11:31:37 +01:00
John R Rose
be5df968ee 8024438: JSR 292 API specification maintenance for JDK 8
Add wildcard to unreflectConstructor, various clarifications and minor edits

Reviewed-by: mchung, darcy, twisti
2013-10-05 05:30:40 -07:00
John R Rose
c5b5f0d6c7 8025112: JSR 292 spec updates for security manager and caller sensitivity
Align CONSTANT_MethodHandle and Lookup.find* API calls, clarify security manager & @CallerSensitive interactions

Reviewed-by: mchung, twisti
2013-10-05 05:30:39 -07:00
John R Rose
32e77eaae1 8001110: method handles should have a collectArguments transform, generalizing asCollector
Promote an existing private method; make unit tests on all argument positions to arity 10 with mixed types

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
4ea5f818b5 8024599: JSR 292 direct method handles need to respect initialization rules for static members
Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.

Reviewed-by: twisti, darcy, abuckley, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
154969a2bc 8001108: an attempt to use "<init>" as a method name should elicit NoSuchMethodException
Add an explicit check for leading "<", upgrade the unit tests

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
e4df9dc1ee 8001109: arity mismatch on a call to spreader method handle should elicit IllegalArgumentException
Document error conditions that may occur when calling a "spreader" method handle.  Use IAE in all cases.

Reviewed-by: twisti, vlivanov
2013-10-05 05:30:39 -07:00
John R Rose
77dc59f6ca 8019417: JSR 292 javadoc should clarify method handle arity limits
Clarification of erroneous reading of spec. that led to 7194534

Reviewed-by: twisti, darcy
2013-10-05 05:30:39 -07:00
John R Rose
622186edcb 8001105: findVirtual of Object[].clone produces internal error
Replicate JVM logic for access control that makes Object.clone appear public when applied to an array type.

Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
John R Rose
62ee211c8d 8024761: JSR 292 improve performance of generic invocation
Use a per-MH one element cache for MH.asType to speed up MH.invoke; also cache enough MH constants to cache LMF.metafactory

Reviewed-by: twisti
2013-10-05 05:30:38 -07:00
Johnny Chen
c1c21c0ff1 8025940: Windows build fails after the fix for 8025280
Reviewed-by: prr, jgodinez
2013-10-04 16:17:59 -07:00