Commit Graph

583 Commits

Author SHA1 Message Date
Robert Field
19fbc4c08c 8187359: JShell: Give comprehensible error when user method name matches Object method
Reviewed-by: jlahoda
2017-10-20 19:08:25 -07:00
Henry Jen
4e93f8fc9f Merge 2017-10-20 09:49:02 -07:00
Athijegannathan Sundararajan
0da8aae161 8189671: jlink should clearly report error when an automatic module is used
Reviewed-by: alanb, mchung
2017-10-20 17:16:05 +05:30
Lucy Lu
ec1c3bce45 8164900: Add support for O_DIRECT
Add support for Direct I/O in FileChannel

Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Naoto Sato
483595f375 8189272: CLDR and JRE LocaleProviderAdapters silently swallow exceptions
Reviewed-by: mchung
2017-10-24 08:56:47 -07:00
Naoto Sato
ab49e12b7f 8189291: Test policy should extend the default system policy
Reviewed-by: mchung
2017-10-24 08:56:30 -07:00
Jan Lahoda
a663434be7 8189796: Incorrect end position for missing statement
Recording end positions for error trees representing missing statements.

Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: mcimadamore
2017-10-24 12:07:27 +02:00
Roland Westrelin
3a205924e4 8188151: "assert(entry_for(catch_pco, handler_bcis->at(i), scope_depth)->pco() == handler_pcos->at(i))" failure with C1
Reviewed-by: kvn, dlong
2017-10-10 14:05:04 +02:00
Sharath Ballal
b7dc6e4e41 8189061: serviceability/sa/TestInstanceKlassSize.java - Unable to find instance klass for null
Reviewed-by: jgeorge, dholmes
2017-10-24 15:44:29 +05:30
Jamsheed Mohammed C M
dc50d0a8b2 8168712: [AOT] assert(false) failed: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_base: last_sp != NULL
Skip the assert for this specific case, as it is not an issue.

Reviewed-by: coleenp, dlong, kvn
2017-10-24 06:06:56 -07:00
Jesper Wilhelmsson
7884ab9ccf Merge 2017-10-30 21:23:10 +01:00
Igor Ignatyev
92254a72a4 8186618: [TESTBUG] Test applications/ctw/Modules.java doesn't have timeout and hang on windows
Reviewed-by: jwilhelm, epavlova
2017-10-31 16:31:39 -07:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Tobias Hartmann
832d68597e 8190351: InitialAndMaxUsageTest does not free allocated blob
Refactored test to add blob to free list and changed the allocation loop to start with blobs of size ~36 Mb.

Reviewed-by: kvn
2017-10-31 09:33:47 +01:00
Sangheon Kim
4101ba9a13 8185278: TestGreyReclaimedHumongousObjects.java fails guarantee(index != trim_index(_head_index + 1)) failed: should not go past head
Add STS to avoid MMU concurrency problem between VM Thread and Concurrent Mark Thread

Reviewed-by: tschatzl, ehelin
2017-10-26 21:30:48 -07:00
Jesper Wilhelmsson
65db4f42d0 8187556: Backout of a fix reintroduced a dependency that had since been removed
Reviewed-by: duke
2017-09-14 22:57:36 +02:00
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00
Harold Seigel
99bf982432 8174954: Parameter target type is allowed access after a module read edge or a package export has occurred after failed resolution
Store resolution exception in resolution_error table and set flag in cpCache indicating resolution failed.

Reviewed-by: acorn, jrose, dholmes, lfoltan
2017-10-23 10:42:26 -04:00
Jesper Wilhelmsson
a9f136ec2e Merge 2017-10-22 00:10:29 +02:00
Serguei Spitsyn
ba7368fbd6 Merge 2017-10-21 00:06:50 +00:00
Jesper Wilhelmsson
291e5e159d Merge 2017-10-21 01:23:52 +02:00
Yasumasa Suenaga
c4706f598d 8151815: Could not parse core image with JSnap
Reviewed-by: dholmes, sspitsyn
2017-10-21 07:00:23 +09:00
Dean Long
e7270b8965 8132547: [AOT] support invokedynamic instructions
Reviewed-by: iveresov, kvn
2017-10-19 19:23:48 -07:00
Serguei Spitsyn
41d19c4a10 8173936: [TESTBUG] test/serviceability/jvmti/ModuleAwareAgents/ClassFileLoadHook/MAAClassFileLoadHook.java needs to be re-examined
Expect CFLH events only if can_generate_early_vmstart capability is enabled

Reviewed-by: dholmes, gtriantafill
2017-10-17 14:37:01 -07:00
Harold Seigel
d3466f7dce 8188922: [TESTBUG] runtime/CommandLine/VMDeprecatedOptions.java fails with JDK10 release bits
Add -XX:+UnlockDiagnosticVMOptions to the command line when testing a deprecated diagnostic option.

Reviewed-by: coleenp, lfoltan
2017-10-11 10:03:22 -04:00
Mandy Chung
7344b46c71 8189193: FindClass should only see classes from the boot loader called from its associated native library
Reviewed-by: coleenp, dholmes
2017-10-19 17:27:34 -07:00
Sangheon Kim
e4cf0cb437 8188245: [Testbug] test/hotspot/jtreg/gc/logging/TestPrintReferences.java can fail
Changed to use BigDecimal to solve double rounding issue

Reviewed-by: sjohanss, eosterlund
2017-10-19 11:31:52 -07:00
Magnus Ihse Bursie
7c78b40f8d 8189608: Remove duplicated jni.h
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02:00
Yasumasa Suenaga
f778dfd81a 8087291: InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
Reviewed-by: coleenp, hseigel
2017-10-18 18:49:54 -04:00
Mikhailo Seledtsov
ac63626f1f 8181592: [TESTBUG] Docker test utils and docker jdk basic test
Implemented docker test utilities and basic test

Reviewed-by: iignatyev, lmesnik, gtriantafill
2017-10-10 19:18:36 -07:00
Mandy Chung
4c1297b778 8188052: JNI FindClass needs to specify the class loading context used for library lifecycle hooks
Reviewed-by: alanb, coleenp, dholmes
2017-10-10 11:52:42 -07:00
Jesper Wilhelmsson
42a29333b9 Merge 2017-10-10 16:29:04 +02:00
Ioi Lam
94760c8130 8188828: Intermittent ClassNotFoundException: jdk.test.lib.Platform for compiler tests
As a work around, remove dependency from jdk.test.lib.FileInstaller to other classes in this library

Reviewed-by: iignatyev, gtriantafill, kvn, dholmes
2017-10-09 13:11:25 -07:00
Vladimir Kozlov
e24a5bc2ff 8188776: jdk.internal.vm.ci can't export package to upgradeable modules
Added missing exception in JdkQualifiedExportTest.java test

Reviewed-by: mchung
2017-10-06 13:00:18 -07:00
Coleen Phillimore
fd85805dc0 8178870: instrumentation.retransformClasses cause coredump
Don't double-free cached class bytes on redefinition loading failure.

Reviewed-by: sspitsyn, jiangli
2017-10-06 14:30:04 -04:00
Maurizio Cimadamore
9f2615c4de 8172443: Change use of tree.pos to line:col in rawDiagnostics
Generate more stable raw diagnostic position for functional expression AST diag arguments

Reviewed-by: jjg, vromero
2017-10-05 18:29:47 +01:00
Bernard Blaser
2115af4897 8063054: Incorrect raw type warning for method reference
Spurious raw types warnings generated for unbound method references

Reviewed-by: jlahoda
2017-10-05 12:19:23 +01:00
Ujwal Vangapally
96d0817455 8185003: JMX: Add a version of ThreadMXBean.dumpAllThreads with a maxDepth argument
Added two new API's to limit the stack trace depth

Reviewed-by: mchung, dfuchs, rriggs, egahlin
2017-10-05 01:31:53 -07:00
Kumar Srinivasan
da077b2e26 8186703: javadoc needs a test to verify member hiding
Reviewed-by: jjg
2017-10-04 10:44:21 -07:00
Ivan Gerasimov
9c1b0103b3 8186654: Poor quality of sun.security.util.Cache.EqualByteArray.hashCode()
Reviewed-by: coffeys
2017-10-04 01:08:36 -07:00
Doug Lea
c3664b7f38 8186056: Miscellaneous changes imported from jsr166 CVS 2017-09
Reviewed-by: martin, psandoz
2017-10-03 14:00:00 -07:00
Charles Munger
229cce5f44 8186265: Make toString() methods of "task" objects more useful
Reviewed-by: martin, psandoz, rriggs, dholmes, darcy
2017-10-03 13:55:05 -07:00
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Doug Lea
76db7c6b61 8187607: [Testbug] Atomic*FieldUpdaterTest.checkPrivateAccess uses nested classes
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:41:55 -07:00
Doug Lea
c6e3667228 8187408: AbstractQueuedSynchronizer wait queue corrupted when thread awaits without holding the lock
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:37:01 -07:00
Bhavesh Patel
feab9efa52 8074407: javadoc: using <pre> after @deprecated tag causes warnings
Reviewed-by: jjg, ksrini
2017-10-03 12:58:49 -07:00
Bhavesh Patel
448718c0af 8169819: minor cleanup for deprecated page
Reviewed-by: jjg, ksrini
2017-10-02 14:49:46 -07:00
Bernard Blaser
47e2972a64 8187978: javac can show overload error messages that include non-valid candidates
Reviewed-by: mcimadamore
2017-10-02 10:04:22 -07:00
Maurizio Cimadamore
870b0834fe 8188144: regression in method reference type-checking
Method reference checking prefers unbound lookup when both searches produce same results

Reviewed-by: vromero
2017-10-02 12:29:44 +01:00
Mandy Chung
5d986605ca 8186050: StackFrame should provide the method signature
Reviewed-by: alanb, bchristi, forax, plevart
2017-09-29 11:33:08 -07:00
Srinivas Dama
f2a9034adf 8147076: LinkerCallSite.ARGLIMIT is used incorrectly
Modified ARGLIMIT

Reviewed-by: hannesw, jlaskey
2017-09-30 03:15:56 +05:30
Athijegannathan Sundararajan
cea7897f08 8188098: NPE in SimpleTreeVisitorES6 visitor when parsing a tagged template literal
Reviewed-by: hannesw, jlaskey
2017-09-28 23:03:17 +05:30
Maurizio Cimadamore
9e6049ef0f 8188090: Running tests from make causes spurious mercurial changes
Fix relative path in test/TestCommon.gmk

Reviewed-by: erikj
2017-09-28 11:20:16 +01:00
Bhavesh Patel
6db0190cb5 8186332: Fix method signature in method summary table
Reviewed-by: jjg, ksrini
2017-09-27 16:47:07 -07:00
Joe Darcy
5d2a4c319a 8187982: Update SourceVersion to mention restricted keywords
Reviewed-by: mcimadamore
2017-09-27 14:23:41 -07:00
Paul Sandoz
999343e352 8187688: Additional tests for MethodHandle.invokeWithArguments
Reviewed-by: redestad
2017-09-27 10:24:40 -07:00
Hannes Wallnöfer
2e46c1508a 8186815: Java.from has a bug, when element is ScriptObject
Reviewed-by: sundar, jlaskey
2017-09-27 17:09:52 +02:00
Priya Lakshmi Muthuswamy
10f7bd1ab6 8133623: JDK-8055034.js and JDK-8130127.js fail in nashorn nightly
Reviewed-by: sundar, hannesw
2017-09-27 15:26:35 +02:00
Athijegannathan Sundararajan
a00dba8a16 8188023: Avoid -source and -target javac options in nashorn ant compilation
Reviewed-by: jlaskey, hannesw
2017-09-27 18:40:37 +05:30
Hannes Wallnöfer
047f60b678 8187962: Optimistic types ignore JavaAdapter return types
Reviewed-by: sundar, attila
2017-09-27 14:56:19 +02:00
Philipp Kunz
2ae9614d34 6695402: Jarsigner with multi-byte characters in class names
Reviewed-by: weijun
2017-09-27 14:02:15 +08:00
Bhavesh Patel
385c583ed1 8183511: improve style for deprecated text
Reviewed-by: jjg, ksrini
2017-09-26 20:03:48 -07:00
Rob McKenna
1fc8d0cfd9 8184328: JDK 8u131 socketRead0 hang at SSL read
Reviewed-by: xuelei, chegar, coffeys
2017-09-26 19:19:09 +01:00
Vyom Tewari
99b202b398 8185072: network006 times out in many configs in JDK10-hs nightly
Reviewed-by: chegar, rriggs
2017-09-26 20:34:10 +05:30
Maurizio Cimadamore
c825188cd8 8177466: Add compiler support for local variable type-inference
Add support for 'var' in implicitly typed local variable declarations

Reviewed-by: vromero, jlahoda
2017-09-26 12:52:53 +01:00
Chris Hegarty
b98d0bda76 8181176: java/net/httpclient/websocket/ConnectionHandover.java times out
Reviewed-by: coffeys
2017-09-26 10:20:35 +01:00
David Holmes
da352d7930 Merge 2017-09-26 01:26:00 -04:00
Hamlin Li
9f1f9587cb 8187376: test issue in java/lang/invoke/VarHandles/VarHandleBaseTest.java
Reviewed-by: psandoz
2017-09-26 12:47:49 +08:00
Goetz Lindenmaier
92fc72a86b 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes
2017-09-25 23:42:58 -04:00
Srinivas Dama
2dc0eaaa4b 8185257: Nashorn AST is missing nodes when a for-loop contains a VariableDeclarationList
Var declaration in for loop removed from block scope in es6 mode

Reviewed-by: hannesw, sundar
2017-09-26 07:00:43 +05:30
Athijegannathan Sundararajan
551d0689ed 8187934: dropping a shebang script in src/sample/nashorn directory results in test failure
Reviewed-by: hannesw, jlaskey
2017-09-25 20:32:44 +05:30
Jan Lahoda
4335a9a642 8187883: NewClassDefEnclosing.java fails on windows
Fixing whitespace normalization.

Reviewed-by: mcimadamore
2017-09-25 13:03:11 +02:00
Sergey Bylokhov
97d93fe4d8 8187442: Xcheck:jni produces various "WARNING in native method" in launcher
Reviewed-by: ksrini, dholmes
2017-09-22 15:32:09 -07:00
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Andrey Nazarov
71e91d9c2e 8185458: Added comment for Files.notExists in FileUtils test library
Reviewed-by: chegar
2017-09-22 11:49:53 -07:00
Jan Lahoda
b45c9233a4 8044853: Attr synthesizes nullcheck tree nodes
Avoid move of JCNewClass.encl to args in front end phases.

Reviewed-by: jjg
2017-09-22 14:06:11 +02:00
Priya Lakshmi Muthuswamy
6c1410fffa 8186180: Symbol.__proto__ results in error with format string placeholder
Reviewed-by: sundar, hannesw
2017-09-22 11:52:38 +02:00
Priya Lakshmi Muthuswamy
ea3a3f20d5 8187362: Nashorn unsigned right shift operator unexpectedly returns floating-point
Reviewed-by: sundar, hannesw
2017-09-22 11:48:57 +02:00
Amy Lu
f22dd8323b 8184329: Refactor java/lang/ClassLoader shell tests to java
Reviewed-by: mchung
2017-09-22 16:38:54 +08:00
Felix Yang
300988fb02 8085875: java/net/DatagramSocket/PortUnreachable.java fails intermittently: Address already in use
Reviewed-by: msheppar, clanger
2017-09-21 20:05:46 -07:00
Felix Yang
e634950b41 8187026: Remove intermittent key from java/net/httpclient/http2/BasicTest.java
Reviewed-by: chegar
2017-09-21 19:48:32 -07:00
Weijun Wang
b380f1b6cc 8187786: Many javax/net/ssl/DTLS tests failing
Reviewed-by: xuelei
2017-09-22 09:49:08 +08:00
Mandy Chung
21c1304c15 8187449: jdeps fails when an upgradeable module is upgraded with an automatic module
Reviewed-by: lancea, psandoz
2017-09-21 13:55:44 -07:00
Bradford Wetmore
d1ad673f55 8187788: Disasble javax/net tests until JDK-8187786 is resolved
Reviewed-by: darcy
2017-09-21 12:13:25 -07:00
Jan Lahoda
0fcaa36105 8184739: Incorrect end position of PackageTree
Fixing end position of PackageTree.

Reviewed-by: jjg
2017-09-21 17:47:34 +02:00
Hannes Wallnöfer
9ddbf8fde2 8186646: Nashorn: "duplicate code" assertion when binding a vararg function that just passes arguments along
Reviewed-by: sundar, jlaskey
2017-09-21 14:40:50 +02:00
Weijun Wang
1e6e9203c4 8186884: Test native KDC, Java krb5 lib, and native krb5 lib in one test
Reviewed-by: asmotrak
2017-09-21 16:29:54 +08:00
Weijun Wang
fe19274488 8186831: Kerberos ignores PA-DATA with a non-null s2kparams
Reviewed-by: xuelei
2017-09-21 16:29:45 +08:00
Weijun Wang
2bb3b82709 8148371: Remove policytool
Reviewed-by: erikj, alanb, mullan
2017-09-21 16:29:18 +08:00
Xueming Shen
02b9452ed3 8186464: ZipFile cannot read some InfoZip ZIP64 zip files
Reviewed-by: martin
2017-09-20 16:41:54 -07:00
Roland Westrelin
844e594fec 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-09-27 16:17:47 +02:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Coleen Phillimore
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Igor Ignatyev
8afe0e3b01 8188117: jdk/test/lib/FileInstaller doesn't work for directories
Reviewed-by: mseledtsov, sspitsyn
2017-09-20 20:53:22 -07:00
Erik Joelsson
c111277919 8187642: The consolidated repo test makefile disables CONCURRENCY setting to jtreg
Reviewed-by: darcy
2017-09-18 18:15:05 -07:00
Joe Darcy
a77b330635 8187636: Mark MetaCallback.java as failing intermittently
Reviewed-by: serb, prr
2017-09-18 13:33:29 -07:00
Igor Ignatyev
5b3ed372a9 Merge 2017-10-03 06:48:40 +02:00
Ioi Lam
5cfa508043 Merge 2017-10-03 03:30:11 +00:00
David Holmes
1590eaa3b8 8188246: Add test/hotspot/jtreg/gc/logging/TestPrintReferences.java to ProblemList.txt
Reviewed-by: dcubed
2017-10-02 21:58:22 -04:00
Ioi Lam
a2d1045eef 8187979: Clean up info printing at CDS dump time
Reviewed-by: jiangli, ccheung
2017-10-02 16:00:42 -07:00
David Holmes
fd93a04684 8185062: Set AssumeMP to true and deprecate the flag
Reviewed-by: shade, dcubed, kvn
2017-10-02 18:56:30 -04:00
Ekaterina Pavlova
853f26ed15 8185134: [Graal] Introduce vm.graal predicate and tag tests which are not applicable for Graal
Reviewed-by: kvn, dnsimon
2017-10-02 14:31:34 -07:00
Serguei Spitsyn
87a8a4301f Merge 2017-09-30 01:38:57 +00:00
Yasumasa Suenaga
12a11f2c65 8175816: SA: HSDB: Compute Liveness results in java.lang.IndexOutOfBoundsException
Reviewed-by: sspitsyn, jgeorge
2017-09-29 20:57:48 +09:00
Calvin Cheung
7a446900da 8187884: [TESTBUG] compiler/classUnloading/anonymousClass/TestAnonymousClassUnloading failed with ClassNotFoundException
Reviewed-by: kvn
2017-09-25 14:23:18 -07:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Erik Joelsson
467119a352 8187445: Forest Consolidation: Make tests work
Reviewed-by: darcy, ihse
2017-09-12 19:03:59 +02:00
Erik Joelsson
72c4ec5462 8187444: Forest Consolidation: Make build work
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: darcy, ihse
2017-09-12 19:03:56 +02:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Serguei Spitsyn
4073e46a77 Merge 2017-10-17 23:05:35 +00:00
Ioi Lam
a7a78668a0 Merge 2017-10-17 22:02:10 +00:00
Serguei Spitsyn
93a32c3900 Merge 2017-10-17 21:50:22 +00:00
Ioi Lam
a58615e3f8 8176827: Test can't find libXext.so
Removed references to classes that belong to desktop modules.

Reviewed-by: ccheung, dholmes
2017-10-17 14:06:36 -07:00
Igor Veresov
65ed45cd3d 8189409: [AOT] Fix paths in aot test scripts
Reviewed-by: kvn, gtriantafill
2017-10-17 13:52:52 -07:00
Jini George
e8fe842a41 8184042: several serviceability/sa tests timed out on MacOS X
Restore the ptrace attach argument to PT_ATTACH from PT_ATTACHEXC

Reviewed-by: dholmes, sspitsyn, dcubed, poonam, dsamersoff
2017-10-16 23:23:27 -07:00
Jesper Wilhelmsson
843dc3a8ea Merge 2017-10-16 17:03:56 +02:00
Srikanth Adayapalam
b9d8d3bd9c 8184989: Incorrect class file created when passing lambda in inner class constructor and outer is subclass
Reviewed-by: mcimadamore
2017-10-16 14:30:37 +05:30
Alan Bateman
e4bea042c5 8189264: (sl) ServiceLoader does not wrap Errors thrown by provider classes when running with a security manager
Reviewed-by: mchung
2017-10-14 09:51:25 +01:00
Doug Lea
cae8353ec8 8188575: Miscellaneous changes imported from jsr166 CVS 2017-10
Reviewed-by: martin, psandoz
2017-10-13 18:34:37 -07:00
Doug Lea
dc895e3911 8187941: Add StampedLock stamp inspection methods
Reviewed-by: martin, psandoz
2017-10-13 18:29:21 -07:00
Doug Lea
f8ae408aa9 8188047: Add SplittableRandom.nextBytes
Reviewed-by: martin, psandoz
2017-10-13 18:19:18 -07:00
Doug Lea
925bc58717 8188853: java/util/concurrent/ExecutorService/Invoke.java Assertion failure
Reviewed-by: martin, psandoz, dholmes
2017-10-13 18:12:54 -07:00
Doug Lea
10dded5f7f 8188900: ConcurrentLinkedDeque linearizability
Reviewed-by: martin, psandoz
2017-10-13 18:07:47 -07:00
Jesper Wilhelmsson
947fc09db0 Merge 2017-10-14 00:19:29 +02:00
Hannes Wallnöfer
61995f03d4 8027302: Identifiers containing unicode escapes are not recognized as reserved words
Reviewed-by: jlaskey, sundar
2017-10-13 17:25:12 +02:00
Alan Bateman
2abb1c7d7f 8186738: (sl) ServiceLoader::stream doesn't update cache
Reviewed-by: mchung
2017-10-13 14:17:10 +01:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Erik Joelsson
e4801e2fe1 8189095: Import JMC from artifactory using Jib and main makefiles
Reviewed-by: ihse
2017-10-13 13:42:10 +02:00
Claes Redestad
81b7f75837 8188869: jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Reviewed-by: sherman, alanb
2017-10-12 16:00:29 +02:00
Christian Tornqvist
269a6e79b5 8189115: Pass JIB_DATA_DIR to jtreg harness
Reviewed-by: erikj
2017-10-11 16:14:47 -04:00
Jonathan Gibbons
f386e419c3 8187521: In some corner cases the javadoc tool can reuse id attribute
Reviewed-by: bpatel, ksrini
2017-10-10 17:02:52 -07:00
Brian Burkhalter
b890c3ce83 8147615: (fc) FileChannelImpl has no finalizer
Add a cleaner to close parent-less FileChannels

Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Maurizio Cimadamore
305e51848a 8169345: javac crash when local from enclosing context is captured multiple times
Captured variables imported from multiple enclosing scopes are not handled correctly

Reviewed-by: vromero
2017-10-09 13:03:18 +01:00
Frank Yuan
e92da5e381 8187700: SetAuthenticator tests should handle the proxy port
Reviewed-by: dfuchs
2017-10-09 17:37:15 +08:00
Jan Lahoda
a36938e082 8188225: AST could be improved in presence of var types
Adding a better start pos for vars; always adding a synthetic type tree to vars.

Reviewed-by: mcimadamore
2017-10-06 17:18:03 +02:00
Igor Ignatyev
9f006db9f8 8187020: AOT tests should not fail if devkit dependency isn't resolved
Reviewed-by: kvn
2017-09-01 15:28:54 -07:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07:00
Harold Seigel
87e30fd801 8186092: Unnecessary loader constraints produced when there are multiple defaults
Do not check loader constraints for overpass methods

Reviewed-by: dholmes, acorn
2017-09-28 13:01:24 -04:00
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02:00
Calvin Cheung
2a93b38ee9 8187124: [TESTBUG] TestInterpreterMethodEntries.java: Unable to create shared archive file
Added the current timestamp into the shared archive file name

Reviewed-by: mseledtsov, gtriantafill
2017-09-26 19:31:06 -07:00
Harold Seigel
2781cf9c38 8187436: -Xbootclasspath/a causes sanity check assertion with exploded build
Fixed asserts to work properly with exploded build

Reviewed-by: alanb, jiangli, gtriantafill
2017-09-26 08:58:04 -04:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Kumar Srinivasan
3733761695 8157000: Do not generate javadoc for overridden method with no spec change
Reviewed-by: jjg
2017-10-19 20:27:47 -07:00
Phil Race
679360ec5a Merge 2017-10-19 10:54:40 -07:00
Jan Lahoda
d84d8f1cc5 8188035: JavaFileManager.listLocationsForModules does not always reflect values set through StandardJavaFileManager.setLocationForModule
Prepending explictely set module locations in listLocationsForModules.

Reviewed-by: jjg
2017-10-19 10:59:02 +02:00
Manajit Halder
a1d4869f84 8163265: [macosx] numpad 0 instead of VK_0
Reviewed-by: serb, azvegint
2017-10-19 13:52:37 +05:30
John Jiang
26aeea1790 8189603: ProblemList sun/security/pkcs11/KeyStore/SecretKeysBasic.sh on Linux platform
Put test sun/security/pkcs11/KeyStore/SecretKeysBasic.sh to ProblemList on Linux platform due to JDK-8186098

Reviewed-by: xuelei
2017-10-19 14:49:20 +08:00
Sergey Bylokhov
4ccdfd542e 8075255: Metal L&F has dependency on the Windows L&F
Reviewed-by: psadhukhan
2017-10-18 22:06:24 -07:00
Phil Race
8f0f21d997 Merge 2017-10-17 14:33:32 -07:00
Mandy Chung
9ebc72545b 8189202: (jdeps) Need jdeps output format easy for jlink --add-modules to use
Reviewed-by: sundar
2017-10-17 10:32:01 -07:00
Semyon Sadetsky
12cb440799 8180821: [macosx]com/apple/laf/ScreenMenu/ScreenMenuMemoryLeakTest.java: The menu item should have been GC-ed
Reviewed-by: prr, psadhukhan
2017-10-16 08:06:56 -07:00
Krishna Addepalli
a9808680a1 6714836: JRootPane.getMaximumSize() returns a width of 0
Reviewed-by: psadhukhan, serb
2017-10-12 10:40:45 +05:30
Phil Race
a9cb8eb350 8080084: java/awt/Graphics2D/DrawString/DrawStringCrash.java fails with G1 GC
Reviewed-by: ssadetsky, pnarayanan
2017-10-10 12:15:25 -07:00
Alexandre Iline
e83a741be2 8188824: sanity/client/SwingSet/src/ProgressBarDemoTest: Failed with NullPointerException
Reviewed-by: ssadetsky
2017-10-10 09:10:43 -07:00
Phil Race
82040f1fb3 Merge 2017-10-09 11:38:46 -07:00
Dmitry Markov
513abd0c08 8155197: Focus transition issue
Reviewed-by: serb, ssadetsky, aivanov
2017-10-07 15:58:45 +01:00
Alexandre Iline
c640ec68f7 8188779: Synchronize test/jdk/sanity/client/lib/jemmy with code-tools/jemmy/v2
Reviewed-by: serb, ssadetsky
2017-10-05 13:29:34 -07:00
Shashidhara Veerabhadraiah
0e982813e1 8004029: [macosx] The long Tab titles are not clipped with dots at the end
Reviewed-by: serb, psadhukhan
2017-10-04 15:10:08 +05:30
Phil Race
fd49cc9ce4 Merge 2017-09-28 11:27:56 -07:00
Phil Race
1c89e3aa56 Merge 2017-09-28 09:13:27 -07:00
Pankaj Bansal
b8ca97f45c 8154468: [TEST_BUG] java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java
Reviewed-by: serb, ssadetsky
2017-09-25 16:12:49 +05:30
Pankaj Bansal
6b7c509a0d 8081311: [TEST_BUG] java/awt/ComponentOrientation/WindowTest.java does use deprecated applyResourceBundle
Reviewed-by: serb, ssadetsky
2017-09-25 16:06:13 +05:30
Pankaj Bansal
94a925b4f3 6857809: [TEST_BUG] java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java fails in jdk7 b64 pit build
Co-authored-by: Dmitry Cherepanov <dcherepanov@azul.com>
Reviewed-by: serb, ssadetsky
2017-09-25 15:57:43 +05:30
Sergey Bylokhov
e5566ace66 8175968: The javax.swing.filechooser.FileSystemView constructor consumes memory by adding a PropertyChangeListener that is never removed
Reviewed-by: azvegint
2017-09-22 17:36:55 -07:00
George Triantafillou
d0ec3208a4 8149790: NegativeArraySizeException with hprof
Reviewed-by: lfoltan, ctornqvi, hseigel, dcubed
2017-08-16 14:49:18 -04:00
Christian Tornqvist
1fc9a5bca7 8184772: Make it possible to pass arguments only to the Java running the tests when running jtreg through make
Reviewed-by: gtriantafill, iignatyev
2017-08-15 16:26:30 -04:00
Jiangli Zhou
263d11de6d 8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive
Shared class' constant pool resolved_references array is cached.

Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: coleenp, iklam, tschatzl
2017-08-14 14:05:26 -04:00
Igor Ignatyev
f6b2ad32f7 8174202: jtreg AOT tests should not assume library extension of .so
Reviewed-by: kvn
2017-08-11 16:06:55 -07:00
Harold Seigel
abea66332b 8177741: Fix hotspot tests to use --patch-module instead of -Xmodule
Change InMemoryJavaCompiler.compile() to accept --patch-module instead of -Xmodule, and then change appropriate tests.

Reviewed-by: coleenp, gtriantafill
2017-08-10 11:11:52 -04:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Goetz Lindenmaier
f399078a51 8185436: jtreg: introduce @requires property to disable cds tests
Reviewed-by: jiangli, mseledtsov, iklam
2017-08-01 16:03:06 +02:00
Ioi Lam
8cb80d6c43 8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure.

Reviewed-by: coleenp, jiangli, mseledtsov
2017-08-02 18:07:02 -07:00
Igor Ignatyev
d8e0821f0b Merge 2017-08-02 15:59:32 +00:00
Igor Ignatyev
ddbb88523f 8185536: @key aot should be replaced w/ @requires vm.aot
Reviewed-by: kvn, goetz
2017-08-02 08:52:14 -07:00
Vladimir Kozlov
9bef3e632b Merge 2017-08-01 13:03:20 -07:00
Andrey Nazarov
d362d3fe3a 8184961: jdk.test.lib.util.FileUtils.deleteFileWithRetry0 should wait for absence of a file
Reviewed-by: bpb
2017-07-25 17:04:46 -07:00
John Jiang
618b1dbbfb 8177017: com/oracle/security/ucrypto/TestAES.java fails intermittently
Skips CFB128 related cases on Solaris pre-11.3 versions.

Reviewed-by: valeriep
2017-07-17 23:11:46 -07:00
Valerie Peng
b3f1165f7d 8181048: Refactor existing providers to refer to the same constants for default values for key length
Reviewed-by: mullan, ahgross
2017-07-13 20:41:59 +00:00
Weijun Wang
7cf3c0ff14 8182879: Add warnings to keytool when using JKS and JCEKS
Reviewed-by: vinnie, ahgross, mullan
2017-07-12 10:55:40 +08:00
Volker Simonis
f5d31f8a92 8183534: [TEST] Make detection of compilation mode more robust
Reviewed-by: clanger, stuefe
2017-07-06 16:03:54 +02:00
Vladimir Kozlov
b3b17f73e2 Merge 2017-07-05 18:23:35 -07:00
Igor Ignatyev
d9cd3471bc 8182154: merge jdk.testlibrary.Platform and jdk.test.lib.Platform
Reviewed-by: sspitsyn, plevart
2017-06-27 08:43:15 -07:00
Jan Lahoda
7c3c83fb55 8181897: JDK 9 change to symlink handling affects SourceFile attributes
Using user provided path in toUri().

Reviewed-by: jjg
2017-06-26 17:00:45 +02:00
Hannes Wallnöfer
5c7381d739 8068513: Adding elements to a javascript 'object' (a map) is slow
Reviewed-by: jlaskey, sundar
2017-10-16 18:27:07 +02:00
Jan Lahoda
f66b1c7a8b 8186694: JShell: speed-up compilation by reusing compiler instances
Generalizing ReusableContext and using it in JShell to speed up processing.

Reviewed-by: mcimadamore, rfield
2017-09-01 14:04:20 +02:00
Lana Steuck
57b8a62f93 Merge 2017-06-23 23:18:26 +00:00
Alan Bateman
d45f906ec4 8181087: Module system implementation refresh (6/2017)
Reviewed-by: sspitsyn, hseigel
2017-06-16 09:20:15 -07:00
Ekaterina Pavlova
d222800a8b 8181820: jdk/test/lib/Platform should not depend on jdk/test/lib/Utils
Reviewed-by: alanb, chegar
2017-06-12 12:39:26 -07:00
Jesper Wilhelmsson
1edbd267cf Merge 2017-06-08 19:18:02 +02:00
Igor Ignatyev
d577ab1f77 8181335: remove packageless CompilerUtils
Reviewed-by: alanb
2017-06-06 19:53:35 -07:00
Rachel Protacio
c34ae22077 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging
Converted -XX:+PrintSharedSpaces to -Xlog:cds=info

Reviewed-by: iklam, jiangli, mseledtsov
2017-06-05 13:14:04 -04:00
Sharath Ballal
5a215fce15 6760477: Update SA to include stack traces in the heap dump
Update SA to include HPROF_TRACE and HPROF_FRAME records in the heap dump

Reviewed-by: dsamersoff
2017-06-02 12:29:08 +05:30
Ekaterina Pavlova
ddaeb2dd0e 8181124: Get rid of compiler.testlibrary.rtm.predicate
Reviewed-by: kvn
2017-06-01 17:34:34 -07:00
Lana Steuck
c532946b18 Merge 2017-05-31 17:41:14 +00:00
Igor Ignatyev
1ccebabd11 8180805: move RandomFactory to the top level testlibrary
Reviewed-by: bpb, rriggs
2017-05-30 21:14:02 -07:00
Igor Ignatyev
88c4940eeb 8180888: move jdk.testlibrary.JarUtils to the top level testlibrary
Reviewed-by: weijun
2017-05-30 21:07:14 -07:00
Igor Ignatyev
6d94dde813 8180887: move FileUtils to top level testlibrary
Reviewed-by: psandoz
2017-05-30 14:56:43 -07:00
Jesper Wilhelmsson
28e7f4d892 Merge 2017-05-29 20:48:08 +02:00
Igor Ignatyev
88ef6ea270 8180399: move jdk.testlibrary.LockFreeLogManager to the top level test library
Reviewed-by: psandoz, mchung
2017-05-24 15:21:14 -07:00