Commit Graph

1860 Commits

Author SHA1 Message Date
Andreas Lundblad
e449ba161c 8027999: Poorly worded error message when attempting to assign to this
Changed the error message when trying to assign to this.

Reviewed-by: jjg
2016-03-23 13:39:15 +01:00
Mandy Chung
90d403e786 8152503: tools/javac/completionDeps/DepsAndAnno.java fails after jigsaw m3
Reviewed-by: darcy
2016-03-22 19:34:47 -07:00
Mandy Chung
c1613de147 8152504: Problem list tools/jdeps/modules/GenModuleInfo.java until JDK-8152502 is resolved
Reviewed-by: darcy
2016-03-22 19:34:04 -07:00
Chris Hegarty
5a1b51cfbd Merge 2016-03-22 10:43:19 +00:00
Jonathan Gibbons
6824ba06b2 8152048: change langtools tests to use ProblemList instead of @ignore
Reviewed-by: darcy
2016-03-17 12:40:04 -07:00
Alan Bateman
001ebb3a72 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
Oleg Barbashov
7e7b088683 8071982: Update tests for revamped Doclet API
8071984: Update test cases for repeating and type annotations output in javadoc

Reviewed-by: ksrini, bpatel
2016-03-14 15:04:57 -07:00
Robert Field
19e4c51157 8080069: JShell: Support for corralled classes
Reviewed-by: jlahoda
2016-03-10 14:47:14 -08:00
Aleksey Shipilev
0a352526f3 8151516: test/tools/javac/TestIndyStringConcat depends on runtime JDK details
Reviewed-by: mcimadamore
2016-03-09 18:31:49 +03:00
Aleksey Shipilev
a0224437fc 8151223: String concatenation fails with implicit toString() on package-private class
Reviewed-by: mcimadamore, forax
2016-03-09 12:52:14 +03:00
Robert Field
51ea08084f 8148316: jshell tool: Configurable output format
8148317: jshell tool: unify commands into /set
8149524: JShell: CompletenessAnalysis fails on class Case<E1 extends Enum<E1>, E2 extends Enum<E2>, E3 extends Enum<E3>> {}

Reviewed-by: jlahoda
2016-03-08 11:53:35 -08:00
Vicente Romero
306361b292 8139474: -release 7 -verbose causes Javac exception
Reviewed-by: jjg
2016-03-07 13:45:38 -05:00
Srikanth Adayapalam
3a3ef10033 8148930: Incorrect erasure of exceptions in override-equivalent dual interface impl
Before computing intersection of thrown types, javac must make sure type variables come from the same set.

Reviewed-by: mcimadamore
2016-03-07 18:49:02 +05:30
Kumar Srinivasan
c57335f395 8150000: Javadoc omits package listing for type
Reviewed-by: jjg
2016-03-05 07:53:12 -08:00
Kumar Srinivasan
daa39fa665 8150130: NPE building javafx docs with new doclet
Reviewed-by: jjg
2016-03-03 14:54:44 -08:00
Srikanth Adayapalam
460020d183 8151134: Fix bug id in test for JDK-8151018
Reviewed-by: jlahoda
2016-03-03 15:07:29 +05:30
Srikanth Adayapalam
433d2a7dbb 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
Reviewed-by: mcimadamore
2016-03-03 06:10:58 +05:30
Kumar Srinivasan
012ed935ee 8150895: Fix bug id in test for JDK-8149842
Reviewed-by: bpatel
2016-03-02 15:00:22 -08:00
Bhavesh Patel
5b14d73a63 8148985: javadoc "FRAMES" and "NO FRAMES" links not working correctly
Reviewed-by: jjg, ksrini
2016-03-02 21:27:01 +00:00
Andreas Lundblad
c685f3567f 8061320: Sjavac should prevent using source dir as dest dir
Sjavac now makes sure that src and dst dirs do not overlap.

Reviewed-by: jlahoda
2016-03-02 13:12:24 +01:00
Jan Lahoda
972e0af193 8150874: Disable the ComputeFQNsTest.testSuspendIndexing test
Reviewed-by: rfield
2016-02-29 19:52:51 +01:00
Andreas Lundblad
49850dd82f 8147569: Error messages from sjavac server does not always get relayed back to client
Refactored how logging works in sjavac.

Reviewed-by: jlahoda
2016-02-29 13:24:01 +01:00
Jan Lahoda
c63980511c 8131027: JShell API/tool: suggest imports for a class
Adding two new actions to JShell: add imports and create variable.

Reviewed-by: rfield
2016-02-29 11:54:06 +01:00
Jonathan Gibbons
be76f3e83b 8150475: -sourcepath / crashes javac
Reviewed-by: darcy, vromero
2016-02-23 19:17:54 -08:00
Joe Darcy
68832ef0f6 8150427: Demote ToolReloadTest.java and mark as intermittently failing
Reviewed-by: jjg
2016-02-23 11:17:02 -08:00
Vicente Romero
0698afcea9 8149600: javac, remove unused options, step 2
Reviewed-by: jjg, mcimadamore
2016-02-22 16:17:25 -08:00
Kumar Srinivasan
7521e9ec77 8150096: Cleanup synthetic JCCompilationUnit for html files
Reviewed-by: jjg
2016-02-18 12:48:11 -08:00
Kumar Srinivasan
33dcb43fe9 8149842: javadoc incorrectly tries to get the documentation for inherited methods
Reviewed-by: jjg
2016-02-17 11:19:07 -08:00
Aleksey Shipilev
512b3becc6 8149835: StringConcatFactory should emit classes with the same package as the host class
Reviewed-by: psandoz, alanb, mchung
2016-02-17 19:29:25 +03:00
Joe Darcy
f14d43a22b 6469561: javadoc for annotation types should not display "public abstract" modifiers on methods
6469562: Use compact notation to display annotation values

Reviewed-by: jjg
2016-02-15 17:17:58 -08:00
Robert Field
50e679eda2 8146138: jshell tool: add /help <command>
8147495: jshell tool: correctly handle arguments on /seteditor command
8147886: jshell tool: commands don't allow reference to start-up or explicit id of dropped/failed snippets
8147887: jshell tool: /list start -- fails
8147898: jshell tool: /reload quiet -- should quiet echo

Reviewed-by: jlahoda
2016-02-12 10:51:36 -08:00
Vicente Romero
286b0caa6c 8148808: javac, remove unused options, step 1
Reviewed-by: mcimadamore, jjg
2016-02-10 15:11:40 -08:00
Kumar Srinivasan
6c3f2df4bf 8148400: Decrease the regression test heap
Reviewed-by: jjg
2016-02-10 07:21:32 -08:00
Liam Miller-Cushon
1986f47320 8149160: use StringJoiner in sjavac option handling
Concatenation of strings now uses StringJoiner.

Reviewed-by: alundblad, jjg
2016-02-10 14:22:50 +01:00
Jonathan Gibbons
94a0d8f5f8 8147801: java.nio.file.ClosedFileSystemException when using Javadoc API's in JDK9
Reviewed-by: jlahoda
2016-02-09 14:07:23 -08:00
Robert Field
7b00f0de81 8080357: JShell: Only unqualified unresolved references should be corralled
8081431: JShell: Dropping import should update dependencies

Reviewed-by: jlahoda
2016-02-02 16:11:09 -08:00
Kumar Srinivasan
cf406debb4 8035473: [javadoc] Revamp the existing Doclet APIs
8146529: Update the new Doclet API
8146427: "-nohelp" option issue
8146475: "-helpfile" option issue

Reviewed-by: alanb, bpatel, ihse, jjg, jlahoda, mchung, ogb, vromero
2015-11-28 18:52:17 -08:00
Kumar Srinivasan
e2ab4ff25d 8148399: Increase heap for langtools regression tests
Reviewed-by: jjg
2016-01-27 22:23:21 -08:00
Aleksey Shipilev
fca18168e4 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:42:46 +03:00
Maurizio Cimadamore
8aa9bf5cc6 8148213: Regression: nested unchecked call does not trigger erasure of return type
FreeTypeListener was deferred too much and caused loss of unchecked warning while in the middle of overload

Reviewed-by: vromero
2016-01-28 14:06:27 +00:00
Srikanth Adayapalam
3cd2c2d034 8148432: tools/javac/annotations/typeAnnotations/classfile/NestedLambdasCastedTest.java fails on all platforms
Reviewed-by: mcimadamore
2016-01-28 17:41:52 +05:30
Srikanth Adayapalam
a7a324e4cb 8144168: No type annotations generated for nested lambdas
Reviewed-by: jlahoda
2016-01-28 09:09:34 +05:30
Maurizio Cimadamore
c7c54cf62a 8148128: Regression: array constructor references marked as inexact
Missing check in constructor reference stuckness check

Reviewed-by: vromero
2016-01-26 12:11:55 +00:00
Alan Bateman
5e6fc23a73 8148147: Sync up @modules from jigsaw/jake
Reviewed-by: chegar, mchung
2016-01-25 19:01:32 +00:00
Srikanth Adayapalam
78651a213e 8145987: Assertion failure when compiling stream with type annotation
Reviewed-by: jlahoda
2016-01-25 15:49:50 +05:30
Andreas Lundblad
5cd3c7cac8 8056989: Sjavac --server option should be optional
8147568: NullPointerException in option parsing

Made --server option optional (and background=true implied)

Reviewed-by: jlahoda, erikj
2016-01-24 11:32:38 +01:00
Jan Lahoda
efa7c6652a 8143388: Compiler throws NullPointerException during compilation
Avoid putting "super" into a local variable while desugaring postfix operators.

Reviewed-by: mcimadamore
2016-01-22 21:00:26 +01:00
Jonathan Gibbons
055516f9c8 8147995: 8147930 uses incorrect whitespace in langtools/test/Makefile
Reviewed-by: mikael, mchung
2016-01-21 15:55:17 -08:00
Erik Joelsson
b7a0ca25cd 8147930: Langtools test Makefile still requires special make in Cygwin
Reviewed-by: ihse
2016-01-21 15:11:53 +01:00
Iris Clark
ac8a084ede 8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea
2016-01-19 20:32:06 -08:00