6292 Commits

Author SHA1 Message Date
David Chase
2ebcd75a95 8026818: Defmeth failures with -mode invoke
Added test for IllegalAccessException -> IllegalAccessError path to check if root cause was AbstractMethodError

Reviewed-by: jrose
2013-10-22 12:57:59 -04:00
Brian Burkhalter
7ebab2dbcd 8026806: Incomplete test of getaddrinfo() return value could lead to incorrect exception for Windows Inet 6
Check getaddrinfo return value before calling WSAGetLastError.

Reviewed-by: alanb, dsamersoff
2013-10-22 10:44:22 -07:00
Alan Bateman
11d02a8031 7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win)
Reviewed-by: chegar
2013-10-22 14:13:06 +01:00
Sean Mullan
766d35a814 Merge 2013-10-22 08:17:06 -04:00
Sean Mullan
3854742d69 8021191: Add isAuthorized check to limited doPrivileged methods
Reviewed-by: weijun, xuelei
2013-10-22 08:03:16 -04:00
Chris Dennis
ca4ee27ab5 8024833: (fc) FileChannel.map does not handle async close/interrupt correctly
Reviewed-by: alanb
2013-10-22 12:04:19 +01:00
Alan Bateman
36e36d288c 8021257: com.sun.corba.se.** should be on restricted package list
Co-authored-by: Mark Sheppard <mark.sheppard@oracle.com>
Reviewed-by: chegar, coffeys, smarks, mullan
2013-10-22 11:43:04 +01:00
Andreas Lundblad
24b64e8c23 8004912: Repeating annotations - getAnnotationsByType(Class<T>) is not working as expected for few inheritance scenarios
8019420: Repeatable non-inheritable annotation types are mishandled by Core Reflection

Reviewed-by: jfranck
2013-10-22 12:35:27 +02:00
Joel Borggrén-Franck
415ea4460a 8009411: (reflect) Class.getMethods should not include static methods from interfaces
Update getMethods() and getMethod() to filter out interface statics

Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: darcy
2013-10-22 10:34:12 +02: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
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
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
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
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
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
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
Leif Samuelsson
a25177c60e 7025699: Policy Tool is not accessible by keyboard
Reviewed-by: alexp, weijun
2013-10-18 08:57:52 +08:00
Lana Steuck
b57d193ddd Merge 2013-10-17 15:53:27 -07:00
Brian Burkhalter
670a226fcc 8026832: Clean up straggling doclint warnings in java.math
Fix empty paragraph tag warnings.

Reviewed-by: lancea
2013-10-17 15:05:18 -07:00
Lana Steuck
73a4cab3fb Merge 2013-10-17 15:04:55 -07:00
Doug Lea
3f1d887049 8004138: ForkJoinTask leaks exceptions
Reviewed-by: chegar, mduigou, psandoz, martin
2013-10-17 12:43:32 -07:00
Lance Andersen
0137840fa9 8026812: doclint clean up for java.sql and javax.sql
Reviewed-by: mduigou
2013-10-17 15:14:58 -04:00
Roger Riggs
056189cbbe 8026183: minor documentation problems in java.lang.invoke
8015808: Typo in MethodHandle javadoc

Fix typos and javadoc markup and extraneous paragraph tags

Reviewed-by: lancea
2013-10-17 13:43:46 -04:00
Sean Mullan
b131a44f91 Merge 2013-10-17 11:34:01 -04:00
Sean Mullan
2ef954a0ff Merge 2013-10-17 10:37:27 -04:00
Roger Riggs
e7ec0b2a5d 8026516: javadoc errors in java.time
Corrected links to TemporalQuery and TemporalField.resolve

Reviewed-by: mduigou, darcy, lancea
2013-10-17 10:37:23 -04:00
Sean Mullan
70492e8a66 8026346: test/java/lang/SecurityManager/CheckPackageAccess.java failing
Reviewed-by: vinnie
2013-10-17 10:18:44 -04:00
David Chase
c668ed8f33 8022718: Runtime accessibility checking: protected class, if extended, should be accessible from another package
Modify accessibility check; it was muddled about Java vs JVM protection terminology.

Reviewed-by: jrose
2013-10-16 17:55:49 -04:00
Yuka Kamiya
26af18b426 8025703: Update LSR datafile for BCP 47
Reviewed-by: okutsu
2013-10-17 13:57:42 +09:00
Henry Jen
63f8dbc1d3 8026768: java.util.Map.Entry comparingBy methods missing @since 1.8
Reviewed-by: dholmes
2013-10-16 21:34:26 -07:00
David Katleman
4baf6a0be3 Merge 2013-10-16 12:02:43 -07:00
Kumar Srinivasan
8a2b60ace2 8026500: [infra] remove extraneous docs in solaris images
Reviewed-by: erikj, mchung, tbell
2013-10-16 07:37:30 -07: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
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