Commit Graph

3719 Commits

Author SHA1 Message Date
Roger Riggs
a937465980 8146671: [TEST BUG] java/lang/ref/CleanerTest.java required more memory for -UseCompressedOops runs
Reviewed-by: joehw
2016-01-12 17:54:09 -05:00
Alejandro Murillo
70a4694f73 Merge 2016-01-12 11:31:48 -08:00
Christian Thalinger
012f69ce01 Merge 2016-01-11 17:12:01 -08:00
Daniel Fuchs
55a9500797 8146665: Test jdk/test/java/util/logging/LogManager/Configuration/updateConfiguration/UpdateConfigurationTest.java fails - missing expected output
Increases numbers of gc loops and fix finally {} clause to get a better diagnostic

Reviewed-by: mchung
2016-01-11 18:30:14 +01:00
Nadeesh TV
a67a5265d3 8068803: Performance of LocalDate.plusDays could be better
Reviewed-by: rriggs, scolebourne
2016-01-11 11:39:12 -05:00
Michael Haupt
60015e143f 8146786: [TESTBUG] straighten out testability for several issues
Reviewed-by: psandoz
2016-01-11 17:19:16 +01:00
Roger Riggs
5f559c6d31 8146028: Common Cleaner for finalization replacements in OpenJDK
Reviewed-by: dfuchs, alanb, chegar, plevart
2016-01-11 10:03:36 -05:00
Felix Yang
48d12c0ccc 8133704: java/net/DatagramSocket/SetDatagramSocketImplFactory/ADatagramSocket.java may fail with address already in use
Reviewed-by: chegar
2016-01-11 00:21:50 -08:00
Vivek Deshpande
158a883681 8143353: update for x86 sin and cos in the math lib
Optimize Math.sin() and cos() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
2016-01-08 20:33:02 -08:00
Martin Buchholz
0e9196c50f 8146568: NegativeArraySizeException in ArrayList.grow(int)
Improve management of internal array

Reviewed-by: smarks
2016-01-08 19:53:36 -08:00
Brent Christian
a75216a09c 8144552: java/lang/StackWalker/LocalsAndOperands.java fails with java.lang.NullPointerException
Update test case to expect null

Reviewed-by: mchung, dfuchs
2016-01-08 13:14:30 -08:00
Joseph Provino
32ec535805 Merge 2016-01-07 20:06:51 +00:00
Roger Riggs
92ce70dc03 8146574: (process) ProcessHandle test cleanup
Reviewed-by: chegar
2016-01-07 10:10:06 -05:00
Tobias Hartmann
cdd6aa5d50 Merge 2016-01-06 08:02:24 +01:00
Alejandro Murillo
8f53087d6e Merge 2016-01-05 13:08:05 -08:00
Naoto Sato
3f8548453c 8039301: [ja] Host Locale Provider uses non-translated Calendar field names
8039969: Old Korean Calendar conflicts with Host Locale
8049835: [ar/HOST adapter] Hijri calendar era is used but date number follows gregorian
8054010: [HOST provider, not gregory] Return NULL when calling Calendar.getDisplayNames for Calendar.ERA
8054482: [HOST provider] only return standalone-style month display name
8055258: [HOST provider] Short era display name is not returned

Reviewed-by: okutsu
2016-01-05 10:15:54 -08:00
Nadeesh TV
2cfdb95251 8145166: Duration.toString violates specification
Correct Duration.toString method

Reviewed-by: rriggs, scolebourne
2016-01-05 10:09:48 -05:00
Xueming Shen
9b77da0f46 8146431: j.u.z.ZipFile.getEntry("") throws AIOOBE
Reviewed-by: lancea
2016-01-04 14:34:53 -08:00
Lance Andersen
3da2de846c 8144082: Add Statement.enquoteNCharLiteral
Reviewed-by: joehw
2016-01-04 12:25:45 -05:00
Joseph Provino
a02ddb869a Merge 2016-01-01 17:08:24 +00:00
Prem Balakrishnan
026af5cb64 7035459: [TEST_BUG] java/awt/Focus/TranserFocusToWindow/TranserFocusToWindow.java failed
Reviewed-by: serb, arapte
2016-01-19 15:23:49 +05:30
Manajit Halder
d21f33aa5d 7087869: [TEST_BUG] [macosx] No mac os x support in test java/awt/Mouse/ExtraMouseClick/ExtraMouseClick
Reviewed-by: serb, arapte
2016-01-18 14:37:25 +05:30
Prasanta Sadhukhan
47ca01cdfc 8023213: [macosx] closed/java/awt/FontClass/NaNTransform.java fails on MacOS X 10.9
Reviewed-by: prr, serb
2016-01-14 13:24:22 +05:30
David Dehaven
83802373ee Merge 2016-01-12 13:13:16 -08:00
Alexander Stepanov
73fb68a80d 8138838: docs cleanup for java.desktop
Docs cleanup for java.desktop

Reviewed-by: serb
2016-01-11 17:51:54 +03:00
Alexander Scherbatiy
aeccbee0e7 8143316: Crash Trend in 1.9.0-ea-b93 (sun.awt.DefaultMouseInfoPeer.fillPointWithCoords)
Reviewed-by: serb
2016-01-11 06:10:32 -08:00
Phil Race
f6845705bc 8145584: java/awt/font/TextLayout/TestGetPixelBounds.java fails on Linux
Reviewed-by: serb, jgodinez
2016-01-06 12:38:42 -08:00
Phil Race
a951b32503 Merge 2016-01-05 10:38:10 -08:00
Sebastian Sickelmann
053032b76c 8145981: (fs) LinuxWatchService can reports events against wrong directory
Fixes wakeup mechanism of LinuxWatchService and introduces a test

Reviewed-by: alanb
2015-12-30 19:20:51 +01:00
Ambarish Rapte
c08bfbfb19 8146168: [TEST_BUG] instability of java/awt/Frame/MaximizedToMaximized/MaximizedToMaximized.java
Reviewed-by: serb, rchamyal
2015-12-30 19:28:05 +03:00
Sergey Bylokhov
344d4a5fc5 8143054: [macosx] KeyEvent modifiers do not contain information about mouse buttons
Reviewed-by: ssadetsky, alexsch
2015-12-29 16:46:11 +03:00
Felix Yang
bac6aa4f18 8146209: java/net/NetworkInterface/NetworkInterfaceStreamTest.java still fails after fix JDK-8131155
Reviewed-by: chegar
2015-12-28 19:03:18 -08:00
Kim Barrett
08dadf3015 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 14:03:39 -05:00
Amy Lu
2d281f78c4 8149920: Remove intermittent key from jdk_core tests
Reviewed-by: darcy
2016-02-18 09:50:55 +08:00
Joe Darcy
0aeed22bf5 8149981: java/util/Formatter/Basic.java fails after JDK-8149896
Reviewed-by: rriggs, bpb
2016-02-16 11:06:19 -08:00
Phil Race
9bbbc82eaa Merge 2016-02-16 10:54:05 -08:00
Doug Lea
eb6ab98ebc 8145485: Miscellaneous changes imported from jsr166 CVS 2016-02
Reviewed-by: martin, psandoz, chegar
2016-02-16 09:52:49 -08:00
Doug Lea
1e1ba84461 8139927: Improve documentation for CompletableFuture composition
8143089: CompletableFuture.whenComplete should use addSuppressed

Reviewed-by: martin, psandoz, chegar, plevart
2016-02-16 09:49:14 -08:00
Phil Race
5ef8950655 Merge 2016-02-16 09:30:57 -08:00
Xueming Shen
05ca3c971e 8135108: java/util/zip/TestLocalTime.java fails intermittently with Invalid value for NanoOfSecond
Reviewed-by: darcy
2016-02-15 18:41:23 -08:00
Alejandro Murillo
354e66990c Merge 2016-02-15 13:37:22 -08:00
Xueming Shen
8fe03ae5d2 8148624: Test failure of ConstructInflaterOutput.java
Reviewed-by: darcy
2016-02-15 10:27:13 -08:00
Alejandro Murillo
7e957a2913 Merge 2016-02-15 09:44:42 -08:00
Xueming Shen
95e6d62963 8149787: test/java/util/regex/GraphemeTest.java source file has non-ascii character u+00f7
Reviewed-by: igerasim
2016-02-14 14:30:48 -08:00
Xueming Shen
0072af1be6 7071819: To support Extended Grapheme Clusters in Regex
8147531: To add named character construct \N{...} to support Unicode name property

Reviewed-by: naoto, okutsu, plevart
2016-02-12 19:24:31 -08:00
Alejandro Murillo
1c894eb9a3 Merge 2016-02-11 13:58:43 -08:00
Jesper Wilhelmsson
6939cb3b60 Merge 2016-02-11 21:07:37 +01:00
Aleksey Shipilev
7bee07b465 8149459: StringConcatFactory should be synced up with LambdaMetafactory
Reviewed-by: psandoz, vlivanov, forax
2016-02-10 16:36:25 +03:00
Kim Barrett
b4006c54e8 8072777: java/lang/ref/ReferenceEnqueuePending.java: some references aren't queued
Wait for enqueuing.

Reviewed-by: plevart, mchung
2016-02-09 18:42:07 -05:00
Max Ockner
ce29a52f2a Merge 2016-02-03 18:16:56 +01:00
Max Ockner
aedb4650c9 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-02 17:14:00 -05:00
Goetz Lindenmaier
32687876fa 8149529: Adapt SAP copyrights to new company name in jdk repository
Reviewed-by: simonis, chegar
2016-01-27 10:35:49 +01:00
Ivan Gerasimov
6c46017af1 8046339: sun.rmi.transport.DGCAckHandler leaks memory
Reviewed-by: smarks
2016-02-10 16:16:48 +03:00
Alexandre Iline
451a576a42 8149391: Fix module dependences in java/util tests
Reviewed-by: mchung
2016-02-08 18:14:48 -08:00
Anthony Scarpino
719c597241 8098581: SecureRandom.nextBytes() hurts performance with small size requests
Reviewed-by: valeriep
2016-02-08 13:09:16 -08:00
Ramanand Patil
c6d209b505 8066982: ZonedDateTime.parse() returns wrong ZoneOffset around DST fall transition
In Parsed.java the method resolveInstant() is altered such that, the offset (if present) will be given priority over zone.

Reviewed-by: rriggs, scolebourne
2015-12-25 16:43:37 +03:00
Phil Race
0b2fc2dc98 8145808: java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java hangs on Win. 8
Reviewed-by: serb, flar
2015-12-24 09:07:50 -08:00
Ambarish Rapte
96da64c503 8041928: MouseEvent.getModifiersEx gives wrong result
Reviewed-by: alexsch, serb, rchamyal
2015-12-24 14:04:36 +03:00
Phil Race
959f799206 8145785: [TEST_BUG] java/awt/Toolkit/GetSizeTest/GetScreenSizeTest.java: incorrect name
Reviewed-by: serb
2015-12-23 14:00:37 -08:00
Nadeesh TV
6a9a5a80ea 8143413: add toEpochSecond methods for efficient access
Reviewed-by: rriggs, scolebourne
2015-12-23 13:19:58 -05:00
Christian Thalinger
32aff4400c Merge 2015-12-22 13:41:12 -08:00
Phil Race
84c2303502 Merge 2015-12-22 10:59:51 -08:00
Phil Race
52a03c2f27 Merge 2015-12-22 09:14:16 -08:00
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