Commit Graph

3806 Commits

Author SHA1 Message Date
Chris Hegarty
7e4d56677d 8145990: Move sun.misc math support classes to jdk.internal.math
Reviewed-by: bpb, darcy
2015-12-22 12:17:25 +00:00
David Buck
7c6ec89aca Merge 2015-12-21 23:00:15 +01:00
Roger Riggs
aebd8a6c32 8136597: java/lang/ProcessHandle/InfoTest.java fails
Correct for truncated command line

Reviewed-by: redestad
2015-12-21 15:26:56 -05:00
Roger Riggs
197207b152 8138696: java.lang.ref.Cleaner - an easy to use alternative to finalization
Reviewed-by: mchung, mr, chegar, plevart, kbarrett, dholmes
2015-12-21 11:34:14 -05:00
Daniel Fuchs
72bed9c5df 8145686: SimpleConsoleLogger and LogRecord should take advantage of StackWalker to skip classes implementing System.Logger
Methods defined on classes implementing System.Logger will be skipped when looking for the calling method.

Reviewed-by: mchung
2015-12-21 13:30:58 +01:00
Felix Yang
7295899326 8131155: java/net/NetworkInterface/NetworkInterfaceStreamTest.java failed because of Teredo Tunneling Pseudo-Interface
Reviewed-by: amlu, chegar, psandoz
2015-12-21 13:43:53 +08:00
Christian Thalinger
48e2ec8057 Merge 2015-12-18 10:00:55 -08:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Roger Riggs
042d41828f 8146012: CleanerTest fails: Cleanable should have been freed
Simplify cleanables being called and use WhiteBox to trigger GC

Reviewed-by: chegar
2015-12-22 14:12:55 -05:00
Chris Hegarty
3c6809b64c 8145589: Test6277246.java fails to compile after JDK-8144479
Reviewed-by: rriggs
2015-12-18 16:12:55 +00:00
Chris Hegarty
355dac1a4c 8056152: API to create Threads that do not inherit inheritable thread-local initial values
Reviewed-by: alanb, dholmes, mchung, mr, rriggs
2015-12-18 16:06:24 +00:00
Vyom Tewari
719833448a 4823133: RandomAccessFile.length() is not thread-safe
RandomAccessFile.length() is not thread-safe

Reviewed-by: rriggs, dfuchs, martin, dsamersoff
2015-12-18 16:06:26 +05:30
Volker Simonis
f837501797 8146482: [TESTBUG] java/net/SocketOption/OptionTest should only use multicast capable interfaces for multicast tests
Reviewed-by: chegar
2016-01-07 10:54:41 +01:00
Felix Yang
02b6ec0612 8140472: java/net/ipv6tests/TcpTest.java failed intermittently with java.net.BindException: Address already in use: NET_Bind
Reviewed-by: chegar
2016-01-06 22:22:01 -08:00
Brian Burkhalter
ae68be4a75 8146041: java.net.URLConnection.guessContentTypeFromStream() does not recognize TIFF streams
Add detection of TIFF magic numbers.

Reviewed-by: rriggs, chegar
2016-01-06 10:15:37 -08:00
Chris Hegarty
aa0ef2e9f5 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Brian Burkhalter
6739382299 8146359: test/java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile.java fails when nc is not available
Check for presence of netcat command using 'which' before running test

Reviewed-by: alanb
2016-01-05 16:03:36 -08:00
Brian Burkhalter
119f59143f 8050499: (ch) NativeSignal.signal fails with error 316 on OS X
Do not throw an exception when ESRCH returned by pthread_kill() on OS X.

Reviewed-by: alanb
2016-01-05 13:57:32 -08:00
Paul Sandoz
5d45834ee3 8145006: Collections.asLifoQueue(null) doesn't throw NPE as specified
Reviewed-by: smarks
2015-12-18 09:59:25 +01:00
Mandy Chung
d80160da67 8144553: java/lang/StackWalker/StackWalkTest.java and MultiThreadStackWalk.java fail with stack overflows
Reviewed-by: dfuchs
2015-12-17 09:39:21 -08:00
Joel Borggrén-Franck
5c29ca104e 8057804: AnnotatedType interfaces provide no way to get annotations on owner type
Reviewed-by: darcy, redestad
2015-12-16 20:00:03 +01:00
Roger Riggs
570ebc4176 8032510: Add java.time.Duration.dividedBy(Duration)
Reviewed-by: rriggs, scolebourne
2015-12-16 13:00:29 -05:00
Ambarish Rapte
3722e415a3 8145116: [TEST_BUG] Incorrect binary comparison in java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java
Reviewed-by: ssadetsky, jdv
2015-12-16 17:40:24 +03:00
Chris Hegarty
6853999d56 8145416: Move sun.misc.ProxyGenerator to java.lang.reflect
Reviewed-by: alanb, mchung, rriggs
2015-12-16 08:42:00 +00:00
Sebastian Sickelmann
fb053862e5 4906983: java.net.URL constructors throw MalformedURLException in undocumented way
Added some testcases for the corner-cases in question and clarified javadoc

Reviewed-by: chegar, msheppar
2015-12-15 17:35:27 +01:00
Brian Burkhalter
7a0c72ef9c 8143394: PushbackReader throws NullPointerException
Synchronize on lock in close() to avoid NPE from read()-close() race.

Reviewed-by: alanb, dfuchs
2015-12-15 09:02:46 -08:00
Joseph Provino
a5bc6efb1b Merge 2015-12-14 19:49:10 +00:00
Phil Race
6447b5bb8b Merge 2015-12-14 10:36:12 -08:00
Xueming Shen
2b91819eec 8145260: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk [2]
Reviewed-by: coffeys
2015-12-14 09:27:15 -08:00
Shinya Yoshida
38302301fd 8144675: Add a filtering collector
Reviewed-by: psandoz, smarks
2015-12-13 15:20:35 +01:00
Tagir Valeev
2a1775f3b1 8145007: Pattern splitAsStream is not late binding as required by the specification
Reviewed-by: chegar, psandoz
2015-12-13 15:10:13 +01:00
Stuart Marks
82c454ff4a 8144952: add wildcards to the Map.ofEntries() method
Reviewed-by: darcy, psandoz, chegar
2015-12-11 17:01:01 -08:00
Brian Burkhalter
031af5cb63 8133986: (fs) Remove file deletion from test/java/nio/file/FileSystem/Basic.java checkNoUOE() method
Do not delete file which provoked an unexpected exception.

Reviewed-by: alanb
2015-12-11 08:30:50 -08:00
Naveen Kumar
b831ed3c8b 8139572: SimpleDateFormat parse month stand-alone format bug
Reviewed-by: okutsu
2015-12-15 16:42:30 +09:00
Phil Race
47cd79c08d Merge 2015-12-10 11:46:23 -08:00
Nadeesh TV
7d2c07c70d 8142936: Add java.time.Duration methods for days, hours, minutes, seconds, etc
Reviewed-by: rriggs, scolebourne
2015-12-09 15:27:21 -05:00
Stuart Marks
d42e70fc3c 8139232: JEP-269 initial API and skeleton implementations
Reviewed-by: psandoz, rriggs
2015-12-08 13:48:22 -08:00
Xueming Shen
b0e22f9603 8144958: changes by JDK-8142508 seems to have broken jtreg
Reviewed-by: darcy
2015-12-08 16:43:58 -08:00
Xueming Shen
44a8a73eb6 8142508: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk
Reviewed-by: coffeys
2015-12-08 09:25:01 -08:00
Manajit Halder
18ace0f732 7159591: [macosx] In SetFontTest there's no space for the second button
Reviewed-by: arapte, serb
2015-12-08 19:50:14 +03:00
Ambarish Rapte
7c018b1a00 8060137: Removing Text from TextField / TextArea is not possible after typing
Reviewed-by: ssadetsky, psadhukhan
2015-12-09 02:41:51 +04:00
Prasanta Sadhukhan
5bfc44dca2 7160052: GlyphVector.setGlyphPosition can throw an exception on valid input
Reviewed-by: jdv, serb
2015-12-08 11:25:47 +03:00
Joe Darcy
4faa0ee15c 8144880: Instrument intermittently failing test ConfigChanges.java
Reviewed-by: lancea, martin
2015-12-07 14:12:58 -08:00
Daniel Fuchs
66f1f09adb 8144262: LogRecord.getMillis() method is a convenience API that should not have been deprecated
LogRecord.getMillis() is no longer deprecated. LogRecord.setInstant() check that the instant millis can fit in a long millisecond-since-epoch.

Reviewed-by: lancea, rriggs, smarks
2015-12-07 12:35:37 +01:00
Xueming Shen
5675c04125 8143854: java/util/regex/RegExTest.java.RegExTest failed
Reviewed-by: darcy
2015-12-04 12:28:09 -08:00
Joe Darcy
3c3235b4cd 8144742: Instrument intermittently failing test GCDuringIteration.java
Reviewed-by: rriggs, martin
2015-12-04 11:01:53 -08:00
Prasanta Sadhukhan
9c2dc1edf5 8140530: Creating a VolatileImage with size 0, 0 results in no longer working g2d.drawStri
Reviewed-by: flar, serb
2015-12-04 13:52:21 +03:00
Phil Race
3c2bc66bb7 Merge 2015-12-03 11:56:10 -08:00
Rachna Goel
034df88671 8130246: java/util/Currency/PropertiesTest.sh fails Exception java.lang.NullPointerException
Updated PropertiesTest.sh to be sequential

Reviewed-by: naoto
2015-12-03 14:01:33 +05:30
Michael Haupt
03e64cef7b 8143343: add JEP 274 Javadoc tests to JavaDocExamplesTest
Reviewed-by: sundar
2015-12-03 15:36:20 +01:00
Sergey Bylokhov
59accc606b 8131754: AquaTreeUI.getCollapsedIcon() issue reported in java beans tests with a modular build
Reviewed-by: malenkov, alexsch
2015-12-03 12:27:02 +05:30
Hamlin Li
b3fa048050 8144460: Improve the code coverage for BootstrapLogger and SimpleConsoleLogger APIs and verify bug fix JDK-8144214
Cover the logXX and LogEvent.valueOf APIs of BootstrapLogger and logXX APIs of SimpleConsoleLogger

Reviewed-by: dfuchs
2015-12-02 19:46:46 -08:00
Masayoshi Okutsu
00cf15a96c 8141243: Unexpected timezone returned after parsing a date
Reviewed-by: naoto, peytoia
2015-12-03 15:34:08 +09:00
Phil Race
26a709b671 Merge 2015-12-02 16:45:03 -08:00
Phil Race
ab52dbb30c Merge 2015-12-02 16:37:55 -08:00
Vyom Tewari
dc93a924ee 6856817: Poor performance of Writer#append with CharBuffer
Poor performance of Writer#append with CharBuffer

Reviewed-by: rriggs, dfuchs, sherman, shade
2015-12-02 21:32:40 +01:00
Phil Race
c410a92fed Merge 2015-12-02 11:22:27 -08:00
Lana Steuck
af7402f069 Merge 2015-12-02 09:34:55 -08:00
Phil Race
214c48d9d2 Merge 2015-12-02 09:15:12 -08:00
Phil Race
0302ed2ed2 8144074: [PIT] Crash calling Toolkit.getScreenSize() on Windows
Reviewed-by: flar
2015-12-02 09:12:39 -08:00
Roger Riggs
bdca5d5f82 8143876: test/java/lang/ProcessHandle/TreeTest.java failed intermittently with assertion error
The parent pid may be re-used, check that the child was started after the parent

Reviewed-by: darcy
2015-12-02 09:40:14 -05:00
Weijun Wang
7779102abc 8141457: keytool default cert fingerprint algorithm should be SHA-256
Reviewed-by: mullan
2015-12-02 16:44:54 +08:00
Semyon Sadetsky
afabb1b2c0 8068228: Test closed/java/awt/Mouse/MaximizedFrameTest/MaximizedFrameTest fails with GTKLookAndFeel
Reviewed-by: ssadetsky, arapte
2015-12-01 19:07:45 +03:00
Semyon Sadetsky
39ce42b41e 8081457: TrayIcon tests fail in OEL 7 only
Reviewed-by: alexsch, serb, azvegint
2015-12-01 19:02:50 +03:00
Jesper Wilhelmsson
a5b3e891de Merge 2015-11-30 18:40:06 +01:00
Iris Clark
70e00d742f Merge 2015-11-29 20:29:45 -08:00
Ambarish Rapte
bcb6785755 8055197: TextField deletes multiline strings
Reviewed-by: serb, alexsch
2015-11-26 19:12:28 +04:00
Doug Lea
9ea1a16abd 8142441: Improve jtreg tests for java.util.concurrent
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:56:44 -08:00
Doug Lea
d28c703325 8072015: java/util/Collections/CheckedMapBash.java failed TreeSet(reverseOrder)
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:45:53 -08:00
Doug Lea
19cd84ef8c 8140471: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java timed out
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:40:41 -08:00
Doug Lea
247c08f85d 8140468: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java failed with java.lang.Error: Completed == 4; expected 2
8040928: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java: java.lang.Error: Completed != 2

Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:35:27 -08:00
Doug Lea
22fa6c1f25 8141031: java/util/concurrent/Phaser/Basic.java starts failing intermittently
Reviewed-by: martin, psandoz, chegar, shade, plevart
2015-11-25 18:30:07 -08:00
Lance Andersen
0c8069758d 8143165: Add Statement.isSimpleIdentifier and update enquoteLiteral
Reviewed-by: rriggs, joehw
2015-11-25 15:28:30 -05:00
Michael Haupt
063afcee2f 8143798: jck failures: api/java_lang/invoke/MethodHandle/index_MethodsTests[asSpreaderWMTE]: java.lang.VerifyError: Bad type on operand stack
Reviewed-by: vlivanov
2015-11-25 09:23:07 +01:00
Naveen Kumar
f5466fa917 7047633: remove @ignore 6876961 from test/java/util/ResourceBundle/Test4300693.java
Reviewed-by: peytoia, okutsu
2015-11-25 13:29:14 +09:00
Mandy Chung
eb2c6c52bb 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 15:05:58 -08:00
Christian Tornqvist
557f4f366f 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:32 -08:00
Rachna Goel
da87510683 7011840: TEST_BUG java/util/Locale/LocaleEnhanceTest.java
Outputting extra information in LocaleEnhanceTest.java

Reviewed-by: peytoia, naoto
2015-11-24 14:46:09 +05:30
Aleksey Shipilev
7fafbde248 8136500: Integer/Long getChars and stringSize should be more idiomatic
Reviewed-by: igerasim, sherman, psandoz, jrose
2015-11-24 19:02:33 +03:00
Mandy Chung
500a73cdb1 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:50 -08:00
Alexandre Iline
fb7027bca9 8139430: Refactor test library to decrease module dependencies of tests
Reviewed-by: mchung, alanb
2015-11-23 11:49:04 -08:00
Phil Race
d1c0c842fb Merge 2015-11-23 10:00:50 -08:00
Phil Race
301586f462 8143177: Integrate harfbuzz opentype layout engine per JEP 258
Reviewed-by: srl, vadim, serb
2015-11-23 09:58:44 -08:00
Vikrant Agarwal
4e828a68b5 7146533: [TEST BUG] [macosx] skip java/awt/xembed/server/RunTestXEmbed.java for Mac OS X
Reviewed-by: alexsch, serb
2015-11-23 14:44:41 +03:00
Daniel Fuchs
bd8942b7a1 8140364: JEP 264 Platform Logger API and Service Implementation
Initial implementation for JEP 264 Platform Logger API and Service

Reviewed-by: mchung, psandoz, rriggs
2015-11-20 19:26:16 +01:00
Michael Haupt
5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00
Iris Clark
b1b246fa7b Merge 2015-11-19 14:00:49 -08:00
Claes Redestad
7563066613 8143253: java/lang/invoke/CompileThresholdBootstrapTest.java failing on mach5
Reviewed-by: lancea
2015-11-18 20:56:00 +01:00
Claes Redestad
e9b75962b3 8143232: Fix java.lang.invoke bootstrap when specifying COMPILE_THRESHOLD
Reviewed-by: vlivanov
2015-11-18 17:39:40 +01:00
David Lindholm
ac45dea45e 8145092: Use Unified Logging for the GC logging
JEP-271

Reviewed-by: sjohanss, brutisso
2015-11-18 14:51:10 +01:00
Phil Race
d095f6db51 Merge 2015-11-17 13:24:06 -08:00
Prasanta Sadhukhan
18cd974bce 8067059: PrinterJob.pageDialog() with DialogSelectionType.NATIVE returns a PageFormat when cancelled
Reviewed-by: jgodinez, prr
2015-11-18 00:20:15 +03:00
Phil Race
5f60908938 Merge 2015-11-17 13:09:16 -08:00
Phil Race
eedb3870a2 Merge 2015-11-17 10:29:28 -08:00
Prasanta Sadhukhan
73b1044258 8039412: Stack overflow on Linux using DialogTypeSelection.NATIVE
Reviewed-by: prr, rchamyal
2015-11-17 19:15:48 +03:00
Nadeesh TV
31f7efd560 8071919: Add java.time.Clock.tickMillis(ZoneId zone) method
Reviewed-by: dfuchs, rriggs, scolebourne
2015-11-17 11:06:46 -05:00
Nadeesh TV
b6d29b4f0b 8072746: LocalDate.isEra() should return IsoEra not Era
Reviewed-by: rriggs, scolebourne
2015-11-17 10:44:22 -05:00
Paul Sandoz
e3111f5d49 8142493: Utility methods to check indexes and ranges doesn't specify behavior when function produces null
Reviewed-by: lancea, rriggs, mchung
2015-11-17 14:11:46 +01:00
Paul Sandoz
c16c0e61c9 8141409: Arrays.equals accepting a Comparator
Reviewed-by: rriggs
2015-11-17 14:11:42 +01:00
Alejandro Murillo
63852abb50 Merge 2015-11-16 22:36:45 -08:00
Iris Clark
6568d3457b Merge 2015-11-16 17:10:20 -08:00
Phil Race
8b00726f06 7162125: [macosx] A font has different behaviour for ligatures depending on its creation mod
Reviewed-by: srl, jgodinez
2015-11-16 16:07:46 -08:00
Roger Riggs
9322c398b5 8133079: java.time LocalDate and LocalTime ofInstant() factory methods
Reviewed-by: rriggs, scolebourne
2015-11-16 15:28:55 -05:00
Alejandro Murillo
38b3ed8f07 Merge 2015-11-16 10:47:28 -08:00
Prasanta Sadhukhan
2603ac8fdb 8081491: The case print incomplete
Reviewed-by: alexsch, rchamyal
2015-11-16 10:56:21 +03:00
Felix Yang
3c5dd5581c 8143015: 5 tests fail with error "Can't find source for class: java.util.stream.OpTestCase"
Reviewed-by: weijun
2015-11-16 12:54:01 +08:00
Jonathan Gibbons
39cb0e2223 8142996: move jdk java/util/streams tests into java.base directories
Reviewed-by: mchung
2015-11-13 15:55:32 -08:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Alejandro Murillo
1d0da88fea Merge 2015-11-13 10:35:27 -08:00
Nadeesh TV
09c0550556 8054978: java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
Reviewed-by: rriggs, scolebourne
2015-11-13 11:52:56 -05:00
Alexander Scherbatiy
d48c3fcafb 8137571: Linux HiDPI Graphics support
Reviewed-by: flar, serb
2015-11-13 18:36:14 +04:00
Brian Burkhalter
e5a6f24f64 8032027: Add BigInteger square root methods
Add sqrt() and sqrtAndReminder() using Newton iteration

Reviewed-by: darcy, lowasser
2015-12-10 17:47:26 -08:00
Brian Burkhalter
30abf404b3 8139133: Changing the modification time on a unix domain socket file fails
If a file descriptor cannot be obtained, use utimes() instead of futimes().

Reviewed-by: alanb
2015-12-10 15:57:27 -08:00
Alexander Scherbatiy
a00e011325 8073320: Windows HiDPI Graphics support
Reviewed-by: flar, serb
2015-11-13 05:02:26 -08:00
Aleksey Shipilev
c7a7ba0e1e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:05 +03:00
Doug Lea
6646fcbf18 8144990: java/util/concurrent/forkjoin/FJExceptionTableLeak.java: OOM with Xcomp,G1GC
Reviewed-by: martin, psandoz, chegar
2016-01-28 08:23:23 -08:00
Alan Bateman
c464136491 8148192: (fs) Path.register can fail with Bad file descriptor and other errors
Reviewed-by: chegar
2016-01-28 12:55:19 +00:00
Martin Buchholz
b9d758e600 8148174: NegativeArraySizeException in Vector.grow(int)
Improve management of internal array

Reviewed-by: smarks, forax
2016-01-25 16:07:00 -08:00
Claes Redestad
e9df200123 8147962: URL should handle lower-casing of protocol locale-independently
Reviewed-by: chegar, alanb, naoto
2016-01-27 13:51:35 +01:00
Chris Hegarty
b9687e112e 8065076: java/net/SocketPermission/SocketPermissionTest.java fails intermittently
Reviewed-by: coffeys, xiaofeya
2016-01-26 09:25:53 +00:00
Roger Riggs
e15eefc7d7 8141652: Rename methods Objects.nonNullElse* to requireNonNullElse*
And some usages of replacing expr != null ? expr : otherexpr

Reviewed-by: jrose, chegar
2015-11-11 22:38:15 -05:00
Joseph Provino
f2134af77c Merge 2015-11-11 23:45:51 +00:00
Nadeesh TV
5541c558b8 8138664: ZonedDateTime parse error for any date using 'GMT0' ZoneID - Java Bug System
Reviewed-by: rriggs, scolebourne, sherman
2015-11-10 14:12:53 -05:00
Nadeesh TV
dd0226189c 8066571: UnsupportedTemporalTypeException is thrown not only in the case of unsupported temporal - Java Bug System
Reviewed-by: rriggs, scolebourne
2015-11-10 14:11:50 -05:00
Rocky Sloan
f8cea75f1c 8137113: [TEST_BUG] Two java.beans tests need to be updated to work with JDK 9 modularized filesystem
Reviewed-by: serb, alexsch
2015-11-10 13:46:45 +03:00
Amy Lu
765cd7602c 8142370: Move java/util/concurrent/Phaser/Basic.java to tier 2
Reviewed-by: darcy, martin
2015-11-10 13:15:01 +08:00
Alejandro Murillo
b96356c53b Merge 2015-11-09 20:37:05 -08:00
Joe Darcy
3cc6f8e724 8142369: Move TestLocalTime.java to tier 2
Reviewed-by: lancea, sherman
2015-11-09 18:27:43 -08:00
Rajan Halade
7ff9b4ac29 8048356: SecureRandom default provider tests
Reviewed-by: wetmore
2015-11-10 01:38:35 +03:00
Iris Clark
2f8616e7b4 Merge 2015-11-09 10:57:01 -08:00
Phil Race
581b95fee3 Merge 2015-11-09 09:05:20 -08:00
Roger Riggs
fe2786af5f 8138566: (Process) java.lang.Process.allChildren specification clarification
8140213: Process/ProcessHandle.onExit() spec need to be improved
8140250: (process) Process.info description is inaccurate

Rename to descendants() and clarify

Reviewed-by: psandoz
2015-11-09 11:02:07 -05:00
Alejandro Murillo
7bbbc98da3 Merge 2015-11-06 11:11:53 -08:00
Prasanta Sadhukhan
86cf3935f7 7161283: [macosx]filedialog didn't pop up for awt test InvalidParametersNativeTest
Reviewed-by: serb, rchamyal
2015-11-06 19:13:16 +03:00
Prasanta Sadhukhan
12667cd360 8020448: Test closed/java/awt/font/JNICheck/JNICheck.sh fails on Solaris 11 since 7 FCS
Reviewed-by: azvegint, rchamyal
2015-11-05 14:08:51 +03:00
Tobias Hartmann
b45249a128 8141393: [TESTBUG] VMOptionsTest.java fails on ARM
The test should not assume that CompactStrings is enabled by default on all platforms.

Reviewed-by: roland
2015-11-05 09:08:42 +01:00
Paul Sandoz
b6f45b1889 8033148: Lexicographic comparators for arrays
Reviewed-by: jrose, chegar, bchristi, mduigou
2015-11-04 16:44:38 +01:00
Joe Darcy
03a416db62 8141368: Typo in java/lang/Class/IsEnum.java test
Reviewed-by: jjg
2015-11-03 17:41:38 -08:00
David Dehaven
4e50c75aa6 Merge 2015-11-03 12:04:12 -08:00
David Dehaven
c0215a77a2 Merge 2015-11-03 09:45:39 -08:00
Roger Riggs
937b5e1d5e 8139345: java/lang/ProcessHandle/TreeTest.java test fails with ... Wrong number of children expected [3] but found [2]
Reviewed-by: darcy
2015-11-03 10:20:14 -05:00
Tobias Hartmann
4ed5b73f3d 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:42:11 +01:00
Iris Clark
321ddf167f Merge 2015-11-01 09:49:05 -08:00
Anton Litvinov
943ce6067c 8132503: [macosx] Chinese full stop symbol cannot be entered with Pinyin IM on OS X
Reviewed-by: alexsch, kizune
2015-10-30 13:23:35 +03:00
Phil Race
b83813f43a 8138817: JNI warnings loading fonts on MacOSX
Reviewed-by: serb, alexsch
2015-10-29 15:17:57 -07:00
David Holmes
90176d92ba Merge 2015-10-29 21:38:11 -04:00
Chris Plummer
5b3684cf37 8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.

Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:02:53 -07:00
Sergey Bylokhov
6b5651d4b8 8134732: [TEST_BUG] Test java/awt/applet/Applet/AppletFlipBuffer.java fails on Windows with AWTException
Reviewed-by: azvegint, yan
2015-10-28 16:42:49 +03:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Prasanta Sadhukhan
b9bde0f1ce 7077412: [TEST_BUG]closed/java/awt/print/PrinterJob/PaintText.java failed (timeout error)
Reviewed-by: azvegint, serb
2015-10-27 14:14:08 +03:00
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Rachna Goel
4fc5003ff5 8061287: Update i18n tests to remove references of jre dir
Updated PropertiesTest.sh to remove references of jre dir.

Reviewed-by: naoto, peytoia
2015-10-26 19:49:22 +05:30
Alexandre Iline
9cbe14b4df 8140336: Add @modules for exported dependencies to jdk_core tests
Reviewed-by: alanb, mchung
2015-10-27 20:06:02 -07:00
Iris Clark
b7cb99d927 Merge 2015-10-25 19:16:39 -07:00
Phil Race
6ca895574e Merge 2015-10-23 10:50:34 -07:00
Phil Race
5c26723516 8132890: Text overlapping on dot matrix printers
Reviewed-by: jgodinez, serb
2015-10-21 09:21:25 -07:00
Mikhail Cherkasov
d9ebc2b4c2 8136763: [macosx] java always returns only one value for "text/uri-list" dataflavor even if several files were copied
Reviewed-by: alexsch, serb
2015-10-21 18:58:19 +03:00
Sergey Bylokhov
b96af1d249 8138764: In some cases the usage of TreeLock can be replaced by other synchronization
Reviewed-by: alexp, alexsch
2015-10-21 18:32:56 +03:00
Semyon Sadetsky
d910e3843f 8022334: After calling frame.toBack() dialog goes to the back on Ubuntu 12.04
Reviewed-by: alexsch, serb
2015-10-20 15:59:51 +03:00
Semyon Sadetsky
d1544f66eb 8011616: JWindow.getLocation and JWindow.getLocationOnScreen return different values on Unity
Reviewed-by: alexsch, serb
2015-10-20 15:42:59 +03:00
Renjith Alexander
1127171d12 8136592: [TEST_BUG] Fix 2 platform-specific closed regtests for jigsaw
Reviewed-by: serb, yan
2015-10-20 12:42:21 +03:00
Paul Sandoz
5e8d2b8ebd 8080418: Add Optional.or()
Reviewed-by: chegar, forax, scolebourne
2015-10-19 11:28:50 -07:00
Sergey Bylokhov
206483e8b3 6815345: java.awt.Component.createImage(int width,int height) should remove behavioral optionality
Reviewed-by: prr, ssadetsky
2015-10-18 13:33:20 +03:00
Sean Coffey
7af86aa369 6907252: ZipFileInputStream Not Thread-Safe
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Doug Lea
c38b0eaba5 8134853: Bulk integration of java.util.concurrent classes
8080939: ForkJoinPool and Phaser deadlock
8044616: Clients of Unsafe.compareAndSwapLong need to beware of using direct stores to the same field
8071638: [JAVADOC] Buggy example in javadoc for afterExecute to access a submitted job's Throwable
8043743: Data missed in java.util.concurrent.LinkedTransferQueue
8054446: Repeated offer and remove on ConcurrentLinkedQueue lead to an OutOfMemoryError
8031374: TEST_BUG: java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java fails Intermittently
8034208: Cleanup to test/java/util/concurrent/BlockingQueue/Interrupt.java
8035661: Test fix java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java from jsr166 CVS
8062841: ConcurrentHashMap.computeIfAbsent stuck in an endless loop
8073208: javadoc typo in java.util.concurrent.Executor
8073704: FutureTask.isDone returns true when task has not yet completed
8037093: java/util/concurrent/locks/Lock/TimedAcquireLeak.java fails intermittently
8022642: ScheduledThreadPoolExecutor with zero corePoolSize create endlessly threads
8065320: Busy loop in ThreadPoolExecutor.getTask for ScheduledThreadPoolExecutor
8129861: High processor load for ScheduledThreadPoolExecutor with 0 core threads
8051859: ScheduledExecutorService.scheduleWithFixedDelay fails with max delay
7146994: example afterExecute for ScheduledThreadPoolExecutor hangs

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:45:35 -07:00
Doug Lea
0f49a089d6 8134855: Bulk integration of java.util.concurrent.locks classes
8051848: ReentrantReadWriteLock.ReadLock fails on unlock by different thread
8049843: Lack of save / restore interrupt mechanism undermines the StampedLock

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:35:22 -07:00
Doug Lea
2d8e9b323c 8134852: Integrate fork/join with API enhancements
Reviewed-by: martin, psandoz, chegar
2015-10-13 16:15:06 -07:00
Doug Lea
cf43156eed 8134851: Integrate CompletableFuture with API enhancements
8039378: CompletableFuture: Avoid StackOverflowError for long linear chains

Reviewed-by: martin, psandoz, chegar
2015-10-13 16:04:56 -07:00
Phil Race
0d765d8e4c Merge 2015-10-12 14:41:36 -07:00
Daniel Fuchs
bd69fa0635 8033661: readConfiguration does not cleanly reinitialize the logging system
Two new updateConfiguration methods have been added to LogManager: call updateConfiguration to update a configuration *after* the LogManager is initialized.

Reviewed-by: mchung
2015-10-12 20:13:22 +02:00
Sergey Bylokhov
f07facd339 8136858: Examine the usage of ThreadGroup.stop() in sun.awt.AppContext
Reviewed-by: alexsch, chegar
2015-10-12 16:26:58 +03:00
Prasanta Sadhukhan
279a05d2b2 8072682: getBounds call on graphics.getDeviceConfiguration() returning cached information
Reviewed-by: serb, flar
2015-10-12 15:28:03 +03:00
Amy Lu
b14bbfc3da 8139407: Mark java/rmi/registry/readTest/readTest.sh as intermittently failing
Reviewed-by: chegar
2015-10-12 17:07:40 +08:00
Weijun Wang
4768e44b34 8085904: Test timeout on Mac
Reviewed-by: wetmore
2015-10-09 09:33:54 +08:00
Lance Andersen
dbf26ce3d5 8139056: Add convenience methods to Statement.java
Reviewed-by: joehw, rriggs
2015-10-22 11:36:17 -04:00
Chris Hegarty
6a0a6eb7be 8139352: java/net/InetAddress/getOriginalHostName.java fails to compile
Reviewed-by: mchung, henryjen
2015-10-12 10:33:51 +01:00
Paul Sandoz
25c1cff728 8135248: Add utility methods to check indexes and ranges
Reviewed-by: forax, chegar, scolebourne, jrose, darcy
2015-10-07 15:22:43 +02:00
Joe Darcy
f674b491a6 8138823: Correct bug in port of fdlibm hypot to Java
Reviewed-by: bpb
2015-10-06 18:39:26 -07:00
David Dehaven
0dfc929625 Merge 2015-10-06 12:51:55 -07:00
Paul Sandoz
5ba6e8e439 8133348: Reference.reachabilityFence
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: plevart, mr, chegar, mchung
2015-10-06 18:42:06 +02:00
Iris Clark
3e5db5fac5 Merge 2015-10-05 20:55:53 -07:00
David Dehaven
1d92a8874c Merge 2015-10-05 13:45:50 -07:00
Naoto Sato
f8dca18a53 8138613: Remove SPI locale provider adapter from the default provider list
Reviewed-by: okutsu
2015-10-05 08:16:11 -07:00
Prasanta Sadhukhan
13ee9e097f 8132985: Crash in freetypescaler.c due to double free
Reviewed-by: prr, simonis
2015-10-05 15:36:43 +03:00
Semyon Sadetsky
4a3dff3ee5 8079595: Resizing dialog which is JWindow parent makes JVM crash
Reviewed-by: alexsch, serb
2015-10-05 15:29:23 +03:00
Masayoshi Okutsu
ff7c1c3bca 8138663: Missing @build in test/java/text/Format/DecimalFormat/RoundingAndPropertyTest.java
Reviewed-by: naoto
2015-10-02 13:21:46 +09:00
Ambarish Rapte
6a2fabcbd7 8040322: TextArea.replaceRange() and insert() are broken with setText(null)
Reviewed-by: serb, azvegint
2015-09-30 17:46:11 +04:00
Iris Clark
d0bbb6c588 Merge 2015-09-29 11:46:31 -07:00
Alexander Scherbatiy
53ab9a2026 8134917: [macosx] JOptionPane doesn't receive mouse events when opened from a drop event
Reviewed-by: serb
2015-09-29 15:19:52 +04:00
David Dehaven
5636c168b4 Merge 2015-09-28 08:14:42 -07:00
Amy Lu
25a239c820 8137232: Mark 3 more core-libs tests as intermittently failing
Reviewed-by: chegar
2015-09-28 16:39:12 +03:00
Chris Hegarty
0cc24c29ca 8137056: Move SharedSecrets and interface friends out of sun.misc
Reviewed-by: alanb, mchung, psandoz, rriggs
2015-09-28 13:39:27 +01:00
Amanda Jiang
8fb17dea79 8050402: Tests to check for use of policy files
Reviewed-by: mullan
2015-09-26 12:08:55 +03:00
Ivan Gerasimov
1613e728cc 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-09-26 00:23:15 +03:00
Naoto Sato
a463c1a271 8136518: java/util/TimeZone/CLDRDisplayNamesTest.java fails for de
Reviewed-by: okutsu
2015-09-24 09:05:24 -07:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Roger Riggs
4e7617c040 8132541: (process) ProcessBuilder support for redirection to discard output
Add redirect to NUL or /dev/null depending on the OS

Reviewed-by: chegar, martin
2015-09-23 11:18:34 -04:00
Alejandro Murillo
9b6068f1cd Merge 2015-11-02 10:47:29 -08:00
Naoto Sato
5710e3c754 8062006: Add a new locale data name "COMPAT" for java.locale.providers system property to reduce ambiguity
Reviewed-by: okutsu
2015-11-02 08:46:19 -08:00
Alejandro Murillo
ed550bb440 Merge 2015-10-30 12:03:09 -07:00
Dean Long
19aba3bac9 Merge 2015-10-27 01:45:03 -04:00
Vladimir Ivanov
317553031c 8139881: Exclude java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java from execution
Reviewed-by: kvn
2015-10-19 17:52:39 +03:00
Michael Haupt
f1f609ddaa 8136931: more fine-grained condition checking for BMH species creation
Reviewed-by: psandoz, sundar
2015-09-23 08:43:51 +02:00
Naveen Kumar
aef9a19da8 8081794: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem
Reviewed-by: peytoia, okutsu
2015-10-01 15:16:35 +09:00
Rob McKenna
ddf365ac99 8135305: InetAddress.isReachable reports true when loopback interface is specified
Reviewed-by: michaelm
2015-10-01 00:09:51 +01:00
Joe Darcy
112eb7283e 8136874: Bug in port of fdlibm pow to Java
Reviewed-by: bpb
2015-09-30 15:25:29 -07:00
Roger Riggs
eda52119fb 8137313: TreeTest.java intermittently fails with a timeout
Enhance debugging information

Reviewed-by: chegar, darcy
2015-09-30 12:33:08 -04:00
Daniel Fuchs
95b5f4d550 8137289: java/util/logging/DrainFindDeadlockTest.java hangs
Removed timeout=10 from @run command line. added new debug traces.

Reviewed-by: chegar, mchung
2015-09-30 11:17:32 +02:00
Ivan Gerasimov
f3e4326747 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
Reviewed-by: rriggs
2015-09-29 17:26:14 +03:00
Alexander Scherbatiy
2c3b2dd68e 8133453: Deprecate AWTKeyStroke.registerSubclass(Class) method
Reviewed-by: serb, azvegint
2015-09-22 14:05:37 +04:00
Iris Clark
01c0b611a3 Merge 2015-09-21 21:40:23 -07:00
Tagir Valeev
94ba18f8b4 8136686: Collectors.counting can use Collectors.summingLong to reduce boxing
Reviewed-by: psandoz
2015-09-19 15:26:34 +02:00
Phil Race
68a1bc4701 Merge 2015-09-18 11:31:15 -07:00
Phil Race
c79e901452 Merge 2015-09-18 11:24:54 -07:00
Vinnie Ryan
5d5ef39f51 8136534: Loading JKS keystore using non-null InputStream results in closed stream
Reviewed-by: mullan, wetmore
2015-09-18 17:54:28 +01:00
Phil Race
ec5f966a54 Merge 2015-09-18 09:18:17 -07:00
Roger Riggs
9d5cbc5fbc 8132735: java/lang/ProcessHandle/TreeTest failed with java.lang.AssertionError: Start with zero children
Revise test to only operate on processes it spawns

Reviewed-by: chegar
2015-09-17 22:46:04 -04:00
Roger Riggs
0d17c738d7 Merge 2015-09-17 22:46:02 -04:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Roger Riggs
6eb869c3d6 Merge 2015-09-17 13:33:33 -04:00
Stuart Marks
343e882e7f 8072722: add stream support to Scanner
Reviewed-by: psandoz, chegar, sherman
2015-09-16 16:24:35 -07:00
Semyon Sadetsky
450cdf7f65 8131670: [TEST_BUG]Test java/awt/EventQueue/6980209/bug6980209.java fails on Linux
Reviewed-by: alexsch, serb
2015-09-16 10:32:46 +03:00
Semyon Sadetsky
ffb466574f 8014725: closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html failed intermittently
Reviewed-by: alexsch, azvegint
2015-09-16 10:22:42 +03:00
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Roger Riggs
1b8b6a4655 8133528: java/lang/ProcessHandle/OnExitTest.java fails intermittently
Remove checks for processes not spawned by the test

Reviewed-by: joehw
2015-09-15 22:11:00 -04:00
Alexander Scherbatiy
e643aeb178 8029339: Custom MultiResolution image support on HiDPI displays
Reviewed-by: flar, serb
2015-09-15 15:31:34 +04:00
Frank Yuan
371edc6684 8074931: Additional tests for CertPath API
Reviewed-by: mullan
2015-09-15 12:43:12 +03:00
Iris Clark
2bfa80503f Merge 2015-09-14 10:00:25 -07:00
Artem Smotrakov
f1f48ab0d3 8134232: KeyStore.load() throws an IOException with a wrong cause in case of wrong password
Reviewed-by: vinnie
2015-09-14 19:49:28 +03:00
Phil Race
e1ca4d3a94 Merge 2015-09-14 09:40:24 -07:00
Ambarish Rapte
b6f5a1c457 8039467: [TEST_BUG] Test java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java lefts keystrokes in a keyboard buffer on Windows
Reviewed-by: serb, alexsch
2015-09-14 18:54:04 +04:00
Pooja Chopra
da688f57c3 8136354: [TEST_BUG] Test java/awt/image/RescaleOp/RescaleAlphaTest.java with Bad action for script
Reviewed-by: azvegint, serb
2015-09-11 17:58:31 +03:00
Roger Riggs
ed3d59c71a 8133552: java/lang/ProcessHandle/InfoTest.java fails intermittently - incorrect user
8133809: Remove java/lang/ProcessHandle/InfoTest.java from the Problem List

Reviewed-by: darcy, chegar, simonis
2015-09-11 09:25:15 -04:00
Roger Riggs
aeb4acfb60 8135094: (process) java/lang/ProcessHandle/InfoTest fails testing commandLine()
Reviewed-by: chegar, simonis
2015-09-09 16:12:55 -04:00
Anton Nashatyrev
cb34d07ae1 8081485: EDT auto shutdown is broken in case of new event queue usage
Reviewed-by: serb, alexp
2015-09-09 19:10:38 +03:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
David Holmes
f032aa1311 8133611: Remove java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java from problem list
Reviewed-by: darcy
2015-09-09 04:02:59 -04:00
Phil Race
f39c6aeb63 Merge 2015-09-08 14:40:44 -07:00
Phil Race
d69a0641fd Merge 2015-09-08 11:47:07 -07:00
Iris Clark
9e0d78c661 Merge 2015-09-08 10:25:11 -07:00
Chris Hegarty
9ce7c19d86 8135043: ObjectStreamClass.getField(String) too restrictive
Reviewed-by: igerasim
2015-09-08 12:40:57 +01:00
Renjith Alexander
4130b71ce6 8133027: [Jigsaw] Test java/awt/PrintJob/Text/stringwidth.sh fails during compilation
Reviewed-by: yan, serb
2015-09-08 11:28:16 +03:00
Sergey Bylokhov
6fe3341869 8060027: Tests java/beans/XMLEncoder/Test4903007.java and java/beans/XMLEncoder/java_awt_GridBagLayout.java
Reviewed-by: alexsch
2015-09-07 23:29:56 +03:00
Renjith Alexander
dc25f76093 8133539: [TEST_BUG] Split java/awt/image/MultiResolutionImageTest.java in two to allow restricted access
Reviewed-by: alexsch, serb
2015-09-07 13:48:24 +03:00
Brian Burkhalter
005143e035 8135091: (fs) java/nio/file/Files/StreamLinesTest.java should test empty files
In lines() add zero length case and rearrange first loop to avoid duplicate cases.

Reviewed-by: rriggs
2015-09-04 14:16:34 -07:00
Sergey Bylokhov
1efc947d2a 8080948: [TEST_BUG] Few test cases are failing due to use of getPeer()
Reviewed-by: prr, yan, alexsch
2015-09-03 19:19:15 +03:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Sean Coffey
6a867ae5df 8133196: HTTPS hostname invalid issue with InetAddress
Reviewed-by: chegar, xuelei
2015-09-01 18:12:07 +01:00
Renjith Alexander
abdaade63f 8132376: Add @requires os.family to the client tests with access to internal OS-specific API
Reviewed-by: yan, alexsch
2015-09-01 11:03:43 +03:00