Commit Graph

6530 Commits

Author SHA1 Message Date
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
Xue-Lei Andrew Fan
e12c18f143 8146197: SignatureAlgorithms.java after push of JDK-8146192
Reviewed-by: henryjen, jnimeh, mullan
2015-12-28 00:02:06 +00: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
Xue-Lei Andrew Fan
37fa4dba28 8146192: Add test for JDK-8049321
Reviewed-by: mullan
2015-12-24 15:22:04 +00: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
Christian Thalinger
48e2ec8057 Merge 2015-12-18 10:00:55 -08:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Olivier Lagneau
1a8918d371 8058865: JMX Test Refactoring
Reviewed-by: jbachorik
2015-12-18 17:42:06 +01: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
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
Amy Lu
69bd68385c 8145869: Mark test JMXStartStopTest.java and TestJstatdServer.java as intermittently failing
Reviewed-by: darcy
2015-12-22 11:07:17 +08: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
David Buck
53c20d0bb0 Merge 2015-12-21 19:59:17 +01:00
Athijegannathan Sundararajan
bca948c337 8145909: tools/jjs/jjs-fileTest.sh fails after JDK-8145750 except on windows
Reviewed-by: jjg
2015-12-21 23:27:16 +05:30
Naoto Sato
f19df7cb6e 8134916: LocaleData.cldr for sun/text/resources/LocaleDataTest.java seems to contain wrong data
Reviewed-by: okutsu
2015-12-21 09:05:25 -08: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
Athijegannathan Sundararajan
4ab55ae7c1 8145750: jjs fails to run simple scripts with security manager turned on
Reviewed-by: hannesw, alanb
2015-12-21 09:40:00 +05:30
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
Jaroslav Bachorik
d36b231c45 8145417: JInfoSanityTest failed with Error attaching to remote server: java.rmi.ConnectException: Connection refused
Reviewed-by: sspitsyn
2015-12-18 14:43:24 +01: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
Jaroslav Bachorik
41477d597a 8143047: Re-examine javax/management/ImplementationVersion/ImplVersionTest.java
Reviewed-by: alanb, emcmanus
2016-01-06 17:59:20 +01: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
Severin Gehwolf
b8c892909b 6425769: Allow specifying an address to bind JMX remote connector
Reviewed-by: jbachorik, dfuchs
2015-12-18 08:30:26 +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
Joe Darcy
093d9fce43 8145605: Problem list Test6277246.java until a fix for JDK-8145589
Reviewed-by: sherman, mchung
2015-12-16 14:45: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
Bhanu Prakash Gopularam
739de56c11 8129567: CRYPTO_MECHANISM_PARAM_INVALID occurs if GCM mode parameter which is used as an IV is set to all zeros
Reviewed-by: mullan
2015-12-16 08:38:10 -08:00
Chris Hegarty
bc11b9c8b5 8144479: Remove character coders from sun.misc
Reviewed-by: psandoz, rriggs
2015-12-16 12:17:03 +00: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
Alejandro Murillo
4baee38c64 Merge 2015-12-15 19:01:10 -08:00
Stuart Marks
1789b4f7bf 8145139: clean up jdk_collections and jdk_concurrent test groups
Reviewed-by: martin
2015-12-15 12:47:23 -08:00
Alejandro Murillo
b53399446c Merge 2015-12-15 09:50:07 -08: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
Phil Race
e601b5cebe Merge 2015-12-14 14:12:17 -08:00
Joseph Provino
a5bc6efb1b Merge 2015-12-14 19:49:10 +00:00
Chris Hegarty
a979586dce 8144995: Move sun.misc.HexDumpEncoder to sun.security.util
Reviewed-by: psandoz, mchung
2015-12-14 19:24:33 +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
Artem Smotrakov
3d4ea51ab1 8140470: javax/xml/crypto/dsig/SecurityManager/XMLDSigWithSecMgr.java failed with AccessControlException
Reviewed-by: mullan
2015-12-11 19:06:40 -08:00
Alejandro Murillo
0a269e99fc Merge 2015-12-11 17:45:50 -08: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
5b1765f25d 8144245: [PIT] javax/imageio/plugins/shared/WriteAfterAbort.java
Reset stream position after abort; change IAEs to NPEs.

Reviewed-by: prr, serb
2015-12-11 11:38:18 -08:00
Alexander Smundak
4cebcd8b2d 8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
Add ppc64le/jvm.cfg, check for the ppc64le in addition to ppc64 in tests

Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-11 10:45:58 -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
Sergei Kovalev
5b80991fea 8078423: [TESTBUG] javax/print/PrintSEUmlauts/PrintSEUmlauts.java relies on system locale
Reviewed-by: martin
2015-12-11 16:35:59 +03:00
Naveen Kumar
b831ed3c8b 8139572: SimpleDateFormat parse month stand-alone format bug
Reviewed-by: okutsu
2015-12-15 16:42:30 +09:00
Alexander Kulyakhtin
c0cbd031f0 8145408: com/sun/jdi/BreakpointWithFullGC.sh Required output "Full GC" not found
Modified the test so it correctly parses the new debug output

Reviewed-by: jbachorik
2015-12-16 19:59:23 +03:00
Laurent Bourgès
80222f5b67 8144445: Maximum size checking in Marlin ArrayCache utility methods is not optimal
Reviewed-by: prr, flar
2015-12-10 15:52:14 -08:00
Laurent Bourgès
bb10c3f0de 8144446: Automate the Marlin crash test
Reviewed-by: prr, flar
2015-12-10 15:45:18 -08:00
Phil Race
47cd79c08d Merge 2015-12-10 11:46:23 -08:00
Prasanta Sadhukhan
946e0bc9cc 8040139: Test closed/javax/print/attribute/Services_getDocFl.java fails with NullpointerException
Reviewed-by: jdv, prr
2015-12-10 16:09:42 +03:00
Avik Niyogi
7d9d3a4699 8139169: [macosx] Action registered for keyboard shortcut is called twice
Reviewed-by: serb, alexsch
2015-12-10 14:21:44 +03:00
Xue-Lei Andrew Fan
e03cf9daf6 8136410: AlgorithmDecomposer is not parsing padding correctly
Reviewed-by: weijun
2015-12-10 06:09:36 +00: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
Sergey Bylokhov
3144cc4a27 8143909: Behavior of null arguments not specified in javax.sound.midi.spi
The specification change was reviewed by Florian Bomers also

Reviewed-by: amenkov
2015-12-09 18:56:59 +03:00
Rob McKenna
8da753e1be 8141370: com/sun/jndi/ldap/LdapTimeoutTest.java failed intermittently
Reviewed-by: vinnie
2015-12-09 17:34:09 +00: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
Xue-Lei Andrew Fan
307b9775e8 8144890: Add the intermittent keyword test B6216082.java
Reviewed-by: mullan
2015-12-08 03:49:12 +00:00
Joe Darcy
4faa0ee15c 8144880: Instrument intermittently failing test ConfigChanges.java
Reviewed-by: lancea, martin
2015-12-07 14:12:58 -08:00
Joseph Provino
9642accd46 Merge 2015-12-07 17:04:37 +00: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
Jaroslav Bachorik
e12241b613 8144308: com/sun/jdi/SuspendThreadTest.java failed with "transport error 202: send failed: Broken pipe"
Reviewed-by: sla
2015-12-07 12:31:25 +01:00
Weijun Wang
2cde289af4 8138638: Security tests using jdk/test/sun/security/krb5/auto/KDC.java fail intermittently with OutOfMemoryError
Reviewed-by: xuelei
2015-12-07 15:48:56 +08:00
Xue-Lei Andrew Fan
e4927570de 8141593: Test RetryHttps timed out intermittently
Enable debug to expose more information for further evaluation

Reviewed-by: weijun
2015-12-07 03:35:24 +00: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
Rajeev Chamyal
3096b2cc2f 8067660: JFileChooser create new folder fails silently
Reviewed-by: alexsch, psadhukhan
2015-12-04 09:56:50 +04:00
Kumar Srinivasan
429f9e61cf 8144660: VersionCheck.java fails when it tries to run jaccess*.exe -J-version on windows
Reviewed-by: darcy
2015-12-03 17:44:18 -08:00
Joe Darcy
52dbcd1547 8144627: Problem list WriteAfterAbort.java
Reviewed-by: prr
2015-12-03 13:18:51 -08: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
Chris Hegarty
ebceee6674 8144480: Remove test dependencies on sun.misc.BASE64Encoder and BASE64Decoder
Reviewed-by: alanb, amlu, psandoz, weijun
2015-12-03 11:57:14 +00: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