Commit Graph

330 Commits

Author SHA1 Message Date
Phil Race
82040f1fb3 Merge 2017-10-09 11:38:46 -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
Dmitry Markov
513abd0c08 8155197: Focus transition issue
Reviewed-by: serb, ssadetsky, aivanov
2017-10-07 15:58:45 +01: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
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
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
Kumar Srinivasan
da077b2e26 8186703: javadoc needs a test to verify member hiding
Reviewed-by: jjg
2017-10-04 10:44:21 -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
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
Phil Race
fd49cc9ce4 Merge 2017-09-28 11:27:56 -07:00
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
Phil Race
1c89e3aa56 Merge 2017-09-28 09:13:27 -07:00
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
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
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
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
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
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
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