Commit Graph

2247 Commits

Author SHA1 Message Date
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
Tristan Yan
dc564c1a27 8017779: java/net/Authenticator/B4769350.java fails
Co-authored-by: Kurchi Subhra Hazra <kurchisubhra@gmail.com>
Reviewed-by: chegar
2013-10-22 14:00:16 +01: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
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
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
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
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
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
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
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
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
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
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
Jennifer Godinez
d8f5fe01b2 8022536: closed/javax/print/TextFlavorTest.java fails
Reviewed-by: prr, jchen
2013-10-14 09:15:21 -07:00
Sergey Bylokhov
a2dc296d67 8019591: JCK: testICSEthrowing_fullScreen fails: no ICSE thrown
Reviewed-by: art, anthony
2013-10-14 20:11:56 +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
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
Rob McKenna
1fe89b3d70 8026245: InetAddress.getLocalHost crash if IPv6 disabled (macosx)
Reviewed-by: chegar, alanb
2013-10-16 15:06:27 +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
Chris Hegarty
1f0c182672 Merge 2013-10-15 20:47:21 +01: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
Chris Hegarty
766e77499d Merge 2013-10-15 09:27:32 +01: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
Lana Steuck
ccd23da6c7 Merge 2013-10-12 14:14:24 -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
Lana Steuck
a076cb06a6 Merge 2013-10-11 14:19:50 -07:00
Alan Bateman
68b9f08d49 8019526: (fs) Files.lines, etc without Charset parameter
Reviewed-by: psandoz, henryjen
2013-10-11 20:47:15 +01:00
Morris Meyer
532ecca465 7195597: ThreadStateTest gets different results with -Xcomp
Reviewed-by: kvn
2013-10-11 12:40:14 -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
Konstantin Shefov
9b8906104d 7124338: [macosx] Selection lost if a selected item removed from a java.awt.List
Reviewed-by: serb, anthony
2013-10-11 15:39:40 +04:00
Petr Pchelko
6468414f4a 8026143: [macosx] Maximized state could be inconsistent between peer and frame
Reviewed-by: anthony, serb
2013-10-11 11:48:52 +04:00
Lana Steuck
ec2a2f991c Merge 2013-10-10 20:57:36 -07:00
Lana Steuck
5db317fd23 Merge 2013-10-10 13:33:02 -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
Petr Pchelko
17c3bb8033 8024864: [macosx] Problems with rendering of controls
Reviewed-by: serb, leonidr
2013-10-10 19:27:21 +04: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
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
Alexander Stepanov
bff389c83b 8025649: need test to cover JDK-8000423
Reviewed-by: anthony, serb
2013-10-09 13:40:55 +04: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
Lana Steuck
b96364e53b Merge 2013-10-08 14:37:33 -07: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
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
Henry Jen
6a322383a8 8026009: Changes for 8025968 break all stream tests
Reviewed-by: mduigou
2013-10-07 15:18:37 -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
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
Chris Hegarty
6088b141e2 Merge 2013-10-03 19:06:43 +01: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
Paul Sandoz
1604846c44 8025567: Mark relevant public stream tests as serialization hostile
Reviewed-by: alanb
2013-10-03 10:59:51 +02:00
Phil Race
e43112a8ad 7179526: xrender : closed/sun/java2d/volatileImage/LineClipTest.java failed since jdk8b36
Reviewed-by: prr, jchen
2013-10-02 11:22:07 -07:00
Sergey Bylokhov
12a7707961 8013563: Memory leak in JFrame on Linux
Reviewed-by: anthony, art
2013-10-02 21:02:04 +04:00
Eric McCorkle
367fa5ac0e 8020981: Update methods of java.lang.reflect.Parameter to throw correct exceptions
Fix behavior of parameter reflection API for malformed class files.

Reviewed-by: darcy
2013-10-02 19:13:42 -04:00
Petr Pchelko
d5ec67a6e5 8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28
Reviewed-by: anthony, serb
2013-10-02 11:32:56 +04:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Paul Sandoz
7ee60c366e 8025535: Unsafe typecast in java.util.stream.SortedOps
Reviewed-by: mduigou, chegar
2013-10-01 18:20:03 +02:00
Sean Coffey
8d0e77641f 8024952: ClassCastException in PlainSocketImpl.accept() when using custom socketImpl
Reviewed-by: chegar
2013-10-02 09:21:02 +01:00
Masayoshi Okutsu
824b25cc94 6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010
Reviewed-by: peytoia
2013-10-02 15:31:35 +09:00
Vera Akulova
6d63827a99 7125471: [macosx] NofocusListDblClickTest should wait between doublr clicks
Reviewed-by: anthony, serb
2013-10-01 13:19:07 +04:00
Sergey Bylokhov
0c7604f2bc 7150100: [macosx] "0123456789" is selected in the TextField
Reviewed-by: anthony, art
2013-10-01 04:29:50 +04:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Patrick Reinhart
2c516bc7b4 6870661: Setting a custom PrintService on a PrinterJob leads to a PrinterException
Reviewed-by: prr, jgodinez
2013-09-27 13:04:54 -07:00
David Chase
fdf6a159f5 8022701: Accessibility checking: InvocationTargetException is thrown instead of IllegalAccessError
Inserted code to convert specific exceptions, case-by-case, plus a test.

Reviewed-by: jrose, twisti
2013-09-27 13:32:32 -04:00
Eric McCorkle
e92da66e0b 8021398: j.l.r.Parameter.getAnnotatedType().getType() for not annotated use of type returns null
Fixed issue with type annotation reflection framework that would cause getType of AnnotatedTypes to be null if no annotations were present.

Reviewed-by: darcy, jfranck
2013-10-01 17:35:32 -04:00
Alexander Stepanov
c49c083729 8024122: [TEST] need test to cover JDK-7146572
Reviewed-by: anthony, yan
2013-09-27 14:29:27 +04:00
Lana Steuck
65dd56bc16 Merge 2013-09-26 17:21:47 -07:00
Lana Steuck
5f840f6118 Merge 2013-09-26 17:18:12 -07:00
Clemens Eisserer
00c37e4e9e 8024895: xrender MaskImage cache isn't accounting for change in alpha
Reviewed-by: prr, jchen
2013-09-26 16:30:38 -07:00
Stephen Colebourne
242f0dd3c2 8025718: Enhance error messages for parsing
Add values and types to exception messages

Reviewed-by: lancea
2013-09-26 15:19:27 -07:00
Roger Riggs
c9982055b4 8024612: java/time/tck/java/time/format/TCKDateTimeFormatters.java failed
The test should be using the Locale.Category.FORMAT to verify the test data

Reviewed-by: lancea
2013-10-09 11:02:55 -04:00
Mandy Chung
18f83d0a7c 8026027: Level.parse should return the custom Level instance instead of the mirrored Level
Reviewed-by: dfuchs, chegar
2013-10-09 06:24:42 -07:00
Phil Race
d0ef16f2c3 7092764: java.awt.font.TransformAttribute.equals(null) throws NPE
Reviewed-by: jgodinez, jchen
2013-09-26 15:06:39 -07:00
Brent Christian
587ef317c6 8025173: HashMap.put() replacing an existing key can trigger a resize()
Ensure that HashMap is not resized if we're just replacing a value

Reviewed-by: alanb, martin
2013-09-26 11:13:34 -07:00
Konstantin Shefov
c3a64bea84 8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear
Reviewed-by: anthony, serb
2013-09-25 16:52:46 +04:00
Alexander Scherbatiy
c0720f17f6 8007155: [macosx] Disabled panel takes mouse input in JLayeredPane
Reviewed-by: serb, anthony
2013-09-25 16:17:42 +04:00
Daniel Fuchs
ddddd1d31f 8025140: TEST_BUG: java/util/logging/Logger/getGlobal tests fail due to timeout
Arbitrary timeouts in the tests @run lines where too agressive for some configurations. The tests will now run with default timeout.

Reviewed-by: alanb, mchung
2013-09-25 09:47:24 +02:00
Sergey Bylokhov
10ff8a3aa4 7172833: For default java.awt.Toolkit impl methods java.awt.Toolkit.is/setDynamicLayout() are not consistent
Reviewed-by: alexsch, anthony
2013-09-23 17:55:36 +04:00
Vera Akulova
ae556f32b9 8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu
Reviewed-by: alexsch, serb
2013-09-20 17:16:45 +04:00