Commit Graph

9461 Commits

Author SHA1 Message Date
Roger Riggs
c4f2b88d81 8031737: CHECK_NULL and CHECK_EXCEPTION macros cleanup
Rename CHECK_EXCEPTION macros with JNU prefix; use the defensive do {...} while (0) macro definition

Reviewed-by: chegar, mchung, ksrini, lancea, alanb
2014-02-03 16:58:02 -05:00
Joe Darcy
6261c40dca 8033222: Fix serial lint warnings in sun.awt.*
Reviewed-by: alanb
2014-02-03 10:21:58 -08:00
Joe Darcy
b008220373 8033181: Fix doclint missing issues in java.awt.{peer, im[.spi]}
Reviewed-by: alanb
2014-02-03 10:05:56 -08:00
Joe Darcy
1c57114347 8033416: Remove sun.misc.FpUtils
Reviewed-by: alanb, bpb, psandoz
2014-02-03 09:52:36 -08:00
Michael McMahon
b2af3087a4 8033425: Delay loading of net library in PortConfig initialization (workaround for for 8033367)
Reviewed-by: alanb, chegar
2014-02-03 14:40:28 +00:00
Alan Bateman
0abb2b14ed 8030795: java/nio/file/Files/probeContentType/ForceLoad.java failing with ServiceConfigurationError without jtreg -agentvm option
Reviewed-by: michaelm
2014-02-03 14:18:45 +00:00
Alan Bateman
24b84458a1 8028792: (ch) Channels native code needs to be checked for methods calling JNI with pending excepitons
8032668: Check jdk/src/solaris/native/java/io for pending JNI exception issues

Reviewed-by: chegar, simonis
2014-02-03 14:00:43 +00:00
Joe Darcy
806b45a0f2 8033223: Fix serial lint warnings in sun.{font, java2d[.*]}
Reviewed-by: bae
2014-02-01 10:27:55 -08:00
Roger Riggs
930a4614e6 8032221: Typo in java.util.date
Trancate -> truncate; updated html <code> and <tt> to use {@code ...}

Reviewed-by: darcy, lancea
2014-01-31 13:42:31 -05:00
Chris Hegarty
936e416310 8011645: CopyOnWriteArrayList.COWSubList.subList does not validate range properly
Reviewed-by: martin, psandoz
2014-01-31 18:32:07 +00:00
Naoto Sato
e72d99fef1 8030696: Norwegian locales nb_NO and nn_NO should be available locales
Reviewed-by: okutsu
2014-01-31 10:04:16 -08:00
Anton Tarasov
49b52741da 8033233: [JLightweightFrame] support default JViewport BLIT_SCROLL_MODE
Reviewed-by: alexsch, pchelko
2014-01-31 18:49:58 +04:00
Petr Pchelko
0b5d951776 8030093: Generify DataTrasfer classes
Reviewed-by: anthony, serb
2014-01-31 14:20:40 +04:00
Petr Pchelko
9057d98a78 8033326: 9 build failure after merge with dev
Reviewed-by: serb, alexsch
2014-01-31 13:19:50 +04:00
Qi Zuo
914dff709f Merge 2014-01-30 10:42:46 -05:00
Qi Zuo
d701a3751b Merge 2014-01-30 10:36:40 -05:00
Petr Pchelko
43829fc0cc 8032229: [TEST_BUG] The app failed automatically and it threw exception:java.lang.UnsupportedOperationException
Reviewed-by: serb, alexsch
2014-01-30 14:37:30 +04:00
Matherey Nunez
244ffdb7c2 8027175: Existing regression tests in tl/langtools and tl/jdk need to be updated for @bug keyword
Reviewed-by: jjg, ksrini
2014-01-29 14:33:07 -08:00
Ivan Gerasimov
592907e7f2 8027348: (process) Enhancement of handling async close of ProcessInputStream
Reviewed-by: martin
2014-01-30 00:02:46 +04:00
Chris Hegarty
49605b7bf9 7150539: HttpURLConnection.getResponseMessage() doesn't throw IOException on server error (OS X)
Reviewed-by: michaelm, alanb
2014-01-31 11:10:36 +00:00
Markus Grönlund
e3f4248c42 8032518: fatal error has been detected by the Java Runtime Environment(access violation)
Reviewed-by: sla, dholmes, jbachorik, dsamersoff, coleenp
2014-01-31 12:06:34 +01:00
Taras Ledkov
9378d4b066 8032056: Create demo to illustrate new practices of the default methods usage
Reviewed-by: briangoetz, rfield, psandoz
2014-01-31 11:57:53 +01:00
Andrey Nazarov
a7acbb1cb7 8032020: Update try-with-resources demo
Reviewed-by: darcy, alanb, smarks
2014-01-31 11:57:38 +01:00
Andrey Nazarov
7bdf4708b2 8031650: Update bulk operation demo
Reviewed-by: psandoz, mduigou
2014-01-31 11:57:12 +01:00
Andrey Nazarov
5569aab686 8032025: Update repeating annotations demo
Reviewed-by: jfranck
2014-01-31 11:56:47 +01:00
Stuart Marks
4399edf7b2 8023541: Race condition in rmid initialization
Reviewed-by: alanb, dfuchs, dholmes, plevart, psandoz, tyan
2014-01-30 15:12:38 -08:00
Joe Darcy
01e48af83f 8033221: Fix serial lint warnings in sun.swing.*
Reviewed-by: alexsch
2014-01-30 09:15:13 -08:00
Sean Coffey
08fbbf811b Merge 2014-01-30 14:38:15 +00:00
Peter Levart
91796b96b9 8022321: java/lang/ref/OOMEInReferenceHandler.java fails intermittently
Preload/preinitialize InterruptedException and Cleaner classes and catch OOME from instanceof operator in ReferenceHandler

Reviewed-by: dholmes, mchung, srikchan
2014-01-30 15:36:04 +01:00
Aleksei Efimov
7e532727a0 8030822: (tz) Support tzdata2013i
Reviewed-by: coffeys, mfang, okutsu
2014-01-30 12:22:24 +04:00
Eric Wang
ba68b878a0 8031179: update RMI tests to declare othervm explicitly
The /othervm declaration should be added to all the RMI tests and the RMI directories removed from the othervm.dirs property

Reviewed-by: smarks
2014-01-29 22:18:46 -08:00
Volker Simonis
8bb6a4e584 8033154: PPC64: Fix AIX build after integration into jdk9/dev
Reviewed-by: alanb
2014-01-29 20:41:33 +01:00
Jaroslav Bachorik
9e782fae6d 8031701: java/lang/management/ThreadMXBean/Locks.java: Thread WaitingThread is expected to wait on Object but got null Thread.State = RUNNABLE
Reviewed-by: mchung, dsamersoff
2014-01-29 17:37:40 +01:00
Oleg Pekhovskiy
4b69521b63 8013116: Robot moves mouse to point which differs from set in mouseMove on Unity shell
Reviewed-by: serb, azvegint
2014-01-29 18:32:10 +04:00
Petr Pchelko
c91508a464 8031964: [macosx] Dragging images from the browser does not work
Reviewed-by: anthony, serb
2014-01-29 16:50:22 +04:00
Sergey Bylokhov
a08bd102f7 8032435: Cleanup of sun.awt.windows package
Reviewed-by: art, pchelko
2014-01-29 16:35:42 +04:00
Magnus Ihse Bursie
da17ca59db 8033111: Clean up left-over JObjC code in build system
Reviewed-by: erikj
2014-01-29 13:10:53 +01:00
Vladimir Kozlov
1981dde213 Merge 2014-01-28 14:58:15 -08:00
Vladimir Kozlov
57b7b831ae Merge 2014-01-28 14:57:41 -08:00
Robert Field
1b02cd3f12 8032711: Issue with Lambda in handling
8032704: Issues with lib perm in Lambda

Reviewed-by: jrose, ahgross, briangoetz
2014-01-28 12:53:56 -08:00
Jeff Dinkins
d374f39d57 8032816: THIRDPARTYREADME LittleCMS preamble missing JRE 8 & JDK 8
Reviewed-by: lana
2014-01-28 20:10:11 +00:00
Lana Steuck
4416186327 Merge 2014-01-28 11:22:25 -08:00
Joe Darcy
ad66e1ea2c 8032733: Fix cast lint warnings in client libraries
8032734: Add cast lint warning to build of jdk repository

Reviewed-by: alanb, bae, tbell, wetmore
2014-01-28 09:42:05 -08:00
Sunny Chan
9d9bc9f86d 7142035: assert in j.l.instrument agents during shutdown when daemon thread is running
Reviewed-by: sla
2014-01-28 09:33:39 -05:00
Daniel Smith
aa81fd4ead 8032697: Issues with Lambda
Reviewed-by: ahgross, briangoetz, dlsmith, rfield
2014-01-28 17:22:07 -08:00
Dmitry Samersoff
04c87a2bbe 8022323: [JavaSecurityScanner] review package com.sun.management.* Native methods should be private
Create java methods that calls native one

Reviewed-by: sla, dholmes
2014-01-28 12:50:53 +04:00
Lana Steuck
097752c806 Merge 2014-01-27 21:02:47 -08:00
Mandy Chung
1e80ad98e4 6760902: inconsistent behavior in system class loader for classes and resources
Reviewed-by: psandoz, ksrini
2014-01-27 16:22:08 -08:00
Paul Sandoz
51efd87812 8032779: Update code in java.lang to use newer language features
Reviewed-by: darcy, alanb
2014-01-27 14:29:37 +01:00
Dmitry Samersoff
2489c7b220 8002116: This JdbReadTwiceTest.sh gets an exit 1
Explicitly check readability of file in question

Reviewed-by: sla, dholmes, olagneau
2014-01-27 17:13:16 +04:00
Dmitry Samersoff
aab73f9356 8024049: com/sun/jdi/ProcessAttachTest.sh shortens 7-digit pid to 6-digit
Replace cut call to awk

Reviewed-by: sla, olagneau
2014-01-27 15:11:56 +04:00
Weijun Wang
49fdbfba20 8031572: jarsigner -verify exits with 0 when a jar file is not properly signed
Reviewed-by: mullan
2014-01-25 18:16:33 +08:00
Joe Darcy
d1fc6d132c 8032616: Fix non-deprecation warnings in com.sun.beans.*
Reviewed-by: alanb
2014-01-24 11:03:15 -08:00
Volker Simonis
c329a619fd 8032678: [TESTBUG] sun/misc/Version/Version.java doesn't understand two-digit HotSpot minor version numbers
Reviewed-by: kvn
2014-01-24 19:18:17 +01:00
Alexander Zuev
786fc24463 8029646: [pack200] should support the new zip64 format
Reviewed-by: ksrini, sherman
2014-01-24 21:29:25 +04:00
Joe Darcy
4a3b8f4df6 8032627: Add @SuppressWarnings("serial") to appropriate javax.swing classes
Reviewed-by: alexsch, alanb
2014-01-24 07:16:53 -08:00
Alan Bateman
d5a62b1401 8032451: (dc) DatagramChannel.join should support include-mode filtering on OS X
Reviewed-by: chegar
2014-01-24 13:54:16 +00:00
Sergey Malenkov
77f3079bed 8010718: javax/swing/JFileChooser/8013442/Test8013442.java fails
Reviewed-by: alexsch
2014-01-24 16:50:40 +04:00
Alexander Scherbatiy
c24ceb9e4a 8032063: javax.swing.plaf.metal.MetalFileChooserUI$FilterComboBoxModel extends non-standard API
Reviewed-by: pchelko, serb
2014-01-24 16:23:22 +04:00
Alan Bateman
65a9d3695b 8032456: vm/jni/Miscellaneous/misc001/misc00101m1/misc00101m1.html failing on OS X
Reviewed-by: sla, chegar, psandoz
2014-01-24 11:50:33 +00:00
Mandy Chung
7e46f00b86 6516909: (cl spec) ClassLoader.loadClass() clarification to indicate it shouldn't be used for array classes
Reviewed-by: alanb
2014-01-23 14:06:58 -08:00
Mandy Chung
5634f01fdb 4932272: (cl) Remove declaration of the unused private method ClassLoader.defineClass0
Reviewed-by: alanb
2014-01-23 14:04:52 -08:00
Volker Simonis
ad1b6f1a39 8032578: [TESTBUG] Fix tests which use SecurityConstants.AWT
Reviewed-by: pchelko
2014-01-23 17:43:32 +01:00
Shanliang Jiang
7d09fd8b12 6980984: java/lang/management/MemoryMXBean/MemoryManagement is not robust when getMax() returns -1
Reviewed-by: jbachorik, dfuchs
2014-01-23 15:17:36 +01:00
Jaroslav Bachorik
f0a718ceb0 6309226: TEST: java/lang/management/ThreadMXBean/SynchronizationStatistics.java didn't check Thread.sleep
Reviewed-by: dholmes, mchung
2014-01-23 10:06:52 +01:00
Joe Darcy
03045efef6 8032047: Fix static lint warnings in client libraries
8032048: Add static lint warning to build of jdk repository

Reviewed-by: pchelko, serb, erikj
2014-01-22 23:20:58 -08:00
Roger Riggs
93283b8191 8032502: java.time add @param tags to readObject
Add @param tags

Reviewed-by: lancea, darcy
2014-01-22 17:40:58 -05:00
Vladimir Kozlov
9c83896027 Merge 2014-01-22 14:17:32 -08:00
Joe Darcy
6b965a6ae1 8032397: Remove sun.misc.Ref
Reviewed-by: alanb
2014-01-22 11:03:44 -08:00
Sean Mullan
fd09a81d8a Merge 2014-01-22 10:27:08 -05:00
Petr Pchelko
0a187c7c73 8029868: Fix KSS issues in sun.lwawt.macosx
Reviewed-by: anthony, serb
2014-01-22 17:54:04 +04:00
Petr Pchelko
0f4e95136b 7155984: Security problems in regression test java/awt/PrintJob/Security/SecurityDialogTest.java
Reviewed-by: anthony, serb
2014-01-22 16:15:39 +04:00
Andrei Eremeev
6a9e174795 7175457: [TEST_BUG] closed/java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java still failed
Reviewed-by: anthony, pchelko
2014-01-22 12:49:43 +04:00
Petr Pchelko
bfc61365e0 8030050: Validate fields on DnD class deserialization
Reviewed-by: anthony, serb
2014-01-22 12:35:43 +04:00
David Katleman
7f24b46a10 Added tag jdk9-b01 for changeset 0da91a6ccb5f 2014-01-21 18:17:13 -08:00
Artem Smotrakov
f85948cc0c 8028431: NullPointerException in DerValue.equals(DerValue)
Reviewed-by: mullan
2014-01-21 16:54:26 -05:00
Sean Mullan
67c04c11c8 Merge 2014-01-21 10:52:48 -05:00
Sean Mullan
d82803e3d0 8031825: OCSP client can't find responder cert if it uses a different subject key id algorithm than responderID
Reviewed-by: vinnie, xuelei
2014-01-21 10:51:13 -05:00
Jaroslav Bachorik
ea1c41f454 8032377: test/java/lang/management/ThreadMXBean/ThreadBlockedCount.java still fails intermittently
Reviewed-by: dholmes
2014-01-21 13:04:55 +01:00
Paul Sandoz
692a92335c 8032190: It's unclear that flatMap will ensure each stream will be closed
Reviewed-by: chegar, alanb
2014-01-21 10:49:49 +01:00
Alan Bateman
c276ce4f08 8032220: Files.createDirectories throws exception with confusing message for root directories that exist
Reviewed-by: chegar
2014-01-21 09:33:48 +00:00
Jaroslav Bachorik
65bdf9f853 8031559: javax/management/monitor/StartStopTest.java fails intermittently
Reviewed-by: dfuchs, sla
2014-01-21 09:17:23 +01:00
Jaroslav Bachorik
28dabe2b6e 8022221: Intermittent test failures in sun/management/jmxremote/startstop/JMXStartStopTest.sh
Reviewed-by: sla
2014-01-21 09:15:46 +01:00
Mattias Tobiasson
dc4d716d02 6545321: [TESTBUG] jstatLineCounts4.sh has to be resilient to unexpected output
Keep check for specific lines. Remove check for total number of lines.

Reviewed-by: sla
2014-01-21 08:36:12 +01:00
Alan Bateman
1dbaabdc78 7133499: (fc) FileChannel.read not preempted by asynchronous close on OS X
Reviewed-by: chegar
2014-01-22 09:36:11 +00:00
Volker Simonis
77333fdd77 8031581: PPC64: Addons and fixes for AIX to pass the jdk regression tests
Reviewed-by: alanb, sla
2014-01-20 17:16:05 +01:00
Sergey Bylokhov
7554f9dc43 7157680: XAWT: Native components should not paint native part on UPDATE event
Reviewed-by: anthony, pchelko
2014-01-20 20:11:09 +04:00
Ivan Gerasimov
4339b3b54f 8025886: replace [[ and == bash extensions in regtest
Reviewed-by: dsamersoff, sla
2014-01-20 19:23:22 +04:00
Daniel Fuchs
3f1dd83c32 8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281
Adds a new test for the deadlock found in JDK-8027670 and fixed in JDK-8029281.

Reviewed-by: mchung
2014-01-21 14:28:13 +01:00
Petr Pchelko
90db59d13e 8032058: [TEST_BUG] [macosx] java/awt/dnd/Button2DragTest sometimes fail
Reviewed-by: anthony, serb
2014-01-20 14:23:51 +04:00
Volker Simonis
417236721a 8031997: PPC64: Make the various POLL constants system dependant
Reviewed-by: alanb
2014-01-20 09:24:25 +01:00
Volker Simonis
f10a91610f 8031134: PPC64: implement printing on AIX
Reviewed-by: prr
2014-01-20 09:20:13 +01:00
Volker Simonis
70041ae4e4 8028537: PPC64: Updated the JDK regression tests to run on AIX
Co-authored-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
Co-authored-by: Steve Poole <spoole@linux.vnet.ibm.com>
Reviewed-by: alanb
2014-01-17 21:54:30 +01:00
Dmitry Markov
54ac5030e4 8028616: Htmleditorkit parser doesn't handle leading slash (/)
Reviewed-by: alexp, alexsch
2014-01-16 20:51:18 +04:00
Sergey Bylokhov
b9b2db0eea 8031090: [macosx] LWToolkit should not depends from the macosx
Reviewed-by: anthony, pchelko
2014-01-15 19:26:47 +04:00
Jeff Dinkins
b2b0f52acd 7129980: Third Party License Readme update for JDK8
Reviewed-by: lana, tbell
2014-01-13 14:44:00 -08:00
Weijun Wang
368816ed8d 8034033: [parfait] JNI exception pending in share/native/sun/security/krb5/nativeccache.c
Reviewed-by: valeriep
2014-02-19 10:41:22 +08:00
Joe Wang
25167ae738 8033980: Xerces Update: datatype XMLGregorianCalendarImpl and DurationImpl
Reviewed-by: dfuchs, lancea, alanb
2014-02-18 10:53:18 -08:00
Petr Pchelko
0d1b63f4cb 8029893: Remove reflection from DataTransferer.getInstance
Reviewed-by: anthony, serb
2014-01-13 19:09:24 +04:00
Petr Pchelko
88e4e5a9cd 7006339: [parfait] potential null pointer dereference in splashscreen
Reviewed-by: anthony, art
2014-01-10 12:07:29 +04:00
Alexander Scherbatiy
8e647d9f30 8024926: [macosx] AquaIcon HiDPI support
Reviewed-by: serb, anthony
2014-01-09 19:01:18 +04:00
Alexander Scherbatiy
0f6202d191 8028212: Custom cursor HiDPI support
Reviewed-by: serb, anthony
2014-01-09 18:41:00 +04:00
Alexander Scherbatiy
7e1716cfe0 8011059: [macosx] Support automatic @2x images loading on Mac OS X
Reviewed-by: serb, flar
2014-01-09 18:04:31 +04:00
Petr Pchelko
4d23e24741 8027561: [macosx] Cleanup "may not respond to selector" warnings in native code
Reviewed-by: azvegint, serb
2014-01-09 12:47:01 +04:00
Dan Xu
e957946384 8028726: (prefs) Check src/solaris/native/java/util/FileSystemPreferences.c for JNI pending exceptions
Reviewed-by: lancea, chegar, alanb
2014-01-08 13:25:10 -08:00
Vladimir Kozlov
378ba63ea9 Merge 2014-01-08 11:19:25 -08:00
Erik Joelsson
30bc289192 8030781: System.setProperties(null) drops all system properties (RELEASE not set)
Reviewed-by: alanb
2014-01-08 14:04:35 +01:00
Srikalyan Chandrashekar
b82ed208c9 6772009: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java test failed with 'Completed != 2'
Reviewed-by: martin, dholmes
2014-01-08 13:08:20 +00:00
Tristan Yan
97d83a1cd7 8030089: java/util/zip/ZipFile/FinalizeZipFile.java intermittently fails with fastdebug builds
Reviewed-by: alanb
2014-01-08 12:59:57 +00:00
Joe Darcy
c3404f0380 8031369: Fix raw types warnings in sun.misc.{Cache, SoftCache}
Reviewed-by: mduigou, lancea
2014-01-07 19:19:32 -08:00
Joe Darcy
62d1965059 8000962: Update JDK_MINOR_VERSION for JDK 9
Reviewed-by: jjg, ksrini
2014-01-07 15:02:41 -08:00
Anthony Scarpino
aa8188c26b 8030823: Security Providers need to have their version numbers updated for JDK9
Reviewed-by: xuelei, wetmore
2014-01-07 14:35:57 -08:00
Joe Darcy
02c64ae77a 8031361: Fix raw types warning in java.lang.management
Reviewed-by: psandoz, lancea, alanb
2014-01-07 12:56:29 -08:00
Nikolay Gorshkov
6609c71505 8004562: Better support for crossdomain.xml
Reviewed-by: herrick, ngthomas, chegar
2014-01-07 12:17:36 -08:00
Erik Joelsson
a265181b1e 8029254: Build error when javadoc generates beaninfo for javax.swing.beans
Reviewed-by: alanb, ihse, michaelm
2014-01-08 13:25:30 +01:00
Alexander Zuev
e44cc4a97f Merge 2014-01-20 20:51:54 +04:00
Staffan Larsen
20e46075a9 8028994: com.sun.management.VMOption is missing the ATTACH_ON_DEMAND origin
Reviewed-by: mchung, jbachorik
2014-01-20 16:27:55 +01:00
Alexander Zuev
f4daa36dfe Merge 2014-01-20 19:11:57 +04:00
Joe Darcy
8348cfd296 8031375: Revert test exclusions after fix for JDK-8030656 propagates
Reviewed-by: mduigou
2014-01-18 10:57:41 -08:00
Brian Goetz
3aeefa5284 8031373: Lint warnings in java.util.stream
8030079: Lint warnings in java.lang.invoke

Reviewed-by: psandoz, forax
2014-01-17 12:28:59 -05:00
Peter Allwin
49103a8c63 8004183: test/sun/management/jmxremote/LocalRMIServerSocketFactoryTest.java doesn't clean-up
Reviewed-by: sjiang, dfuchs, dholmes, olagneau, dholmes, jbachorik
2014-01-17 16:25:17 +01:00
Shanliang Jiang
286b95f83f 8029378: com/sun/jdi/BadHandshakeTest.java failed with java.util.concurrent.TimeoutException
Reviewed-by: dholmes, jbachorik
2014-01-17 15:58:18 +01:00
Tristan Yan
b31c05a9aa 8031666: TEST_BUG: java/net/ipv6tests/UdpTest.java failed because of SocketTimeoutException
Reviewed-by: alanb, chegar
2014-01-17 14:03:57 +00:00
Martin Buchholz
30717d9de3 8032057: Remove unneeded/obsolete -source options in concurrency tests
Reviewed-by: chegar
2014-01-17 13:54:13 +00:00
Abhijit Saha
7e9ef6dd1f Merge 2014-01-16 21:44:18 -08:00
Mike Duigou
37ac069436 Merge 2014-01-16 16:41:34 -08:00
Brian Burkhalter
bfd742becf 6667086: Double.doubleToLongBits(final double value) contains inefficient test for NaN
Use isNaN() to test the parameter.

Reviewed-by: darcy, psandoz
2014-01-16 15:56:40 -08:00
Paul Sandoz
72803ca57e 8029452: Fork/Join task ForEachOps.ForEachOrderedTask clarifications and minor improvements
Reviewed-by: mduigou, briangoetz
2014-01-16 18:20:31 +01:00
Roger Riggs
fa4d687935 8031961: (process) java/lang/ProcessBuilder/Basic.java uses "cp -p" which is inefficient
Replace invocation of /bin/cp with NIO Files.copy

Reviewed-by: martin, alanb
2014-01-16 10:33:07 -05:00
Abhijit Saha
a9a038efa7 Merge 2014-01-15 10:09:00 -08:00
Vladimir Ivanov
3621fb4643 8031502: JSR292: IncompatibleClassChangeError in LambdaForm for CharSequence.toString() method handle type converter
Reviewed-by: sundar, lagergren, drchase
2014-01-15 20:48:44 +04:00
Katja Kantserova
fe3d3df23f 7185591: jcmd-big-script.sh ERROR: could not find app's Java pid
Reviewed-by: egahlin, sla, jbachorik
2014-01-16 11:37:49 +01:00
Paul Sandoz
94e85a3a0e 8030848: Collections.sort(List l, Comparator) should defer to List.sort(Comparator )
Reviewed-by: mduigou
2014-01-16 10:27:57 +01:00
Joe Darcy
b789652e85 8031747: Add overloads lint warning to build of jdk repository
Reviewed-by: chegar, erikj, alanb
2014-01-15 11:29:47 -08:00
Dmitry Nadezhin
a4bef039d5 8030814: Long.parseUnsignedLong should throw exception on too large input
Change test for overflow of unsigned long

Reviewed-by: darcy, psandoz
2014-01-15 10:40:22 -08:00
Joe Darcy
dd8c561aa0 8031550: Fix overloads lint warnings in client code
Reviewed-by: pchelko
2014-01-15 00:03:38 -08:00
Joe Darcy
f727e882fa 8031467: Fix doclint missing issues in java.awt.{dnd[.peer], datatransfer}
Reviewed-by: pchelko
2014-01-14 23:10:41 -08:00
Joe Darcy
1e6a7ced2a 8031736: Fix doclint issue in javax.print
Reviewed-by: alanb
2014-01-14 13:52:23 -08:00
Kumar Srinivasan
f855923c6a 8031494: [launcher] java launcher should check for JNI Pending exceptions
Reviewed-by: alanb, chegar, mchung
2014-01-14 13:19:11 -08:00
Lance Andersen
fdffcd214e 8031721: Remove non-existent test from TEST.groups
Reviewed-by: mchung
2014-01-14 14:27:03 -05:00
Joe Darcy
48ce9464b0 8031651: Remove unneeded -source and -target flags in jdk repo regression tests
Reviewed-by: dfuchs, mullan
2014-01-14 10:08:24 -08:00
Dimitar Mavrodiev
bae4227a91 7100957: SOCKS proxying does not work with IPv6 connections
Reviewed-by: chegar, alanb
2014-01-14 16:23:49 +00:00
Chris Hegarty
43b001e43f 8031708: Windows x86 build failure: JNU_ThrowOutOfMemoryError undefined
Reviewed-by: alanb
2014-01-14 15:15:45 +00:00
Tristan Yan
1a8acb6b57 7027502: Remove demo/jvmti/hprof/MonitorTest.java from exclude list with additional debug output
Reviewed-by: dholmes, sla, alanb
2014-01-14 14:54:05 +00:00
Xue-Lei Andrew Fan
ca25819893 8031566: regression test failure, SSLEngineBadBufferArrayAccess.java
Reviewed-by: mullan
2014-01-14 06:41:10 -08:00
Erik Joelsson
f607277df0 8025936: Windows .pdb and .map files does not have proper dependencies setup
Reviewed-by: ihse, tbell
2014-01-14 12:05:46 +01:00
Jaroslav Bachorik
a635170108 8030847: java/lang/management/ThreadMXBean/ThreadBlockedCount.java fails intermittently again
Reviewed-by: dholmes, sla, mchung
2014-01-14 13:09:34 +01:00
Katja Kantserova
7175e6fe70 6380601: MISC_REGRESSION tests need to be more resilient to ps cmd problems
Reviewed-by: sla, alanb, jbachorik
2014-01-14 11:08:33 +01:00
Weijun Wang
f7868d3299 8031046: Native Windows ccache might still get unsupported ticket
Reviewed-by: valeriep
2014-01-14 13:31:44 +08:00
Xue-Lei Andrew Fan
520ada1ca7 8030829: Add MD5 to jdk.certpath.disabledAlgorithms security property
Reviewed-by: mullan, weijun
2014-01-13 21:12:58 -08:00
Xue-Lei Andrew Fan
15c7afef94 8028518: Increase the priorities of GCM cipher suites
Reviewed-by: wetmore
2014-01-13 20:56:18 -08:00
Dan Xu
45609addf6 8029007: Check src/share/native/sun/misc code for JNI pending exceptions
Reviewed-by: chegar, alanb, rriggs, mchung
2014-01-13 16:32:18 -08:00
Joe Darcy
5ad3d27c91 8031589: Fix doclint issues in java.beans.beancontext
Reviewed-by: alanb
2014-01-13 14:52:49 -08:00
Anthony Scarpino
08eb81f9ea 8031372: JDK 9 Specification-Version in jar files is still 1.8
Reviewed-by: alanb, erikj, wetmore
2014-01-11 09:19:47 -08:00
Sean Coffey
92dcae79b5 Merge 2014-01-11 11:22:35 +00:00
Daniel Fuchs
01a0c50d3f 8031525: Logger created in test/tools/jar/UpdateManifest.java might get gc'ed too early
The test needs to keep a strong reference on its loggers otherwise the modification of the logger level may only be transient.

Reviewed-by: chegar
2014-01-10 19:48:02 +01:00
Joe Darcy
ad40a93e8a 8031082: Fix non-missing doclint problems in client libraries
Reviewed-by: serb
2014-01-10 09:24:47 -08:00
Chris Hegarty
be247dff24 Merge 2014-01-10 15:04:46 +00:00
Daniel Fuchs
078338ed6a 8031068: java/util/logging/ParentLoggersTest.java: checkLoggers: getLoggerNames() returned unexpected loggers
The test was not keeping any strong reference on the loggers it created allowing for them to be garbage collected too early.

Reviewed-by: mchung, chegar
2014-01-10 15:51:24 +01:00
Jaroslav Bachorik
a923f5c5d3 8031420: sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails on some platforms: Unable to locate 'libjvm.so'
Reviewed-by: sla, chegar, sjiang
2014-01-10 08:22:00 +01:00
Joe Darcy
83ef2a16f5 8030845: Fix doclint missing issues in java.awt.event
Reviewed-by: prr, anthony
2014-01-09 14:15:01 -08:00
Joe Darcy
34ee8749b7 8031326: Use Class<?> rather than Class in java.net method signatures
Reviewed-by: alanb, chegar
2014-01-07 09:58:16 -08:00
Roger Riggs
4541877ec0 8031103: java.time.Duration has wrong Javadoc Comments in toDays() and toHours()
Correct specification for Duration.toDays, toHours

Reviewed-by: lancea, alanb
2014-01-07 11:50:15 -05:00
Joe Darcy
84150a3734 8031302: Fix raw types lint warnings in java.security
Reviewed-by: xuelei
2014-01-07 09:17:56 -08:00
Joe Darcy
091f943598 8027063: SecurityManger.getClassContext returns a raw type
Reviewed-by: lancea, alanb, xuelei
2014-01-07 09:09:30 -08:00
Chris Hegarty
e5fe6018d3 Merge 2014-01-07 13:00:37 +00:00
Chris Hegarty
f27b377f0e 8031142: AbstractCollection and AbstractList should specify their default implementation using @implSpec
Reviewed-by: martin, psandoz
2014-01-07 12:59:32 +00:00
Chris Hegarty
2878960abe 8031067: java/util/concurrent/atomic/AtomicUpdaters.java: java.lang.Error: Unexpected reflective access
Ensure that the test is not influenced by the default users policy.

Reviewed-by: martin
2014-01-07 11:34:59 +00:00
Paul Sandoz
4d62c07baa 8031306: Incorrect bug id on tests
Reviewed-by: chegar
2014-01-07 11:33:22 +01:00
Paul Sandoz
b3ff3362d2 8031187: DoubleStream.count is incorrect for a stream containing > Integer.MAX_VALUE elements
Reviewed-by: darcy
2014-01-07 11:15:11 +01:00
Peter Levart
1403c7fe08 8030801: SocketHandler(host, port) requires permission ("java.util.logging.LoggingPermission" "control")
8029781: Theoretical data race on java.util.logging.Handler.sealed

Use privileged actions instead of racy boolean field to elevate privilege when constructing logging handlers

Reviewed-by: mchung, dfuchs
2014-01-07 09:54:16 +01:00
Joe Darcy
7afdd44edf 8031210: Remove serial warning from java.lang.Enum
Reviewed-by: lancea, mduigou
2014-01-06 13:54:54 -08:00
Aleksei Efimov
e03b5f15ed 8025051: Update resource files for TimeZone display names
Reviewed-by: okutsu, mfang
2013-12-30 16:46:55 +04:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Peter Levart
e7666f597d 6857566: (bf) DirectByteBuffer garbage creation can outpace reclamation
Help ReferenceHandler thread process References while attempting to allocate direct memory

Reviewed-by: alanb
2014-02-24 15:34:33 +01:00
Fredrik Arvidsson
ae40a61ee5 8034203: Change JavaDoc for com.sun.jdi.request.EventRequest.setEnabled(boolean val)
Added small corrections to the JavaDoc comments in the code.

Reviewed-by: sla
2014-02-24 10:34:07 +01:00
Aleksei Efimov
7cef8fd674 8032909: XSLT string-length returns incorrect length when string includes complementary chars
Reviewed-by: joehw, dfuchs
2014-02-21 16:55:25 +04:00
Ivan Gerasimov
d32c8e09e3 8023022: Some more typos in javadoc
Reviewed-by: lancea, alanb
2014-02-17 20:23:55 +04:00
Sergey Bylokhov
15eae84511 8030987: sun_awt_X11_GtkFileDialogPeer.h can be removed
Reviewed-by: pchelko, azvegint
2013-12-26 21:33:24 +04:00
Petr Pchelko
4858095260 7154841: [macosx] Popups appear behind taskbar
Reviewed-by: anthony, serb
2013-12-24 18:37:24 +04:00
David Buck
3722bb2766 6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so
Fix is to call dladdr with name less likely to cause name conflict.

Reviewed-by: serb, anthony
2013-12-23 11:57:03 -08:00
Sergey Bylokhov
2273f9252a 8009919: [macosx] NPE in AquaSingleImagePainter.paint()
Reviewed-by: pchelko, azvegint
2013-12-23 19:03:37 +04:00
Sergey Bylokhov
7842ee3945 8030953: SelectionVisible test should test multiline selection in case of TextArea
Reviewed-by: pchelko, azvegint
2013-12-23 18:54:50 +04:00
Sergey Malenkov
e4bef18896 8030118: Document listeners fired outside document lock
Reviewed-by: art, serb
2013-12-23 16:37:21 +04:00
Sergey Bylokhov
bfc4fbc0e8 8001472: api/java_awt/Window/indexTGF_* tests fail because expected colors aren't equal
Reviewed-by: anthony, azvegint
2013-12-22 21:12:43 +04:00
Petr Pchelko
785443ca4a 8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
Reviewed-by: anthony, serb
2013-12-20 14:42:37 +04:00
Petr Pchelko
a5ea3036e8 7159566: The choice positioned in the top of applet when clicking the choice
Reviewed-by: anthony, serb
2013-12-19 16:49:27 +04:00
Petr Pchelko
2fe345235d 8024185: [macosx] Fullscreen button freezes application when started with -splash
Reviewed-by: anthony, serb
2013-12-19 16:40:28 +04:00
Peter Brunet
9b1fc9ec47 8029045: Regression - Unsatisfied Link Error when the Java Access Bridge is started
Rename native function name; fix make to rebuild jni header file

Reviewed-by: erikj, tbell
2013-12-18 18:52:07 +04:00
Alexander Zvegintsev
18979e0834 8029263: user's default browser can not launch after we click the button, and there is an IOException shown in the log text (java.io.IOException)
Reviewed-by: anthony, serb
2013-12-18 11:01:33 +00:00
Alexander Zvegintsev
bbcac040a5 8029923: Many Swing tests and SwingSet2 are failing under Solaris using GTK LaF - "Unable to load native GTK libraries"
Reviewed-by: anthony, serb
2013-12-18 10:41:11 +00:00
Anthony Petrov
b031d0e4ea 8029979: Allow multiple calls to DropTargetDropEvent.acceptDrop()
Reviewed-by: pchelko, serb
2013-12-17 18:41:58 +04:00
Petr Pchelko
30fc9d68b2 8026869: [macosx] Support apple.awt.use-file-dialog-packages property
Reviewed-by: anthony, serb
2013-12-17 11:44:25 +04:00
Petr Pchelko
815543bb82 8023148: [macosx] java.util.NoSuchElementException at java.util.LinkedList.getFirst
Reviewed-by: ant, serb
2013-12-17 11:19:27 +04:00
Petr Pchelko
5d49c8af39 8029565: java.awt.dnd.InvalidDnDOperationException: data translation failed on file drop
Reviewed-by: anthony, serb
2013-12-16 17:35:08 +04:00
Iris Clark
e341c735ed 8030068: Update .jcheck/conf files for JDK 9
Reviewed-by: mr
2013-12-13 09:36:06 -08:00
Iris Clark
997d7e25e5 Added tag jdk9-b00 for changeset 54d61bc20e2a 2013-12-12 15:27:09 -08:00
Vladimir Kozlov
71ac207668 Merge 2013-12-12 11:04:11 -08:00
David Katleman
48f9954570 Added tag jdk8-b120 for changeset 9c26010427f3 2013-12-12 05:21:24 -08:00
Michael Fang
2119e203d4 8026115: [zh_CN] inproper translation in output of jarsigner command
Reviewed-by: naoto, yhuang
2013-12-11 21:22:49 -08:00
Michael Fang
9318b9239b 8026741: jdk8 l10n resource file translation update 5
Reviewed-by: naoto, yhuang
2013-12-17 23:33:51 -08:00
Michael McMahon
afaa69f874 8034853: remove sun.misc.ClassLoaderUtil
Reviewed-by: alanb, mchung, chegar
2014-02-18 12:25:31 +00:00
Fredrik Arvidsson
0fbc4f8875 4515292: ReferenceType.isStatic() returns true for arrays
Add implementation of isStatic() in com.sun.tools.jdi.ArrayTypeImpl

Reviewed-by: sla, sspitsyn
2014-02-18 11:23:00 +01:00
Mattias Tobiasson
40041ce438 6545422: [TESTBUG] NativeErrors.java uses wrong path name in exec
Uses common testlibrary to find executable. Removed NullPointerExceptions. Log more.

Reviewed-by: sla
2014-01-21 15:17:57 +01:00
Erik Joelsson
6da9c36ee0 8035067: Move jdk/src/share/classes/java/util/CurrencyData.properties to jdk/make/data
Reviewed-by: alanb, naoto, ihse, tbell
2014-02-18 08:46:37 +01:00
Sean Mullan
2ef59ffae4 Merge 2014-02-17 11:37:46 -05:00
Sean Mullan
7699817903 8025708: Certificate Path Building problem with AKI serial number
Reviewed-by: xuelei, juh
2014-02-17 11:36:40 -05:00
Amanda Jiang
2b1f66ac95 8031661: java/net/Authenticator/B4769350.java failed intermittently
Reviewed-by: michaelm
2014-02-17 11:27:18 +00:00
Jaroslav Bachorik
431e7d6c39 8034177: sun/management/jmxremote/startstop/JMXStartStopTest.java should report port in use
Reviewed-by: dfuchs, sjiang
2014-02-17 09:43:12 +01:00
Ivan Gerasimov
878d40f04e 4682009: Typo in javadocs in javax/naming
Reviewed-by: lancea, alanb
2014-02-15 10:17:35 +04:00
Alan Bateman
ee719c94cd 8034943: Eliminate Kerberos dependency on com.sun.security.auth to avoid circular dependency
Reviewed-by: weijun
2014-02-14 15:21:26 +00:00
Volker Simonis
063b3a7453 8034801: AIX: (ch) Fix synchronization issue in AixPollPort.java
Reviewed-by: alanb
2014-02-14 11:23:58 +01:00
Tristan Yan
39d3c424cb 8030844: sun/rmi/rmic/classpath/RMICClassPathTest.java timeout in same binaries run
Reviewed-by: smarks
2014-02-13 11:15:56 +08:00
Lance Andersen
3b32d0da29 8034896: Correct Clob.free javadoc typo
Reviewed-by: dfuchs
2014-02-13 18:05:36 -05:00
Stuart Marks
935bd9f979 8034000: lack of /othervm option can cause some RMI tests to fail
Reviewed-by: darcy, alanb
2014-02-13 14:48:39 -08:00
Jason Uh
c4edb55592 8031025: SQE test CertPath/CertPathBuilderTest/* failed with java.lang.IndexOutOfBoundsException
Reviewed-by: mullan
2014-02-13 11:47:43 -08:00
Erik Joelsson
708c2d8f03 8034193: Move X11 wrapper generator files to make/src and make/data
Reviewed-by: ihse, alanb, tbell
2014-02-13 17:40:43 +01:00
Erik Joelsson
ff24be63a7 8034179: Clean up nio genConstants
Reviewed-by: alanb, ihse
2014-02-13 17:14:24 +01:00
Michael Cui
dca4d10631 8028711: TEST_BUG: Shell tests should pass through VM options
Reviewed-by: alanb
2014-02-13 15:59:04 +00:00
Alan Bateman
4e71a94e91 8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11
8034857: gcc warnings compiling src/solaris/native/sun/management

Reviewed-by: sla, mullan
2014-02-13 14:08:12 +00:00
Magnus Ihse Bursie
cd941767e3 8034191: Move relevant parts of build system to new closed repo
Reviewed-by: erikj, tbell
2014-02-13 00:01:07 +01:00
Michael McMahon
1b137176a4 8029696: Broken doc links to package-summary.html#NonInterference in java.util.stream
Reviewed-by: mduigou
2013-12-11 15:27:06 -08:00
Michael McMahon
ae961f25d4 8029944: Primitive Stream reduce method documentation pseudo code misidentifies apply method
Reviewed-by: mduigou
2013-12-11 15:26:47 -08:00
Michael Cui
2d2b14d980 7052625: com/sun/net/httpserver/bugs/6725892/Test.java fails intermittently
Reviewed-by: chegar
2014-02-20 13:03:36 +00:00
Martin Buchholz
103674cdf8 8022852: Fix serial javac warnings in ArrayPrefixHelpers
Reviewed-by: chegar
2014-02-20 12:16:28 +00:00
Magnus Ihse Bursie
49554fcceb 8028770: LIBARCHNAME should not be used in CompileLauncher.gmk
Reviewed-by: tbell
2014-02-20 11:47:22 +01:00
Florian Weimer
201a5c86b7 8035105: DNS provider cleanups
Reviewed-by: alanb
2014-02-20 10:41:06 +00:00
Steffen Schreiber
384493200f 8034087: XML parser may overwrite element content if that content falls onto the border of an entity scanner buffer
Reviewed-by: alanb, joehw
2014-02-20 10:40:58 +01:00
Tristan Yan
05263ad736 8032050: Clean up for java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java
Reviewed-by: smarks
2014-02-15 10:23:07 +08:00
Roger Riggs
2b6adb0b44 8029551: Add value-type notice to java.time classes
Add warning about identity of value types and reference to ValueBased.html

Reviewed-by: briangoetz, smarks, scolebourne
2013-12-11 16:52:41 -05:00
Jason Uh
d8cb69a469 8007967: Infinite loop can happen in sun.security.provider.certpath.SunCertPathBuilder.depthFirstSearchForward()
Reviewed-by: mullan
2014-01-06 13:20:06 -08:00
Joe Darcy
2da6ed45d3 8031201: Fix casting lint issues in java.net
Reviewed-by: alanb, chegar
2014-01-06 11:48:32 -08:00
Michael McMahon
208ab44594 8029354: URLPermission.<init> throws llegalArgumentException: Invalid characters in hostname
Reviewed-by: alanb, chegar
2014-01-06 11:00:12 +00:00
Joe Wang
dddabe454d 8027359: XML parser returns incorrect parsing results
Reviewed-by: lancea
2014-01-05 21:02:57 -08:00
Tristan Yan
14bf505664 8030284: intermittent StackOverflow in RMI bench/serial test
Reviewed-by: smarks
2014-01-03 20:43:09 -08:00
Brian Burkhalter
0ea41f88dc 8029561: Optimization in Integer to string conversion
Remove FIXME-TODO comments as the suggested change does not improve performance.

Reviewed-by: darcy
2014-01-03 14:04:41 -08:00
Joe Darcy
398131c8a7 8030212: Several api.java.util.stream tests got "NaN" value instead of "Infinity" or "-Infinity"
Reviewed-by: mduigou, psandoz
2014-01-03 10:38:23 -08:00
Joe Darcy
456defc468 8031148: Fix doclint issues in javax.xml.crypto.dsig
Reviewed-by: chegar, mullan
2014-01-03 09:49:08 -08:00
Alan Bateman
e21c1ec29b 8031113: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently
Reviewed-by: chegar
2014-01-03 15:59:54 +00:00
Alan Bateman
b64d8e7b03 8029018: (bf) Check src/share/native/java/nio/Bits.c for JNI pending exceptions
Reviewed-by: chegar
2014-01-03 15:42:05 +00:00
Chris Hegarty
ee0f45fa54 Merge 2014-01-03 06:28:56 +00:00
Doug Lea
296d7cd8f7 8031133: AbstractMap should specify its default implementation using @implSpec
Reviewed-by: chegar, alanb
2014-01-03 06:22:41 +00:00
Mark Sheppard
994d1ed325 8027903: java/net/MulticastSocket/SetGetNetworkInterfaceTest.java throws java.net.SocketException: Cannot assign requested address
Check for pending Exception and clear if invoking ipv6 mcast_set_xxx function during setNetworkInterface call flow.

Reviewed-by: alanb, chegar
2014-01-02 19:23:27 +00:00
Ivan Gerasimov
2d0da895cd 8030698: Several GUI labels in jconsole need correction
Reviewed-by: sla
2013-12-30 16:34:06 +04:00
Weijun Wang
74e666c00e 8028780: JDK KRB5 module throws OutOfMemoryError when CCache is corrupt
Reviewed-by: xuelei
2013-12-30 11:51:19 +08:00
Xue-Lei Andrew Fan
3b4a745b26 8025415: Test SSLSocketImplThrowsWrongExceptions.java timed out
Reviewed-by: weijun
2013-12-24 20:07:12 -08:00
Stuart Marks
646f941ed1 8007256: RMI testlibrary cleanup: remove JavaVMCallbackHandler
Reviewed-by: darcy
2013-12-24 16:43:19 -08:00
Sean Mullan
c6168c2206 Merge 2013-12-24 08:42:21 -05:00
Sean Mullan
8e04ecdca9 8030813: Signed applet fails to load when CRLs are stored in an LDAP directory
Skip JNDI application resource lookup to avoid recursive JAR validation

Reviewed-by: vinnie, herrick
2013-12-24 08:40:40 -05:00
Kumar Srinivasan
9e4aa28467 8029997: [infra] remove Solaris ISA directories and the links
Reviewed-by: alanb, tbell
2013-12-23 14:24:48 -08:00