1257 Commits

Author SHA1 Message Date
Sergey Bylokhov
7578044e71 8196196: Headful tests should not be run in headless mode
Reviewed-by: prr
2018-02-16 12:24:38 -08:00
Abdul Kolarkunnu
3715cbe450 8197549: Implement a new method similar to waitState() on Operator which run the check on event queue
Reviewed-by: serb
2018-02-16 18:27:35 +05:30
Abdul Kolarkunnu
b6a2f5517e 8197482: Make Jemmy ComponentChooser lambda friendly
Reviewed-by: serb
2018-02-16 18:17:34 +05:30
Abdul Kolarkunnu
d78e0978af 8196338: [TEST_BUG] sanity/client/SwingSet/src/TextFieldDemoTest.java Failed with timeout
Reviewed-by: ssadetsky
2018-02-16 18:06:23 +05:30
Robert Field
9b23b4f128 8198670: [testbug] Test jdk/internal/jline/extra/HistoryTest.java is broken after 8166232
Reviewed-by: jlahoda
2018-02-25 23:02:45 -08:00
Nishit Jain
3f5b571b5a 8060094: java/util/Formatter/Basic.java failed in tr locale
Reviewed-by: naoto
2018-02-26 11:16:24 +05:30
Jesper Wilhelmsson
aa9cf33c1e Merge 2018-02-19 04:50:50 +01:00
Alan Bateman
8f56ea639d 8196830: publicLookup().findVirtual should not return method handle to AccessibleObject.setAccessible
Reviewed-by: mchung, psandoz
2018-02-24 08:26:53 +00:00
Jonathan Gibbons
62ec6e6d1d 8186688: javax.lang.model.util.Elements.hides does not work correctly with interfaces
Reviewed-by: vromero, mcimadamore
2018-02-23 13:42:04 -08:00
Mandy Chung
4bb064c62d 8198249: Remove deprecated Runtime::runFinalizersOnExit and System::runFinalizersOnExit
Reviewed-by: dholmes, alanb, smarks
2018-02-23 12:10:56 -08:00
Roger Riggs
cfe9ad4608 8189330: Cleanup FileDescriptor implementation
Reviewed-by: bpb
2018-02-23 14:26:29 -05:00
Robert Field
b2ed2bda60 8198573: JShell: class replace loses instances
Reviewed-by: jlahoda
2018-02-23 10:49:56 -08:00
Robert Field
f23f23fc76 8166232: jshell tool: cannot access previous history
Reviewed-by: jlahoda
2018-02-23 10:25:22 -08:00
Vicente Romero
25da45e26f 8198512: compiler support for local-variable syntax for lambda parameters
Reviewed-by: mcimadamore
2018-02-22 15:49:32 -05:00
Robert Field
004b22e401 8176474: test/jdk/jshell/JdiBogusHostListenExecutionControlTest.java fails with java.net.BindException
Reviewed-by: jlahoda
2018-02-22 12:26:01 -08:00
Jan Lahoda
fc9a7d12a8 8198563: Test langtools/tools/javac/analyzer/AnonymousInAnonymous.java failing after JDK-8198502
Convert to lambda warning should not be provided for the tools/javac/analyzer/AnonymousInAnonymous.java test.

Reviewed-by: mcimadamore
2018-02-22 18:53:28 +01:00
Srinivas Dama
90b572b0c9 8198502: Exception at runtime due to lambda analyzer reattributes live AST
Create a deep copy of the original tree before conversion to lambda node

Reviewed-by: mcimadamore, vromero
2018-02-23 01:54:09 +05:30
Jan Lahoda
ddf6846500 8197439: Crash with -XDfind=lambda for anonymous class in anonymous class
Ensuring unresolvable anonymous classes are attributed.

Reviewed-by: mcimadamore, sadayapalam
2018-02-21 17:07:12 +01:00
Nishit Jain
cff8ccbcf7 8190904: Incorrect currency instance returned by java.util.Currency.getInstance()
Reviewed-by: naoto
2018-02-22 11:52:01 +05:30
Yumin Qi
4ea684bf31 8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.

Reviewed-by: alanb, bpb, rriggs
2018-02-21 14:23:45 -08:00
Sundararajan Athijegannathan
8a170b8042 8196959: NullPointerException in discovery003.java
Fixed corner case of having engineName as NULL

Reviewed-by: jlaskey
2018-02-16 15:23:22 +05:30
Sharath Ballal
a76221f5a7 8196930: [Testbug] serviceability/sa/ClhsdbFindPC.java fails to find expected output
Reviewed-by: dholmes, cjplummer
2018-02-16 10:10:14 +05:30
Parvathi Somashekar
d057334330 8196324: Update tests FilterMatch and FilterNoMatch to use TestScaffold
Subtask of JDK-4916621: update tests using JDIScaffold to using TestScaffold instead.

Reviewed-by: sspitsyn, gthornbr
2018-02-15 11:31:56 -08:00
Erik Joelsson
e27aca5e99 8197906: Enable CDS mode execution of jtreg tests via make
Changed make file to add this functionality

Reviewed-by: iignatyev, ihse
2018-02-15 13:37:50 -08:00
Pankaj Bansal
eb9d86fff1 5076761: JList.setSelectedValue(null, ...) doesn't do anything
Reviewed-by: serb, ssadetsky, psadhukhan
2018-02-15 14:20:44 +05:30
Claes Redestad
abb7e3a52a 8197849: Misc improvements to jar resource handling
Reviewed-by: rriggs, dfuchs
2018-02-14 19:03:12 +01:00
Ioi Lam
a74437edc9 8179249: Improve process output analysis in CDS tests
Added new API TestCommon.run(...).assertNormalExit(...), etc

Reviewed-by: mseledtsov
2018-02-14 07:08:25 -08:00
Jesper Wilhelmsson
dc06e6553a Merge 2018-02-15 16:16:17 +01:00
Zhengyu Gu
f47021e2ab 8193373: Cleanup ElfFile and family
Cleanup elf decoder and added test

Reviewed-by: minqi, coleenp
2018-02-14 17:20:59 -05:00
Jesper Wilhelmsson
d851dd077b 8197945: Qurarantine failing condy tests
Reviewed-by: coleenp, lfoltan, kbarrett
2018-02-14 16:42:00 +01:00
Calvin Cheung
26712bcb1b 8196920: VerifierTest_1A.java and VerifierTest_1B.java fail: assert(receiver_klass->is_subtype_of(static_receiver_klass)) failed: actual receiver must be subclass of static receiver klass
Add an unverifiable method to the test class

Reviewed-by: dholmes, iklam
2018-02-14 10:32:19 -08:00
Jesper Wilhelmsson
b8689741ec Merge 2018-02-14 13:29:45 +01:00
Weijun Wang
06a9e1a72f 8191438: jarsigner should print when a timestamp will expire
Reviewed-by: mullan
2018-02-14 16:58:49 +08:00
Jesper Wilhelmsson
51ab999e0e Merge 2018-02-13 23:38:34 +01:00
Martin Doerr
eb3ec99500 8196786: [PPC64+s390] ConstantDynamic support
Reviewed-by: psandoz, dsamersoff
2018-02-13 17:38:03 +01:00
Roland Westrelin
4f8c5b6949 8197563: assert(is_Loop()) crash in PhaseIdealLoop::try_move_store_before_loop()
Don't move store out of the loop if head is not a LoopNode.

Reviewed-by: kvn, thartmann
2018-02-13 16:57:01 +01:00
Robbin Ehn
5287d9a366 8197408: Bad pointer comparison and small cleanup in os_linux.cpp
Reviewed-by: bobv, stuefe
2018-02-27 14:15:30 +01:00
Marcus Larsson
899b64249c 8170976: [TESTBUG] LogTestFixture does not restore previous logging state
Reviewed-by: rehn, lfoltan, hseigel
2018-02-26 16:33:48 +01:00
Lois Foltan
6e70a69893 8198304: VS2017 (C4838, C4312) Various conversion issues with gtest tests
Introduce specific casts to fix multiple type cast conversion compilation errors.

Reviewed-by: gtriantafill, hseigel
2018-02-26 10:11:05 -05:00
Marcus Larsson
b9bc9f0be8 8198554: Add fuzzy matching for log levels and tags when parsing -Xlog
Reviewed-by: hseigel, coleenp
2018-02-26 09:34:20 +01:00
Ioi Lam
d050bedee8 8195065: runtime/appcds/ProhibitedPackage.java intermittent failure
Reviewed-by: mseledtsov
2018-02-24 22:42:37 -08:00
Harold Seigel
7d1735efbb 8184289: Obsolete -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal options
Add comments, fix a small issue with the boot loader, and add an assert.

Reviewed-by: coleenp, alanb, acorn, dholmes
2018-02-21 11:18:52 -05:00
Stefan Karlsson
08193e2dfb 8198225: os::attempt_reserve_memory_at records memory as committed
Reviewed-by: shade, zgu, stuefe
2018-02-21 12:40:07 +01:00
Stefan Karlsson
f1540011d0 8196405: [REDO] NMT: add_committed_regions doesn't merge succeeding regions
Reviewed-by: eosterlund, coleenp, zgu
2018-02-21 12:40:05 +01:00
Per Lidén
0bf8fa1855 8198267: Allow GCId::current_raw() calls from non-NamedThreads
Reviewed-by: stefank, kbarrett
2018-02-21 07:46:40 +01:00
Sangheon Kim
98a4315c72 8193909: Obsolete(remove) Co-operative Memory Management (CMM)
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Reviewed-by: dholmes, jwilhelm, mchung, tschatzl
2018-02-20 12:54:26 -08:00
Jesper Wilhelmsson
0977b752ff Merge 2018-02-19 04:50:50 +01:00
Marcus Larsson
29dd30e010 8196783: Refactor LogTagLevelExpression into separate classes
Reviewed-by: rehn, pliden
2018-02-19 09:46:10 +01:00
Marcus Larsson
8cf755c120 8176298: Log tags in -Xlog:help not sorted
Reviewed-by: ecaspole, gtriantafill, stuefe
2018-02-19 09:16:04 +01:00
Brian Burkhalter
a7b3a19ec4 8191416: (bf) DirectByteBuffer extends MappedByteBuffer, confuses instanceof tests
Change force(), load(), and isLoaded() not to throw UOE if there is no file mapping

Reviewed-by: alanb, rriggs, forax
2018-02-12 08:19:23 -08:00