Commit Graph

4609 Commits

Author SHA1 Message Date
Alexander Kulyakhtin
302ec8438f 8158797: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails when GC is specified explicitly
Fixed GC options for running the test

Reviewed-by: ddmitriev, sspitsyn
2016-10-17 15:46:28 +03:00
Anubhav Meena
0abfcdbe04 8161473: [TEST_BUG] [macosx] add autodelay to java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java
Reviewed-by: arapte, serb
2016-10-17 13:20:04 +05:30
Semyon Sadetsky
3419791e2d 8167486: Device.getDisplayMode() doesn't report refresh rate on Linux in case of dual screen
Reviewed-by: serb
2016-10-17 10:14:38 +03:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Amit Sapre
6e7ec59861 8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
Removed dependency of java.management over jdk.management.

Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 15:08:29 +05:30
Phil Race
f97849aa84 Merge 2016-10-14 11:11:19 -07:00
Sergey Bylokhov
1bb3837020 8167310: The graphics clip is incorrectly rounded for some fractional scales
Reviewed-by: flar
2016-10-14 19:12:37 +03:00
Manajit Halder
3230ba35f1 8158380: [macosx] Regression: java/awt/List/ActionEventTest/ActionEventTest.java
Reviewed-by: serb, aghaisas
2016-10-14 10:39:42 +05:30
Ajit Ghaisas
b521b5b0d8 8166980: JCK testing of Window.setIconImage() leads to VM crash starting approx from JDK9 b134
Reviewed-by: serb, rchamyal
2016-10-14 10:18:53 +05:30
Vinnie Ryan
02ca9985fc 8167371: KeyStoreSpi.engineSetEntry should throw an Exception if password protection alg is specified
Reviewed-by: xuelei, mullan
2016-10-13 12:37:42 +01:00
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Roger Riggs
41cdc78805 8167628: Test for RMI API to export an object with a serialization filter
Reviewed-by: dfuchs
2016-10-12 13:53:41 -04:00
Roger Riggs
e68ae2ec8e 8156802: Better constraint checking
Reviewed-by: dfuchs
2016-10-12 12:56:35 -04:00
Paul Sandoz
bf450d55c1 8164814: Deprecate Atomic*.weakCompareAndSet and defer to Atomic*.weakCompareAndSetPlain
Reviewed-by: martin, dl
2016-10-10 15:58:42 -07:00
Phil Race
e4ed1ab3d7 Merge 2016-10-10 14:35:20 -07:00
Phil Race
13dd764edf Merge 2016-10-10 13:31:48 -07:00
Sibabrata Sahoo
05b72e77b7 8156054: Test Task: Develop new tests for JEP C155: Remove FilePermission Pathname Canonicalization
New test for removing canonicalize path from FilePermission.

Reviewed-by: weijun
2016-10-10 00:45:13 -07:00
Weijun Wang
ba9df3533c 8164705: Remove pathname canonicalization from FilePermission
Reviewed-by: alanb, bpb
2016-10-10 08:28:50 +08:00
Jonathan Gibbons
0f9a011475 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:31 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Manajit Halder
af18bfc781 8165555: [macosx] VM crashes on second attempt to execute JCK interactive tests that use Robot (single JVM, agent)
Reviewed-by: serb, aniyogi
2016-10-06 20:51:34 +05:30
Ajit Ghaisas
213d68352e 8058950: [TESTBUG] There is no F1 dialog when the case loading,so we can't restore it
Reviewed-by: serb, arapte
2016-10-06 20:37:03 +05:30
Rajeev Chamyal
5e40c7ba0e 8151787: Unify the HiDPI splash screen image naming convention
Reviewed-by: prr, alexsch, ksrini
2016-10-06 14:31:12 +05:30
Alejandro Murillo
db351aa712 Merge 2016-10-05 09:52:55 -07:00
Alejandro Murillo
7e7cbce1f6 Merge 2016-10-05 06:28:23 -07:00
Semyon Sadetsky
ea72afe6c4 8165619: Frame is not repainted if created in state=MAXIMIZED_BOTH on Unity
Reviewed-by: azvegint
2016-10-03 18:51:49 +03:00
Sergei Kovalev
bf41569209 8166791: Fix module dependencies for networking component tests
Reviewed-by: chegar, alanb
2016-10-03 18:33:34 +03:00
Ramanand Patil
4dbca869e0 8166875: (tz) Support tzdata2016g
Reviewed-by: martin, okutsu
2016-10-05 16:39:13 +05:30
Roger Riggs
9aa8b6728a 8155760: Implement Serialization Filtering
8166739: Improve extensibility of ObjectInputFilter information passed to the filter

Reviewed-by: dfuchs, chegar, briangoetz, plevart
2016-10-04 13:45:42 -04:00
Vyom Tewari
0a885c4bc8 8153674: Expected SocketException not thrown when calling bind() with setReuseAddress(false)
Reviewed-by: chegar, msheppar
2016-10-04 21:59:16 +05:30
Sergei Kovalev
3847822589 8166378: Missing dependencies in several java/security tests
Reviewed-by: xuelei
2016-10-04 11:55:42 +03:00
Nishit Jain
f1f59c6623 8165466: DecimalFormat percentage format can contain unexpected %
Reviewed-by: okutsu, peytoia
2016-10-04 19:28:09 +09:00
Phil Race
72d8105751 Merge 2016-09-30 09:28:18 -07:00
Sergey Bylokhov
ec9d2a571f 8165263: Remove code in MetaData that hacks into private fields of Collections implementation classes
Reviewed-by: mchung, alexsch
2016-09-30 17:05:54 +03:00
Alejandro Murillo
53fa6ff273 Merge 2016-09-30 02:52:42 -07:00
Sergei Kovalev
0c70a986f9 8166841: Unused import causes test failure on compilation for java.text tests
Reviewed-by: igerasim
2016-09-28 19:21:42 +03:00
Claes Redestad
82bdee0193 8166287: MultiReleaseJarAPI.isMultiReleaseJar(): failure java.nio.file.AccessDeniedException: custom-mr.jar
Reviewed-by: mhaupt, alanb
2016-09-28 14:29:35 +02:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Valerie Peng
5f41b5fad7 8149802: Signature.verify() doesn't reset the signature object on exception
Ensure the signature object is always reset after verify() is called.

Reviewed-by: xuelei
2016-09-28 03:10:37 +00:00
Dean Long
c329dba540 Merge 2016-09-27 21:14:47 -04:00
Felix Yang
e168404209 8154525: java/net/ServerSocket/ThreadStop.java fails intermittently with error while cleaning up threads after test
Reviewed-by: chegar
2016-09-27 01:36:31 -07:00
Dean Long
fca8d47eff Merge 2016-09-26 14:21:22 -04:00
Felix Yang
2d35d5bfc3 8130657: com/sun/net/httpserver/Test5.java failed with java.lang.RuntimeException: wrong string result
8085575: java/net/Socket/InheritHandle.java fails intermittently with "Address already in use"

Reviewed-by: dfuchs
2016-09-26 08:19:07 -07:00
Prasanta Sadhukhan
e319d259e6 8165947: One more page printed before the test page with OpenJDK
8166259: One more banner page printed before the test page

Reviewed-by: prr, jdv
2016-09-26 14:47:41 +05:30
Semyon Sadetsky
8d81ec63b2 8154043: Fields not reachable anymore by tab-key, because of new tabbing behaviour of radio button groups
Reviewed-by: alexsch
2016-09-26 11:59:46 +03:00
Rajeev Chamyal
fa280894b3 8149371: multi-res. image: -Dsun.java2d.uiScale does not work for Window icons (some ambiguity for Window.setIconImages()?)
Reviewed-by: serb, alexsch
2016-09-26 12:33:40 +05:30
Alejandro Murillo
bdde2c205c Merge 2016-09-23 13:44:03 -07:00
Doug Lea
c7cf1788ed 8165919: Miscellaneous changes imported from jsr166 CVS 2016-09-21
Reviewed-by: martin, chegar, shade
2016-09-23 13:24:33 -07:00
Doug Lea
edc7565f51 8166059: JSR166TestCase.java fails with NPE in dumpTestThreads on timeout
Reviewed-by: martin, chegar, shade
2016-09-23 13:21:23 -07:00
Doug Lea
c9f268cc15 8166057: [testbug] CoreThreadTimeOut still uses hardcoded timeout
Reviewed-by: martin, chegar, shade
2016-09-23 13:18:22 -07:00
Doug Lea
9496149e05 8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07:00
Sergei Kovalev
72a44a46fa 8166553: undeclared dependencies for two IO tests
Reviewed-by: bpb
2016-09-23 12:08:38 +03:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Felix Yang
8469097dde 8085049: java/net/MulticastSocket/TimeToLive.java fails intermittently with "Address already in use"
Reviewed-by: chegar
2016-09-23 03:15:00 -07:00
Chris Plummer
7f563f1567 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:07 -07:00
Alejandro Murillo
505c0d04f8 Merge 2016-09-21 09:29:30 -07:00
Felix Yang
0d0e86808b 8166359: java/net/URLPermission/nstest/lookup.sh fails if proxy is set since fix for JDK-8161016
Reviewed-by: chegar
2016-09-21 02:19:59 -07:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Sergei Kovalev
3b0d7a4511 8166285: Missing dependencies java.httpclient for tests from java/net pachage
Reviewed-by: chegar
2016-09-20 12:56:54 +03:00
Ambarish Rapte
80d4e131f6 8166015: [PIT][TEST_BUG] stray character in java/awt/Focus/ModalDialogActivationTest/ModalDialogActivationTest.java
Reviewed-by: aghaisas, ssadetsky
2016-09-20 12:37:54 +05:30
Ambarish Rapte
93e6430d9f 8163261: regression on Linux: java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java
Reviewed-by: serb, alexsch
2016-09-20 11:46:34 +05:30
David Dehaven
129785b09b Merge 2016-09-19 13:12:28 -07:00
David Dehaven
953cca3cb6 Merge 2016-09-19 10:11:34 -07:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Lance Andersen
f5f058e1d2 8159126: Add test to validate DriverManager.println output when DriverManager is initially loaded
Reviewed-by: psandoz, joehw
2016-09-15 14:59:20 -04:00
Rajeev Chamyal
8ac9764ee7 8150176: [hidpi] wrong resolution variant of multi-res. image is used for TrayIcon
Reviewed-by: serb, alexsch
2016-09-15 16:12:08 +05:30
Manajit Halder
5e5d4783a8 8163270: [macosx] Robot(gc) issue on dual-screen system
Reviewed-by: serb, aghaisas
2016-09-15 12:25:16 +05:30
Phil Race
6aaba1c4ac 8166068: test/java/awt/font/GlyphVector/GetGlyphCharIndexTest.java does not compile
Reviewed-by: ddehaven, yan
2016-09-14 15:29:23 -07:00
Mandy Chung
6f740b0d0f 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:36 -07:00
Alejandro Murillo
36af3d0906 Merge 2016-09-14 17:09:54 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Jamil Nimeh
1b9ce49e92 8132926: PKIXParameters built with public key form of TrustAnchor causes NPE during cert path building/validation
Fix cases where non-certificate issuer information may be passed into the OCSPResponse.verify method, thereby causing NPEs to be thrown.

Reviewed-by: xuelei
2016-09-14 07:37:15 -07:00
Nancy Nigam
1d734cec8f 8164791: Update existing test cases of test/java/text/Format
Reviewed-by: okutsu, peytoia
2016-09-15 08:18:57 +09:00
Daniel Fuchs
aebe74d3f5 6543126: Level.known can leak memory
Custom level instances will now be released when their defining class loader is no longer referenced.

Reviewed-by: plevart, mchung, chegar
2016-09-14 14:04:14 +01:00
Prasanta Sadhukhan
3a0c7b8644 7064425: PageFormat Dialog has no owner window to reactivate
6948907: sun.print.DialogOwner does not support Dialogs as DialogOwner

Reviewed-by: prr, jdv
2016-09-13 13:40:32 +05:30
David Dehaven
876ddcae54 Merge 2016-09-12 15:26:27 -07:00
Serguei Spitsyn
bdbd71b1ea Merge 2016-09-12 22:04:48 +00:00
Serguei Spitsyn
02944f968d 8160950: Agent JAR added to app class loader rather than system class loader when running with -Djava.system.class.loader
Add agent JAR to the custom system class loader

Reviewed-by: alanb, mchung, dholmes
2016-09-12 15:00:58 -07:00
Doug Lea
60cd28abd7 8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
56cff174b6 8139237: java/util/concurrent/ThreadPoolExecutor/ConfigChanges.java fails intermittently
Reviewed-by: martin, psandoz, shade
2016-09-12 13:11:38 -07:00
Doug Lea
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Claes Redestad
2ac4d6a7d3 8165723: JarFile::isMultiRelease() method returns false when it should return true
Reviewed-by: alanb
2016-09-12 17:45:55 +02:00
Alejandro Murillo
1808257845 Merge 2016-09-10 12:23:52 -07:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Prasanta Sadhukhan
b68b46b14f 4885375: Page Ranges 'To Page' field must be populated based on Pageable
Reviewed-by: prr, jdv
2016-09-10 14:50:35 +05:30
Patrick Reinhart
5deb28b6a1 8161230: ClassLoader: add resource methods returning java.util.stream.Stream
Reviewed-by: psandoz, alanb, mchung, tvaleev
2016-09-09 14:54:41 -07:00
Mandy Chung
397525a2d4 8165346: j.l.ClassLoader.getDefinedPackage(String) throws NPE
Reviewed-by: alanb, lancea, shade
2016-09-09 13:44:48 -07:00
Alexander Kulyakhtin
795272dc75 8139368: -javaagent and -Dcom.sun.management need to add to the initial set of modules to resolve
A new test for the -javaagent option

Reviewed-by: mchung, alanb
2016-09-09 15:16:22 +03:00
Anton Tarasov
537661d271 8160570: [macosx] modal dialog can skip the activation/focus events
Reviewed-by: serb, ssadetsky
2016-09-08 19:25:55 +03:00
Vyom Tewari
ea13eb2b06 8152589: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, dcubed
2016-09-08 15:00:39 +05:30
Martin Buchholz
97ed09e075 8165643: SecureDirectoryStream doesn't work on linux non-x86
Reviewed-by: alanb
2016-09-07 14:44:59 -07:00
Sergei Kovalev
d0474e029b 8165583: Fix module dependencies for jdk/java/util/* tests
Reviewed-by: alanb
2016-09-08 09:59:54 -07:00
Sean Coffey
6784a0986e 8165711: java/net/SetFactoryPermission/SetFactoryPermission.java needs to run in ovm mode
Reviewed-by: chegar
2016-09-08 16:16:44 +01:00
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Alexandre Iline
9aa36236be 8148859: Fix module dependences for java/time tests
Reviewed-by: alanb, rriggs
2016-09-06 17:07:06 -04:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Lana Steuck
be6bc336c7 Merge 2016-09-02 21:42:27 +00:00
Brian Burkhalter
925586066c 8165000: Selector.select(timeout) throws IOException when timeout is a large long
Clamp the timeout passed to kevent0 to the largest value that does not provoke the error.

Reviewed-by: clanger, alanb
2016-09-02 12:38:27 -07:00
Andrey Dyachkov
6d3b1a78ad 8155102: (Process) Process.toString could include pid, isAlive, exitStatus
Reviewed-by: rriggs
2016-09-02 12:30:46 -04:00
Semyon Sadetsky
84ec8b74f9 8164937: Remove code from SortingFocusTraversalPolicy that hacks into non-public Arrays.legacyMergeSort
Reviewed-by: alexsch, serb
2016-09-02 10:31:49 +03:00
Phil Race
d6ba2efe5d Merge 2016-09-01 12:22:59 -07:00
Dmitry Markov
49b420e58a 8050478: [macosx] Cursor not updating correctly after closing a modal dialog
Reviewed-by: serb, alexsch
2016-09-01 22:17:48 +03:00
Phil Race
6f12a4ff0d 8144015: [PIT] failures of text layout font tests
8144023: [PIT] failure of text measurements in javax/swing/text/html/parser/Parser/6836089/bug6836089.java
8145542: The case failed automatically and thrown java.lang.ArrayIndexOutOfBoundsException exception
8151725: [macosx] ArrayIndexOOB exception when displaying Devanagari text in JEditorPane
8144240: [macosx][PIT] AIOOB in closed/javax/swing/text/GlyphPainter2/6427244/bug6427244.java
8152680: Regression in GlyphVector.getGlyphCharIndex behaviour
8158924: Incorrect i18n text document layout
8041480: ArrayIndexOutOfBoundsException when JTable contains certain string

Reviewed-by: serb, srl
2016-09-01 11:29:20 -07:00
Phil Race
2551c0ae07 Merge 2016-09-01 08:39:27 -07:00
Li Jiang
44ec255a91 8145952: ISO 4217 amendment 161
8164784: ISO 4217 amendment 162

Reviewed-by: naoto
2016-09-01 01:39:21 -07:00
Ramanand Patil
6906b1ad96 8161016: Strange behavior of URLConnection with proxy
Reviewed-by: shade, chegar
2016-09-01 10:35:38 +05:30
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Prasanta Sadhukhan
252779d212 8165146: [PIT][TEST_BUG] Doubtful usability of java/awt/print/PrinterJob/TestMediaTraySelection.java
Reviewed-by: prr
2016-09-01 10:21:29 +05:30
Phil Race
0d1ad07556 8164818: Reg. test java/awt/font/TextLayout/VisibleAdvance.java fails
Reviewed-by: serb, psadhukhan
2016-08-31 13:40:06 -07:00
Alejandro Murillo
f2099ceae0 Merge 2016-08-31 13:50:02 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Alexandre Iline
0b55f8862f 8164859: Fix module dependences in java/text tests
Reviewed-by: naoto
2016-08-30 14:30:32 -07:00
Phil Race
f020ea7a19 Merge 2016-08-30 08:45:21 -07:00
Prasanta Sadhukhan
dba7bcf4f8 6357887: selected printertray is ignored under linux
Reviewed-by: prr, vadim
2016-08-30 11:07:58 +05:30
Amy Lu
5ee89f9f22 8164545: Mark java/net/URLPermission/nstest/lookup.sh as intermittently failing
Reviewed-by: dfuchs
2016-08-30 09:36:23 +08:00
Amy Lu
5c73d79296 8163934: Remove intermittent key from java/lang/ProcessBuilder/Zombies.java
Reviewed-by: darcy
2016-08-30 09:31:28 +08:00
Phil Race
0e155b2a1b Merge 2016-08-29 08:53:32 -07:00
Christoph Langer
ea29d586dd 8164649: Cleanup of test java/nio/channels/FileChannel/Lock.java
Reviewed-by: alanb
2016-08-29 11:23:34 +02:00
Vivek Deshpande
1a188cf07a 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:20:09 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Svetlana Nikandrova
f894a28859 8005068: HttpCookie does not correctly handle negative maxAge values
Reviewed-by: chegar
2016-08-25 20:53:40 +03:00
Felix Yang
616336b6c2 8163561: Add a test for Proxy Authentication in HTTP/2 Client API
Reviewed-by: chegar
2016-08-26 08:33:28 -07:00
Alan Bateman
97fca016ab 8066943: (fs) Path.relativize() gives incorrect result for ".."
Reviewed-by: prappo, bpb
2016-08-25 10:01:20 +01:00
Doug Lea
4c999ed180 8163353: NPE in ConcurrentHashMap.removeAll()
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07:00
Robbin Ehn
001e52768a 8158628: test/java/lang/instrument/NativeMethodPrefixAgent.java: Error occurred during initialization of VM: Failed to start tracing backend
Reviewed-by: sla, gtriantafill
2016-08-24 20:51:37 +02:00
Robbin Ehn
dcb6b6c2e6 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:22 +02:00
Brian Burkhalter
34565b8ada 8163136: Add print statements to java/nio/file/WatchService/LotsOfCancels.java
Add some print statements.

Reviewed-by: alanb
2016-08-24 11:23:58 -07:00
Artem Smotrakov
8fe1b11fa9 8164166: Make sure java/nio/channels tests shutdown asynchronous channel groups
Reviewed-by: alanb
2016-08-24 10:58:29 -07:00
Claes Redestad
60754ca0fb 8164569: Generate non-customized invoker forms at link time
Reviewed-by: vlivanov
2016-08-24 16:11:21 +02:00
Steve Drach
3a04923cad 8164585: JarFile::isMultiRelease does not return true in all cases where it should return true
Reviewed-by: alanb, psandoz
2016-08-23 11:26:41 -07:00
Brian Burkhalter
dc3e5ed9fb 8164556: Drop AAC and FLAC from content type check in java/nio/file/Files/probeContentType/Basic.java
Remove file extensions of AAC and FLAC audio encodings from the list of extensions verified.

Reviewed-by: alanb
2016-08-23 10:51:17 -07:00
Artem Smotrakov
4b68f37bfe 8164159: java/nio/file/WatchService/UpdateInterference.java test leaves daemon threads
Reviewed-by: alanb
2016-08-23 10:38:01 -07:00
Artem Smotrakov
5971698320 8164592: java/net/MulticastSocket/NoLoopbackPackets.java tests may leave a daemon thread
Reviewed-by: clanger, chegar
2016-08-23 10:32:14 -07:00
Christian Tornqvist
a5637c9afa 8164520: java/lang/ProcessHandle/Basic.java is missing @library tag
Reviewed-by: coleenp
2016-08-20 09:36:35 -04:00
Alejandro Murillo
ae1273fa3a Merge 2016-08-19 12:17:32 -07:00
Alejandro Murillo
3fe5cc875a Merge 2016-08-19 11:22:17 -07:00
Christian Tornqvist
0731886f09 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:09:53 -04:00
Ivan Gerasimov
1487578b08 8164366: ZoneOffset.ofHoursMinutesSeconds() does not reject invalid input
Reviewed-by: scolebourne, ntv, coffeys
2016-08-22 22:16:54 +03:00
Alejandro Murillo
46babcb5b7 Merge 2016-08-22 08:27:10 -07:00
Peter Levart
b0aa08888c 8164547: Make java.lang.reflect.ClassLoaderValue public for internal use
Move it to jdk.internal.loader and make it public

Reviewed-by: shade, alanb
2016-08-22 13:16:51 +02:00
Rachna Goel
b19bd0a798 8135055: java.util.Date.after(java.sql.Timestamp ) does not return correct results
Reviewed-by: okutsu
2016-08-22 15:17:11 +09:00
Yuka Kamiya
86bb2f51cd 7094818: closed/java/text/Format/DateFormat tests failed on Hindi
8132861: java/text/Format/DateFormat/Bug4845901.java failed in Thai locale
8134733: java/util/Calendar/CalendarRegression.java failed in ar locale

Reviewed-by: okutsu
2016-08-22 14:24:46 +09:00
Brian Burkhalter
13f73f71eb 8164432: java/nio/file/Files/probeContentType/Basic.java fails on windows for Content type: audio/vnd.dlna.adts
Add audio/vnd.dlna.adts as an allowed MIME type for the aac extension.

Reviewed-by: darcy
2016-08-19 13:38:12 -07:00
David Dehaven
9c8bd63007 Merge 2016-08-19 08:47:12 -07:00
Michael Haupt
22e95f995a 8164102: MethodHandles.countedLoop/4 works incorrect for start/end = Integer.MAX_VALUE
Reviewed-by: redestad
2016-08-19 10:03:43 +02:00
Valerie Peng
c846a862ee 8130181: Deprecate java.security.Provider(String, double, String), add Provider(Strin
Added Provider constructor which uses version String and use sun.security.util.PROVIDER_VER

Reviewed-by: weijun
2016-08-19 06:27:54 +00:00
Claes Redestad
9dcafe04f0 8164044: Generate corresponding simple DelegatingMethodHandles when generating a DirectMethodHandle at link time
Reviewed-by: vlivanov, mhaupt, shade
2016-08-18 19:00:39 +02:00
Dmitry Markov
85a2347cb5 8163583: [macosx] Press "To Back" button on the Dialog,the Dialog moves behind the Frame
Reviewed-by: serb
2016-08-16 11:13:46 +03:00
Sibabrata Sahoo
ca2024b93f 8159964: Update Tests to verify JDK build for "JDK-8159488 Deprivilege java.xml.crypto"
Reviewed-by: valeriep
2016-08-16 12:34:00 +05:30
Artem Smotrakov
aacb739bbd 8162484: javax/net/ssl/Stapling/SSLSocketWithStapling.java test fails intermittently with "Address already in use" error
Reviewed-by: xuelei, jnimeh
2016-08-15 16:32:41 -07:00
Ivan Gerasimov
d928f3fae8 8163896: Finalizing one key of a KeyPair invalidates the other key
Reviewed-by: coffeys, vinnie
2016-08-15 23:45:32 +03:00
Doug Lea
c5e580763c 8162627: Miscellaneous changes imported from jsr166 CVS 2016-08
Reviewed-by: martin, psandoz
2016-08-15 09:16:31 -07:00
Doug Lea
33762a65b8 8151158: [TESTBUG] java/util/concurrent/forkjoin/FJExceptionTableLeak.java fails due to out of memory
8144836: [TESTBUG] FJExceptionTableLeak and RemoveLeak fail with -XX:+UseParallelGC -XX:+AggressiveOpts

Reviewed-by: martin, psandoz, amlu, darcy
2016-08-15 09:13:22 -07:00
Doug Lea
0f24b72e4e 8163210: java/util/concurrent/tck/JSR166TestCase.java testWriteAfterReadLock(StampedLockTest): timed out waiting for thread to terminate
Reviewed-by: martin, psandoz, dholmes
2016-08-15 09:09:00 -07:00
Doug Lea
cdae608a00 8162805: Optimize AtomicBoolean.getAndSet
Reviewed-by: martin, psandoz, shade
2016-08-15 09:04:40 -07:00
David Dehaven
dbba0650a9 Merge 2016-08-15 08:15:02 -07:00
Alejandro Murillo
284b527560 Merge 2016-08-12 14:12:56 -07:00
Sergey Bylokhov
ab8079d89a 8159696: java.beans.MethodRef#get throws NullPointerException
Reviewed-by: alexsch
2016-08-12 20:36:41 +03:00
Svetlana Nikandrova
dac6760af7 8145732: Duplicate entry in http.nonProxyHosts will ignore subsequent entries
Test update to explicitly cover problematic scenario.

Reviewed-by: chegar
2016-08-12 20:14:25 +03:00
Mikhail Cherkasov
2b8954d7e4 8160696: IllegalArgumentException: adding a component to a container on a different GraphicsDevice
Reviewed-by: serb
2016-08-12 18:43:13 +03:00
Ivan Gerasimov
cdf04f9c63 8163877: Tests added in JDK-8163518 fail on some platforms
Reviewed-by: darcy
2016-08-11 23:41:48 +03:00
Phil Race
79b2dd4b8d Merge 2016-08-11 10:37:50 -07:00
Ivan Gerasimov
9088dcdb4a 8163518: Integer overflow in StringBufferInputStream.read() and CharArrayReader.read/skip()
Reviewed-by: rriggs, shade
2016-08-11 17:03:40 +03:00
Mandy Chung
e2a0ff3e0d 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:51:25 -07:00
Dmitrij Pochepko
91414d0dfc 8129523: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java timeout
Reviewed-by: kvn
2016-08-08 11:32:11 +03:00
Phil Race
badde41605 Merge 2016-08-05 12:03:58 -07:00
Phil Race
f154b67d33 Merge 2016-08-05 10:23:28 -07:00
Alejandro Murillo
83f8829c06 Merge 2016-08-05 09:50:29 -07:00
Ambarish Rapte
7c82dd1d04 8039081: [TEST_BUG] Test java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java fails
Reviewed-by: serb, psadhukhan
2016-08-05 15:48:37 +05:30
Brian Burkhalter
0af4f24e45 8162902: Add some debugging output to test/java/nio/file/WatchService/DeleteInterference
Add printing of iteration numbers

Reviewed-by: alanb
2016-08-04 14:29:27 -07:00
Amy Lu
4710805267 8161024: Remove intermittent key from java/lang/Runtime/exec/LotsOfOutput.java
Reviewed-by: darcy
2016-08-04 15:45:24 +08:00
Roger Riggs
8bdadcb9dc 8160151: java/lang/ProcessBuilder/Zombies.java failed with error "1 zombies!"
Reviewed-by: dfuchs
2016-08-03 12:55:44 -04:00
Joe Darcy
ea95778f91 8162817: Annotation toString output not reusable for source input
Reviewed-by: plevart
2016-08-03 08:13:45 -07:00
Ajit Ghaisas
f140028251 6427331: NullPointerException in LookupOp.filter(Raster, WritableRaster)
Reviewed-by: psadhukhan, prr
2016-08-03 14:49:01 +05:30
Prasanta Sadhukhan
ac5928bc2a 6575247: Banner checkbox in PrinterJob print dialog doesn't work
Reviewed-by: prr, jdv
2016-08-03 14:45:25 +05:30
Nishit Jain
55be447abd 8035133: Locale matching: Weight q=0 isn't handled correctly
Reviewed-by: okutsu, peytoia
2016-08-03 09:37:57 +09:00
Rajeev Chamyal
c7f532a83d 8144594: HiDPI: awt.Choice looks improperly (Win 8)
Reviewed-by: alexsch, serb
2016-08-02 10:46:08 +05:30
Phil Race
8ab66b8911 Merge 2016-08-01 10:06:09 -07:00
Rachna Goel
0eb7344760 8066652: Default TimeZone is GMT not local if user.timezone is invalid on Mac OS
Reviewed-by: okutsu
2016-08-01 15:55:54 +09:00
Alejandro Murillo
435f7046be Merge 2016-07-30 00:11:02 +00:00
Alejandro Murillo
41186dae1b Merge 2016-07-29 16:11:57 -07:00
Brian Burkhalter
911dda4ee1 8163305: Add some print instrumentation to java/nio/channels/Selector/RacyDeregister
Perform more iterations on Windows, and on all platforms if the test enters the failure branch, poll for an extra period of time to determine whether it might have succeeded with a longer timeout

Reviewed-by: chegar
2016-08-09 07:50:26 -07:00
Brian Burkhalter
ba0558addb 8163431: probeContentType/Basic.java fails after changes for JDK-8146215
Allow multiple legal MIME type interpretations for certain extensions.

Reviewed-by: chegar
2016-08-09 07:43:48 -07:00
Claes Redestad
0ae20fdfaa 8163476: java/lang/StackWalker/VerifyStackTrace.java fails after JDK-8163369
Reviewed-by: igerasim, chegar
2016-08-09 15:02:27 +02:00
Brian Burkhalter
97b666ee29 8162745: content-types.properties files are missing some modern types
Add some content types from HTML5 and Xiph.

Reviewed-by: rriggs, chegar
2016-08-08 13:58:14 -07:00
Brian Burkhalter
522e112b4a 8146215: (fs) java/nio/file/Files/probeContentType/Basic.java failed frequently on Solaris-sparc with Unexpected type: text/plain
Append a FileTypeDetector using java.net.FileNameMap as a fallback on all platforms

Reviewed-by: alanb, rriggs, naoto
2016-08-08 13:57:51 -07:00
Alejandro Murillo
961ca2224c Merge 2016-08-08 08:12:20 -07:00
Semyon Sadetsky
ae42c4bfa7 8157827: AWT_Desktop/Automated/Exceptions/BasicTest loads incorrect GTK version when jdk.gtk.version=3
Reviewed-by: prr
2016-07-29 11:25:59 +03:00
Paul Sandoz
8dc58ab506 8162458: Buffer view implementations use incorrect offset for Unsafe access
Reviewed-by: alanb
2016-07-29 10:18:47 +02:00
Semyon Sadetsky
cb959adf02 8161273: [hidpi] The frame insets size is wrong on Linux HiDPI because it is not scaled
Reviewed-by: alexsch
2016-07-29 10:59:43 +03:00
David Dehaven
b6c0aa1261 Merge 2016-07-28 09:29:38 -07:00
David Dehaven
dd116aa128 Merge 2016-07-28 09:01:30 -07:00
Nadeesh TV
f7eff31b47 8066806: java.time.format.DateTimeFormatter cannot parse an offset with single digit hour
Added support for single digit hour in offset

Reviewed-by: rriggs, scolebourne
2016-07-28 10:28:21 +00:00
Brian Burkhalter
82e9d18d0e 8162624: (fs) Remove FileTypeDetectors based on libgio and libmagic
Remove GioFileTypeDetector and MagicFileTypeDetector.

Reviewed-by: alanb
2016-07-27 14:27:46 -07:00
Martin Buchholz
da7a66e347 8160605: java/util/SplittableRandom/SplittableRandomTest.java failed with timeout
Reviewed-by: psandoz, darcy
2016-07-27 10:34:10 -07:00
Karen Kinnear
9be5fdfe94 Merge 2016-07-27 13:33:55 +00:00
Karen Kinnear
201f2252c2 8162340: Better class stream parsing
Check package validity

Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:33:15 -04:00
David Dehaven
dd5b13bacb Merge 2016-07-26 14:45:11 -07:00
Joe Darcy
085f7a6907 8162539: Test fails because it expects a blank between method signature and throws exception
Reviewed-by: coleenp
2016-07-26 12:56:26 -07:00
Doug Lea
55ee90a475 8161591: Miscellaneous changes imported from jsr166 CVS 2016-07
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:06:19 -07:00
Doug Lea
2545e51a0c 8161608: StampedLock should use storeStoreFence when acquiring write lock
Reviewed-by: martin, psandoz, plevart
2016-07-26 10:02:05 -07:00
Doug Lea
825edd9274 8160751: Optimize ConcurrentHashMap.keySet().removeAll
8161372: ConcurrentHashMap.computeIfAbsent(k,f) locks bin when k present

Reviewed-by: martin, psandoz, plevart
2016-07-26 09:57:51 -07:00
Doug Lea
6db3f79f39 8160402: Garbage retention with CompletableFuture.anyOf
Reviewed-by: martin, psandoz, plevart
2016-07-26 09:53:38 -07:00
Ramanand Patil
20477f85e7 8159684: (tz) Support tzdata2016f
Reviewed-by: okutsu
2016-07-26 13:48:29 +05:30
Vyom Tewari
620b097690 8161291: Serialization Tests for URLPermission is failing
Reviewed-by: dfuchs, chegar
2016-07-26 13:26:12 +05:30
Sibabrata Sahoo
1e34f70a1d 8151654: Additional modular test for "auth.login.defaultCallbackHandler"
Reviewed-by: mchung, weijun
2016-07-26 09:53:35 +08:00
Rajeev Chamyal
af0977717b 8147648: [hidpi] multiresolution image: wrong resolution variant is used as icon in the Unity panel
Reviewed-by: alexsch, ssadetsky
2016-07-25 15:29:24 +05:30
Xueming Shen
e944d9f280 8161942: java.util.zip.ZipEntry.java not covering UpperLimit range of DOS epoch
Reviewed-by: redestad
2016-07-22 16:32:48 -07:00
Vinnie Ryan
149b8bf45d 8161571: Verifying ECDSA signatures permits trailing bytes
Reviewed-by: xuelei
2016-07-22 16:05:23 +01:00
Chris Hegarty
91e8d57d26 8078568: java/net/URLPermission/URLTest.java fails intermittently with BindException
Reviewed-by: dfuchs
2016-07-22 11:12:02 +01:00
Prem Balakrishnan
e5c0bbdf38 8144709: [hidpi] [TestBug] java/awt/GridLayout/ChangeGridSize/ChangeGridSize.java, java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java are failing
Reviewed-by: alexsch, rchamyal
2016-07-22 12:16:33 +05:30
Rajeev Chamyal
7973c653bd 8158918: setExtendedState(1) for maximized Frame results in state==7
Reviewed-by: alexsch, ssadetsky
2016-07-21 20:30:18 +05:30
Iris Clark
89602315a1 8161236: Runtime.Version.{compareTo, equals}IgnoreOpt should be renamed
Reviewed-by: alanb, rfield, ksrini
2016-07-21 07:42:05 -07:00
Oliver Bendig
0efd8d9c26 4908075: Press shift and another key using robot does not trigger events properly - WinXP
Reviewed-by: alexsch, simonis
2016-07-20 17:08:04 +02:00
Prasanta Sadhukhan
e576ea3b90 8154218: Non-usage of owner Frame when Frame object is passed to getPrintJob()
Reviewed-by: prr, jdv
2016-08-25 16:01:44 +05:30
Ajit Ghaisas
e1726f30e8 8158356: SIGSEGV when attempting to rotate BufferedImage using AffineTransform by NaN degrees
Reviewed-by: flar, prr
2016-08-25 14:12:13 +05:30
Phil Race
b9b87f5a33 8139176: [macosx] java.awt.TextLayout does not handle correctly the bolded logical fonts
Reviewed-by: serb, vadim
2016-08-24 13:36:46 -07:00
Prahalad Kumar Narayanan
5a41e81056 8158524: Adding a test case to compare the rendered output of VolatileImage with that of BufferedImage
Reviewed-by: serb, psadhukhan
2016-08-23 14:47:53 +05:30
David Dehaven
d540704400 Merge 2016-08-22 10:02:10 -07:00
Manajit Halder
66b521e8a9 8156099: [macosx] Drag and drop of link from web browser, DataFlavor types application/x-java-url and text/uri-list, getTransferData returns null
Reviewed-by: mcherkas, serb
2016-08-22 18:23:46 +05:30
Rajeev Chamyal
f149873fe6 8163160: [PIT][TEST_BUG] Some issues in java/awt/image/multiresolution/MultiResolutionIcon/IconTest.java
Reviewed-by: serb, yan
2016-08-22 14:41:36 +05:30
Alexander Scherbatiy
966cbcfce3 8151303: [macosx] [hidpi] JButton's low-res. icon is visible when clicking on it
8156182: [macosx] HiDPI/Retina icons do not work for disabled JButton/JMenuItem etc

Reviewed-by: flar, prr
2016-08-19 16:48:53 +04:00
Rajeev Chamyal
b446df55a5 8161913: [PIT] java/awt/Window/8159168/SetShapeTest.java mostly fails
Reviewed-by: alexsch, aniyogi
2016-08-17 14:48:13 +05:30
Sergey Bylokhov
c47ae75e1b 8159898: Negative array size in java/beans/Introspector/Test8027905.java
Reviewed-by: alexsch, yan
2016-08-16 23:07:35 +03:00
Steve Drach
fe8757403b 8157524: Revert JarFile methods "entries" and "stream" to Java 8 behavior
Reviewed-by: alanb, psandoz, redestad
2016-07-19 10:05:22 -07:00
Phil Race
dc18887731 Merge 2016-07-18 09:53:59 -07:00
Pavel Rappo
9118632bbd 8161474: Extract interface from java.net.http.RawChannel
Reviewed-by: michaelm
2016-07-18 13:43:49 +01:00
Michael Haupt
7112e19bd1 8161212: Test times out: java/lang/invoke/LoopCombinatorLongSignatureTest.java
Reviewed-by: redestad
2016-07-18 14:06:50 +02:00
Manajit Halder
0de9a3c949 8160266: [macosx] NestedModalDialogTest.java and NestedModelessDialogTest.java tests does not run with current JDK codebase after taking the files from MACOSX_PORT
Reviewed-by: alexsch, rchamyal
2016-07-18 16:45:11 +05:30
Amy Lu
a80a380ddb 8161347: Mark java/lang/ProcessBuilder/Zombies.java as intermittently failing
Reviewed-by: rriggs
2016-07-18 13:13:52 +08:00
Brian Burkhalter
eba2a20a2b 8160220: (fs) Tests in jdk/test/java/nio/file/WatchService leave directory trees behind
Create temporary files by default in a scratch directory.

Reviewed-by: alanb, chegar
2016-07-15 17:49:42 -07:00
Doug Lea
14d4754bdd 8080603: Replace Unsafe with VarHandle in java.util.concurrent classes
8153715: Use Unsafe.weakCompareAndSet in java.util.concurrent

Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs, shade
2016-07-15 14:04:09 -07:00
Doug Lea
a09ddefd05 8157522: Performance improvements to CompletableFuture
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:59:58 -07:00
Doug Lea
aa81d50820 8159924: Various improvements to StampedLock code
Reviewed-by: martin, psandoz, rriggs, plevart, dfuchs
2016-07-15 13:51:43 -07:00
Xueming Shen
ac12555ea3 8161426: Test java/util/zip/InflaterInputStream/TestAvailable.java fails on open-only linux
Reviewed-by: bpb
2016-07-14 16:04:38 -07:00
Volker Simonis
d09561f8c6 8160564: TEST: Add a test to check the implementation of VersionProps.versionNumbers()
Reviewed-by: mchung, redestad
2016-07-14 16:49:30 +02:00
Steve Drach
0062a02e07 8150680: JarFile.Release enum needs reconsideration with respect to it's values
Reviewed-by: alanb, psandoz
2016-07-13 11:43:45 -07:00
Rachna Goel
4e8a2de21a 8154797: Localization data for "GMT"
Reviewed-by: naoto, okutsu
2016-07-14 10:30:23 +09:00
Rajan Halade
1a75a21846 8161011: Mark RMI tests DownloadActivationGroup, UseCustomSocketFactory, and RestartService as itnermittent
Reviewed-by: bpb
2016-07-13 16:53:31 -07:00
Xueming Shen
47c84f9fe6 7031075: GZIPInputStream's available() reports 1, but read() gives -1
Reviewed-by: bpb
2016-07-13 16:37:24 -07:00
Brian Burkhalter
5d404c26b1 8160221: jdk/test/java/nio/channels/FileChannel/Transfers.java leaving files behind
Create temporary files in the test scratch directory instead of in the default temporary file directory.

Reviewed-by: alanb
2016-07-12 07:58:40 -07:00
Amy Lu
caddf21da8 8132548: java/lang/ThreadGroup/Stop.java fails with "RuntimeException: Failure"
Reviewed-by: dholmes, martin, darcy
2016-07-13 10:26:11 +08:00
Daniel Fuchs
d5e84de014 8159245: Loggers created by system classes are not initialized correctly when configured programmatically from application code
Loggers of the same name now share the same configuration.

Reviewed-by: mchung, mli
2016-07-12 11:29:01 +01:00
Brian Burkhalter
fadef405a9 8160215: jdk/test/java/io/Reader/ReaderBulkReadContract.java should clean up better
Create temporary files in the test scratch directory instead of in the default temporary file directory.

Reviewed-by: lancea, alanb
2016-07-11 17:18:59 -07:00
Goetz Lindenmaier
e52b963d0c 8160974: [TESTBUG] Mark more headful tests with @key headful
Reviewed-by: serb, simonis
2016-07-07 16:21:45 +02:00
Prahalad Kumar Narayanan
5cf99edb24 8152971: JNI Warning with -Xcheck:jni
Reviewed-by: prr, psadhukhan
2016-07-15 15:16:12 +05:30