154 Commits

Author SHA1 Message Date
Mandy Chung
f2c8c8aa02 8188321: (jdeps) help message should say "requires transitive" rather than "requires public"
Reviewed-by: sundar
2017-10-03 19:27:07 -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
2ea646cc20 8186226: Improve ConcurrentSkipListMap performance on weak memory model machines
Reviewed-by: martin, psandoz
2017-10-03 13:50:09 -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
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
Doug Lea
dfce305868 8188241: Improve numerical code in StampedLock example code
Reviewed-by: martin, psandoz, darcy
2017-10-03 13:32:04 -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
Athijegannathan Sundararajan
b0e9c95b72 8188082: autoimports.js sample is broken
Reviewed-by: hannesw, jlaskey
2017-09-28 18:30:35 +05:30
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
Athijegannathan Sundararajan
fc05af8f41 8180274: Fix links in nashorn documentation
Reviewed-by: hannesw
2017-09-29 16:37:36 +05:30
Goetz Lindenmaier
a0218352fc 8188135: Fix VS 2010 build after "8187631: Refactor FileDescriptor close implementation"
Reviewed-by: dholmes, alanb
2017-09-29 10:00:58 +02:00
Mandy Chung
24d81d3f2e 6373396: (cl spec) clarify spec of ClassLoader.getPackages() about run-time package
Reviewed-by: psandoz
2017-09-27 12:44:06 -07:00
Claes Redestad
0355224df8 8187826: Avoid using reflection to bootstrap NamedFunctions
Reviewed-by: psandoz
2017-09-27 17:56:00 +02: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
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
Athijegannathan Sundararajan
06e15f6982 8187965: dynalink samples under $jdk10/src/sample/nashorn/dynalink are broken
Reviewed-by: jlaskey, hannesw
2017-09-26 20:29:13 +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
Vyom Tewari
02ba926da2 8159526: Deprivilege jdk.httpserver
Reviewed-by: chegar, alanb, michaelm, mchung
2017-09-26 15:08:56 +05:30
Prasanta Sadhukhan
ebf03d174d 8088132: [Swing, singleThread] ClassCastException in nested event loop when showing multiple message dialogs in SwingNode
Reviewed-by: serb
2017-09-26 10:46:23 +05:30
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
Srinivas Dama
dca8480e87 8186011: Fix samples/java_completion.js and samples/disassemble.js
Replaced continuation property to method as API changed and removed invalid test in jdk9 modular system

Reviewed-by: hannesw, sundar
2017-09-26 00:37:37 +05:30
Artem Smotrakov
0b924bfad1 8178274: Java_sun_lwawt_macosx_NSEvent_nsToJavaKeyInfo() overreads jchar variable
Reviewed-by: ssadetsky
2017-09-22 18:57:05 -07:00
Sergey Bylokhov
1b2b0e8cb9 6238123: Typos at Serialized Form javadoc for java.awt.Polygon
Reviewed-by: prr, pnarayanan
2017-09-22 18:20:18 -07: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
8ea9b74ec1 8186967: Unused methods in MotifGraphicsUtils can be removed
Reviewed-by: azvegint
2017-09-22 17:09:56 -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
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -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
de9651c66a 8181792: nashorn samples/exec.js has some incorrect examples
Reviewed-by: sundar, hannesw
2017-09-22 12:00:41 +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
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
Roger Riggs
cc7c5f202b Merge 2017-09-21 13:40:18 -04:00