Srikanth Adayapalam
d6090047be
8166420: Confusing error message when reading bad module declaration
...
Reviewed-by: jlahoda
2017-02-06 18:14:51 +05:30
Alan Bateman
22e233b2e9
8169069: Module system implementation refresh (11/2016)
...
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: mcimadamore, jjg, mchung, anazarov
2016-12-01 09:02:42 +00:00
Jonathan Gibbons
31cdc1ad3d
8059976: Convert JavacFileManager to use java.nio.file internally
...
Reviewed-by: jlahoda
2015-12-07 14:02:55 -08:00
Jan Lahoda
9cd68d0633
8139751: Javac crash with -XDallowStringFolding=false
...
When string folding is disabled, need to keep the original expression.
Reviewed-by: mcimadamore
2015-10-19 12:41:45 +02:00
Maurizio Cimadamore
5f1384e8b4
8134007: Improve string folding
...
Generalize string folding algorithm to detect mulitple groups of foldable constants within an concat expression
Reviewed-by: jlahoda
2015-08-31 15:50:20 +01:00
Maurizio Cimadamore
34ea5286e4
8081769: Redundant error message on bad usage of 'class' literal
...
Javac should skip to next token when an erroneous ident is found in term3rest
Reviewed-by: jlahoda
2015-07-30 13:20:01 +01:00
Alexander Kulyakhtin
b6262441ad
8076543: Add @modules as needed to the langtools tests
...
Reviewed-by: jjg, shurailine
2015-05-21 11:41:04 -07:00
Robert Field
6c9d4861a9
8068488: Facilitate extension of the javac parser -- missing modifier
...
Reviewed-by: jjg
2015-01-16 20:03:30 -08:00
Jan Lahoda
cf476e9302
8066902: JavacParserTest fails on Windows
...
Normalizing line endings to '\n'.
Reviewed-by: jjg, ksrini
2014-12-08 21:26:04 +01:00
Jan Lahoda
113babff27
8065753: javac crashing on a html-like file
...
Avoiding special-case in error recovery for bad token on position 0.
Reviewed-by: jjg
2014-12-08 11:50:19 +01:00
Jonathan Gibbons
a75d2dbd39
8062676: Tests which leak lots of file managers should be fixed (group 2)
...
Reviewed-by: darcy
2014-11-05 19:12:45 -08:00
Dan Smith
d9e857f304
8034980: Fix @summary tag of test/tools/javac/parser/T4910483.java
...
Reviewed-by: vromero
2014-03-17 14:03:59 -06:00
Jan Lahoda
74250736aa
8031383: Error recovery in JavacParser could be improved
...
Improving error recovery in JavacParser by avoiding artificial nextToken in JavacParser.reportSyntaxError.
Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: jjg, jfranck
2014-02-28 20:25:24 +01:00
Dan Smith
55801d06ff
4910483: Javadoc renders the string ".*\\.pdf" as ".\*\.pdf"
...
Adjust timing of printing "\\" in the comment scanner
Reviewed-by: jjg
2014-02-12 12:31:30 -07:00
Jan Lahoda
4724c454cd
8030091: Request to update error messages from javac for negative varargs test cases
...
Introducing a new error message for vararg parameter not being the last parameter, improving error message for unexpected character after a parameter.
Reviewed-by: jjg, sogoel
2014-02-02 12:12:01 +01:00
Jan Lahoda
0f0e04b6a0
8028235: Better error recovery for parsing 'void' as a type of the lambda parameter
...
Handle "void" as a primitive type in JavacParser.analyzeParens.
Reviewed-by: vromero
2013-12-17 10:58:26 +01:00
Eric McCorkle
17f5808828
8012722: Single comma in array initializer should parse
...
Annotations of the form @Foo({,}) should parse
Reviewed-by: jjg
2013-06-24 22:03:57 -04:00
Maurizio Cimadamore
372fabc476
8014643: Parser regression in JDK 8 when compiling super.x
...
Fixed latent bug in JavacParser.analyzeParens()
Reviewed-by: jjg, vromero
2013-05-24 15:26:57 +01:00
Steve Sides
12a8d12863
7191449: update copyright year to match last edit in jdk8 langtools repository
...
Reviewed-by: jjh
2012-08-15 13:48:46 -07:00
Kumar Srinivasan
4525667c73
7160072: (javac) JavacParserTests needs cleanup
...
Reviewed-by: jjg
2012-06-11 15:33:28 -07:00
Jan Lahoda
9feb7f3e15
7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
...
Reviewed-by: jjg
2012-05-10 12:32:58 -07:00
Jan Lahoda
0f0e273e0d
7156633: (javac) incorrect errors when parsing variable declaration in block statements
...
Reviewed-by: jjg
2012-04-09 14:31:18 -07:00
Maurizio Cimadamore
410c51d5f4
7157165: Regression: code with disjunctive type crashes javac
...
Bad recovery logic in parser code that checks for generic cast
Reviewed-by: jjg
2012-03-30 19:19:50 +01:00
Jonathan Gibbons
a3f0f7b59c
4881269: improve diagnostic for ill-formed tokens
...
Reviewed-by: mcimadamore
2012-01-03 11:37:00 -08:00
Kumar Srinivasan
d7cfaf1336
7119487: JavacParserTest.java test fails on Windows platforms
...
Reviewed-by: jjg
2011-12-10 17:44:46 -08:00
Matherey Nunez
2b9e2e9038
7086015: fix test/tools/javac/parser/netbeans/JavacParserTest.java
...
Reviewed-by: ksrini, jjg
2011-12-07 10:47:46 -08:00
Jan Lahoda
6f70d425f2
7073631: (javac) javac parser improvements for error position reporting
...
JavacParser improvements for NetBeans, improved by LangTools.
Reviewed-by: mcimadamore, jjg
2011-09-01 09:14:25 -07:00
Kumar Srinivasan
53abe0d254
7068902: (javac) allow enabling or disabling of String folding
...
Contributed by netbeans team, modified to suit by the langtools team.
Reviewed-by: jjg, mcimadamore
2011-07-27 11:53:17 -07:00
Jonathan Gibbons
753b8d0fea
6921495: spurious semicolons in class def cause empty NOPOS blocks
...
Reviewed-by: mcimadamore
2010-09-02 18:26:21 -07:00