Commit Graph

8564 Commits

Author SHA1 Message Date
Staffan Larsen
50a598d507 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: coleenp, dcubed, sspitsyn
2013-10-21 23:32:36 -04:00
Xueming Shen
caf263e5b0 8008386: (cs) Unmappable leading should be decoded to replacement
Updated the unmappable/malformed detecting handling for db charsets

Reviewed-by: naoto
2013-10-21 18:22:39 -07:00
Jason Uh
b501d2e3f5 Merge 2013-10-21 22:05:31 +00:00
Yuka Kamiya
fa9bbd8594 8020037: String.toLowerCase incorrectly increases length, if string contains \u0130 char
Reviewed-by: naoto
2013-10-22 06:13:01 +09:00
Joe Darcy
ce60c35956 8024603: Turn on javac lint checking for auxiliaryclass, empty, and try in jdk build
Reviewed-by: erikj, ihse, chegar
2013-10-21 13:36:04 -07:00
Joe Darcy
f7a8ae1dd7 8022658: Revisit FunctionalInterface on some core libs types
Reviewed-by: briangoetz, mduigou, mr
2013-10-21 12:52:37 -07:00
Xueming Shen
4741adaaf2 8026842: Remove Time-Zone IDs HST/EST/MST
Removed these ids from ZoneId's zid list, supported via short_ids list

Reviewed-by: okutsu
2013-10-21 11:16:02 -07:00
Jaroslav Bachorik
5e52c4d90e 7140929: NotSerializableNotifTest.java fails intermittently
Reviewed-by: sjiang, alanb
2013-10-21 13:57:11 +02:00
Daniel Fuchs
2f8b3bf80a 8026499: Root Logger level can be reset unexpectedly
This fix prevents the logger's level to be re-initialized if it has already been initialized.

Reviewed-by: mchung
2013-10-21 12:00:58 +02:00
Daniel Fuchs
d6fdb0a571 8016344: (props) Properties.storeToXML behaviour has changed from JDK 6 to 7
When storing Properties to XML only locally defined properties must be saved.

Reviewed-by: psandoz, mchung, alanb
2013-10-21 11:15:41 +02:00
Jaroslav Bachorik
1197f7a799 8024613: javax/management/remote/mandatory/connection/RMIConnector_NPETest.java failing intermittently
RMID needs a varying amount of time to start its socket server. We need to cater for it.

Reviewed-by: sjiang, dfuchs, sla
2013-10-21 10:54:46 +02:00
Jaroslav Bachorik
d491a49652 7197919: java/lang/management/ThreadMXBean/ThreadBlockedCount.java has concurency issues
Reviewed-by: sla, mchung
2013-10-21 10:40:03 +02:00
Robert Field
b79a0fda0f 8025631: Enhance Lambda construction
Reviewed-by: ksrini, ahgross
2013-10-20 18:07:40 -07:00
Kumar Srinivasan
e5207fe2b4 8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2)
Reviewed-by: dholmes
2013-10-19 15:19:40 -07:00
Dmitry Samersoff
3a6305e6c7 8024071: In ManagementAgent.start it should be possible to set the jdp.name parameter
Pass one more property from Agent to JdpController

Reviewed-by: jbachorik, sla
2013-10-19 20:59:42 +04:00
Vicente Romero
ac0dadca7f 8026854: java.time.temporal.TemporalQueries doesn't compile after javac modification to lambda flow analysis
Reviewed-by: psandoz
2013-10-19 17:53:44 +01:00
Roger Riggs
d7f0eeb825 8025828: Late binding of Chronology to appendValueReduced
Add a listener to the parseContext called when the Chronology changes

Reviewed-by: sherman
2013-10-18 16:37:58 -04:00
Dmitry Samersoff
a3fda5b9bc 8004213: JDP packet needs pid, broadcast interval and rmi server hostname fields
Add some extra fileds to jdp packet

Reviewed-by: allwin, sla, hirt
2013-10-19 00:05:42 +04:00
Pavel Punegov
fd2c7a3743 8024660: TEST_BUG: java/lang/ProcessBuilder/*IOHandle.java leaving hotspot.log open in fastdebug builds
Reviewed-by: alanb
2013-10-18 16:28:35 +01:00
Alan Bateman
faec7818a6 Merge 2013-10-18 16:01:26 +01:00
Alan Bateman
d367fc0c17 8026876: (fs) Build issue with src/solaris/classes/sun/nio/fs/SolarisUserDefinedFileAttributeView.java
Reviewed-by: psandoz
2013-10-18 15:51:43 +01:00
Shanliang Jiang
ef41b62611 8026028: [findbugs] findbugs report some issue in com.sun.jmx.snmp package
Reviewed-by: psandoz, dfuchs
2013-10-18 16:15:38 +02:00
Alan Bateman
467adb4a7c 7050570: (fs) FileSysteProvider fails to initializes if run with file.encoding set to Cp037
Reviewed-by: sherman, ulfzibis
2013-10-18 13:51:12 +01:00
Ivan Gerasimov
62105105d7 8026756: Test java/util/zip/GZIP/GZIPInZip.java failed
Reviewed-by: alanb
2013-10-18 16:06:20 +04:00
Alan Bateman
0452f7b159 8026859: (fs) test/java/nio/file/Files/StreamTest.java fails to compile intermittently
Reviewed-by: psandoz
2013-10-18 13:45:54 +01:00
Staffan Larsen
d8fad522ed 8021897: EXCEPTION_ACCESS_VIOLATION on debugging String.contentEquals()
Reviewed-by: alanb, sspitsyn
2013-10-18 11:52:24 +02:00
Xueming Shen
73ccbeb833 8025971: Remove ZoneId.OLD_SHORT_IDS
8026197: Slow reading tzdb.dat if the JRE is on a high-latency, remote file system

Removed the compatiblity old short-ids mapping

Reviewed-by: okutsu
2013-10-17 23:43:08 -07:00
Joe Darcy
31f37c1db4 8026840: Fix new doclint issues in javax.naming
Reviewed-by: mchung
2013-10-17 22:22:14 -07:00
Mandy Chung
1d45d9a3c1 8025799: Restore sun.reflect.Reflection.getCallerClass(int) until a replacement API is provided
Reviewed-by: alanb, forax, dholmes, twisti
2013-10-17 19:47:47 -07:00
Ivan Gerasimov
6b2d8a5049 8023390: Test java/net/NetworkInterface/MemLeakTest.java failed with the latest jdk8 build
Removing the test as it is unreliable and fails intermittently

Reviewed-by: chegar
2013-10-15 18:41:23 +04:00
Stefan Karlsson
ba1c14b527 7196801: NPG: Fix java/lang/management/MemoryMXBean/LowMemoryTest2
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Reviewed-by: coleenp, sla
2013-10-14 14:28:50 +02:00
Tristan Yan
904f946258 8023555: test/java/net/Socks/SocksProxyVersion.java fails when machine name is localhost
Reviewed-by: chegar, alanb
2013-10-14 11:47:54 +01:00
Erik Joelsson
545297d64d 8025612: rt.jar still has old specification value in the manifest
Reviewed-by: alanb, dholmes, tbell, wetmore
2013-10-14 11:36:05 +02:00
Daniel Fuchs
f573ee1917 8024704: Improve API documentation of ClassLoader and ServiceLoader with respect to enumeration of resources
Reviewed-by: alanb, psandoz, mchung
2013-10-14 10:42:36 +02:00
Xue-Lei Andrew Fan
ec67e938e2 8026119: Regression test DHEKeySizing.java failing intermittently
Reviewed-by: weijun
2013-10-13 21:10:33 -07:00
Aleksei Efimov
a8aaf9f52a 8025255: (tz) Support tzdata2013g
Reviewed-by: okutsu, mfang
2013-10-13 14:19:31 +04:00
Mike Duigou
f1e20eb482 8025910: rename substream(long) -> skip and remove substream(long,long)
Reviewed-by: psandoz, henryjen
2013-10-16 13:03:58 -07:00
Daniel Fuchs
9ef30e9ae7 8013839: Enhance Logger API for handling of resource bundles
4814565: (rb) add method to get basename from a ResourceBundle

Adds Logger.setResourceBundle(ResourceBundle) and ResourceBundle.getBaseBundleName()

Reviewed-by: mchung, naoto
2013-10-16 20:47:30 +02:00
Daniel Fuchs
fb1bcf242f 8011638: Remove deprecated methods in sun.util.logging.PlatformLogger
Reviewed-by: psandoz, mchung, alanb, chegar
2013-10-16 17:19:09 +02:00
Rob McKenna
1fe89b3d70 8026245: InetAddress.getLocalHost crash if IPv6 disabled (macosx)
Reviewed-by: chegar, alanb
2013-10-16 15:06:27 +01:00
Erik Joelsson
d8f2c1b773 Merge 2013-10-16 15:53:06 +02:00
Erik Joelsson
ec06d2fa6c 6604021: RMIC is defaulting to BOOT jdk version, needs to be rmic.jar
Reviewed-by: dholmes, chegar
2013-10-16 13:50:13 +02:00
Weijun Wang
45dc5dd0df 8025124: InitialToken.useNullKey incorrectly applies NULL_KEY in some cases
Reviewed-by: xuelei
2013-10-16 14:39:00 +08:00
David Holmes
04360f139e 8026378: TEST_BUG: Clean up TEST.groups
Reviewed-by: mduigou, mchung, alanb
2013-10-15 20:54:00 -04:00
Brian Burkhalter
3c035b0aac 8010371: getaddrinfo can fail with EAI_SYSTEM/EAGAIN, causes UnknownHostException to be thrown
Modify UHE exception message for EAI_AGAIN failures.

Reviewed-by: alanb, chegar, michaelm, dsamersoff
2013-10-15 16:45:04 -07:00
Chris Hegarty
1f0c182672 Merge 2013-10-15 20:47:21 +01:00
Chris Hegarty
efa036f678 8026513: ProblemList.txt Updates (10/2013)
Reviewed-by: alanb
2013-10-15 20:46:47 +01:00
Ivan Gerasimov
71f3325481 8023431: Test java/util/zip/GZIP/GZIPInZip.java failed
Properly close PipedStreams. Additional testing for malformed input

Reviewed-by: darcy, sherman
2013-10-15 21:15:17 +04:00
Roger Riggs
6532244455 8025722: TemporalAdjusters and TemporalQueries
Move static from interfaces methods to supporting classes

Reviewed-by: sherman
2013-10-15 13:14:03 -04:00
Chris Hegarty
3486abb2c7 Merge 2013-10-15 13:54:01 +01:00
Daniel Fuchs
c630cf1e68 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged.

Reviewed-by: alanb, mchung, dholmes
2013-10-15 13:01:28 +02:00
Alan Bateman
f5ed80ef59 8026398: Can't load jdk.Exported, ClassNotFoundException
Reviewed-by: chegar, mchung
2013-10-15 10:52:09 +01:00
Chris Hegarty
766e77499d Merge 2013-10-15 09:27:32 +01:00
Jaroslav Bachorik
c3a2245bba 6804470: JvmstatCountersTest.java test times out on slower machines
Increasing the default timeout to cater for the slower machines

Reviewed-by: alanb
2013-10-15 10:26:34 +02:00
Joe Wang
c839f538b6 8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression
Reviewed-by: lancea, alanb
2013-10-14 22:24:49 -07:00
Henry Jen
ca8301dc7d 8026362: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed on windows, jtreg report Fail to org.testng.SkipException
Reviewed-by: chegar
2013-10-14 17:27:20 -07:00
Michael McMahon
70e5173968 8014719: HttpClient/ProxyTest.java failing with IAE HttpURLPermission.parseURI
Reviewed-by: alanb, chegar
2013-10-14 22:09:15 +01:00
Lana Steuck
4811b47b2d Merge 2013-10-14 09:52:36 -07:00
Lana Steuck
54791de34d Merge 2013-10-11 23:27:23 -07:00
Karen Kinnear
1e73553e8c 8026213: Reflection support for private interface methods
Reviewed-by: forax, psandoz, dholmes, jfranck
2013-10-11 15:21:23 -07:00
Vinnie Ryan
60d0612114 Merge 2013-10-11 20:47:16 +01:00
Alan Bateman
68b9f08d49 8019526: (fs) Files.lines, etc without Charset parameter
Reviewed-by: psandoz, henryjen
2013-10-11 20:47:15 +01:00
Vinnie Ryan
848f690d01 8026301: DomainKeyStore doesn't cleanup correctly when storing to keystore
Reviewed-by: mullan
2013-10-11 20:35:00 +01:00
Dan Xu
4af06813d8 8025712: (props) Possible memory leak in java_props_md.c / ParseLocale
Reviewed-by: naoto, chegar
2013-10-11 09:47:26 -07:00
Sean Mullan
0a60664cf1 Merge 2013-10-11 09:17:18 -04:00
Sean Mullan
2f923e8804 8007292: Add JavaFX internal packages to package.access
Build hooks to allow closed restricted packages to be added to java.security file

Reviewed-by: erikj, dholmes, tbell
2013-10-11 08:43:07 -04:00
Lana Steuck
c7e190348d Merge 2013-10-11 03:06:10 -07:00
Lana Steuck
c40569a58d Merge 2013-10-10 21:23:05 -07:00
Lana Steuck
ec2a2f991c Merge 2013-10-10 20:57:36 -07:00
Eric McCorkle
89352ad3e6 8026011: java.lang.reflect.MalformedParametersException introduces doclint warnings
Add javadoc comments to members of MalformedParametersException

Reviewed-by: darcy
2013-10-10 18:56:09 -04:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -07:00
Christine Lu
5d6172225c Added tag jdk8-b111 for changeset ff73e351b200 2013-10-10 10:09:19 -07:00
Joel Borggrén-Franck
db556bacff 7044282: (reflect) Class.forName and Array.newInstance are inconsistent regarding multidimensional arrays
Reviewed-by: darcy, psandoz
2013-10-10 18:11:53 +02:00
Shanliang Jiang
bc140e3172 8025204: Intermittent test failure: javax/management/remote/mandatory/connection/IdleTimeoutTest.java
Reviewed-by: dholmes, jbachorik
2013-10-10 17:47:15 +02:00
Magnus Ihse Bursie
c0c561895a 8001931: The new build system whitespace cleanup
Reviewed-by: tbell, simonis, erikj
2013-10-10 15:06:21 +02:00
Michael McMahon
2fed0b98f8 7076487: (sctp) SCTP API classes does not exist in JDK for Mac
Reviewed-by: alanb, chegar
2013-10-10 12:36:42 +01:00
Doug Lea
2acaedb538 7011859: java/util/concurrent/Semaphore/RacingReleases.java failing
Reviewed-by: alanb, dholmes
2013-10-10 09:57:50 +01:00
David Holmes
5c2cfd8db4 8026232: Move libnpt from profile compact1 to compact3
Reviewed-by: mchung, alanb
2013-10-10 04:57:29 -04:00
Peter Allwin
3723c4691c 8014446: JT_JDK: Wrong detection of test result for test com/sun/jdi/NoLaunchOptionTest.java
Reviewed-by: sla, mgronlun, dholmes, jbachorik, chegar
2013-10-10 10:14:54 +02:00
Staffan Larsen
4230c58678 8025427: jstat tests fails on 32-bit platforms
Reviewed-by: ehelin, dsamersoff, dholmes, sspitsyn
2013-10-10 09:38:06 +02:00
Weijun Wang
8f5279cf87 8026235: keytool NSS test should use 64 bit lib on Solaris
Reviewed-by: vinnie
2013-10-10 15:24:41 +08:00
Shanliang Jiang
c8a7fb8dce 8025205: Intermittent test failure: javax/management/remote/mandatory/connection/BrokenConnectionTest.java
Reviewed-by: dholmes, dfuchs, jbachorik
2013-10-10 09:01:19 +02:00
Shanliang Jiang
5a3e98293d 8025206: Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java
Reviewed-by: dholmes, dfuchs, jbachorik
2013-10-10 08:49:12 +02:00
Shanliang Jiang
65d897864d 8025207: Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java
Reviewed-by: dfuchs, dholmes
2013-10-10 08:37:48 +02:00
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
Mikhail Cherkasov
798b7d2356 8020688: Broken links in documentation at http://docs.oracle.com/javase/6/docs/api/index
Reviewed-by: anthony, alexsch
2013-10-04 20:13:32 +04:00
Sean Coffey
1d4c1c6ee5 8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash
Reviewed-by: mkos, chegar
2013-10-04 16:27:12 +01:00
Bhavesh Patel
c855900623 8025741: Fix jdk/make/docs/Makefile to point to correct docs URL for JDK 8
Reviewed-by: tbell
2013-10-04 15:25:18 -07:00
Robert Field
f718e1fa54 8021186: jdk/lambda/vm/DefaultMethodsTest.java fails
Remove DefaultMethodsTest from jdk/test/problemList.txt

Reviewed-by: mduigou
2013-10-04 09:54:43 -07:00
Johnny Chen
7b490635ea 8025294: [parfait] JNI-related warnings from b107 for jdk.src.solaris.native.sun.java2d.x11
Reviewed-by: prr, jgodinez
2013-10-03 13:49:52 -07:00
Johnny Chen
3c27e706c7 8025664: [parfait] warnings from b62 for jdk.src.share.native.sun.font
Reviewed-by: prr, jgodinez
2013-10-03 13:41:53 -07:00
Johnny Chen
3a01c9493e 8025309: [parfait] JNI-related warnings from b107 for jdk.src.share.native.sun.java2d.pipe
Reviewed-by: prr, jgodinez
2013-10-03 13:35:26 -07:00
Johnny Chen
fa90ce8bf8 8025480: [parfait] "JNI exception pending" warnings from b107 for jdk.src.share.native.sun.java2d
Reviewed-by: prr, jgodinez
2013-10-03 13:26:45 -07:00
Johnny Chen
85c942f353 8025280: [parfait] warnings from b107 for jdk.src.share.native.sun.java2d.loops: JNI exception pending, JNI critical region violation
Reviewed-by: prr, jgodinez
2013-10-03 13:16:31 -07:00
Robert Field
1705cfa533 8020849: jdk/lambda/vm/DefaultMethodsTest.java
Bridge generation has been removed from the VM. Fix is to remove tests that no longer make sense.

Reviewed-by: ksrini
2013-10-03 11:26:53 -07:00
Chris Hegarty
6088b141e2 Merge 2013-10-03 19:06:43 +01:00
Robert Field
551b5e50c6 8010433: Remove lambda metafactory work-around to JDK-8005119
Restore invokespecial to lambda metafactory

Reviewed-by: ksrini
2013-10-03 10:23:48 -07:00
Alexander Scherbatiy
5520d11d0c 7092283: Property Window.locationByPlatform is not cleared by calling setVisible(false)
Reviewed-by: anthony, serb
2013-10-03 19:02:45 +04:00
Anthony Petrov
5319e7da59 7174704: [macosx] New issue in 7u6 b12: HeadlessPrintingTest failure
Load the lwawt native library on Mac regardless of the headless/headful mode. Also, some minor cleanup.

Reviewed-by: art, serb
2013-10-03 18:01:25 +04:00
Alexander Zuev
ccbfbe8736 8025738: locale related test fails on langtools mac 10.7 test host
Reviewed-by: ksrini
2013-10-03 17:40:45 +04:00
Dmitry Samersoff
d95f70f9d3 8009213: sun/management/jdp/JdpTest.sh fails with exit code 1
There's no guarantee that the java process has executed far enough to be found by jps when we try to obtain it's pid.

Reviewed-by: sla
2013-10-03 16:54:55 +04:00