Jim Laskey
ef8537ec1a
8241741: Implement Text Blocks as a standard feature in javac
...
Reviewed-by: jlahoda
2020-04-09 10:55:01 -03:00
Hannes Wallnöfer
ac8d42087a
8240169: javadoc fails to link to non-modular api docs
...
Reviewed-by: jjg
2020-04-08 22:04:51 +02:00
Hannes Wallnöfer
cdb379e5b4
8237383: Members inherited from non-public types are not included in index
...
Reviewed-by: jjg
2020-04-08 21:28:14 +02:00
Adam Sotona
c2efd224ca
8239544: Javac does not respect should-stop.ifNoError policy to stop after CompileState PARSE, ENTER and PROCESS
...
JavaCompiler patch fixing its response to should-stop.ifNoError= option for PARSE, ENTER and PROCESS compiler states + new T8239544.java matrix regression test
Reviewed-by: jlaskey, jlahoda
2020-04-08 15:00:39 +02:00
Liam Miller-Cushon
25642dd303
8035787: SourcePositions are wrong for Strings concatenated with '+' operator
...
Reviewed-by: jlahoda
2020-04-06 15:40:16 -07:00
Jonathan Gibbons
7ac64b81ee
8241895: use new "details-list" CSS class instead of general "block-list" for list of details sections
...
Reviewed-by: hannesw
2020-04-07 12:41:49 -07:00
Jonathan Gibbons
8523e37f7e
8242056: Merge support for AnnotationType builders/writers into support for other types
...
Reviewed-by: hannesw
2020-04-07 09:50:36 -07:00
Jonathan Gibbons
35f4df51d4
8241625: use new "member-list" CSS class instead of general "block-list" for list of members
...
Reviewed-by: hannesw
2020-03-31 14:47:07 -07:00
Jonathan Gibbons
8cb3cc01f1
8241693: The paragraphs in the help page should not be in a <ul>
...
Reviewed-by: hannesw
2020-03-31 13:47:16 -07:00
Jonathan Gibbons
ccc699600f
8241631: PropertyGetterTaglet, PropertySetterTaglet may be removed
...
Reviewed-by: hannesw
2020-03-27 11:24:40 -07:00
Jonathan Gibbons
87805d9207
8241470: HtmlStyle: group and document members: description, flex, signature
...
Reviewed-by: hannesw
2020-03-26 20:36:56 -07:00
Jonathan Gibbons
ffe5e84644
8241544: update stylesheet for *-page CSS class rename and hyphenated naming
...
Reviewed-by: prappo, hannesw
2020-03-25 15:03:39 -07:00
Jonathan Gibbons
7dc952ec20
8241292: Interactive Search results are not highlighted as they used to be
...
Reviewed-by: prappo
2020-03-23 14:11:52 -07:00
Jonathan Gibbons
f0ba0dc6dc
8241190: Fix name clash for constants-summary CSS class
...
Reviewed-by: hannesw
2020-03-23 12:48:35 -07:00
Jonathan Gibbons
32cba67284
8240476: SystemPropertiesWriter does not conform to standard page layout
...
Reviewed-by: prappo
2020-03-19 11:25:05 -07:00
Jonathan Gibbons
ea367322f2
8241030: rename HtmlTag to TagName
...
Reviewed-by: prappo
2020-03-18 13:20:13 -07:00
Vicente Romero
bf54c47471
8240970: Some tests fail when run with JCov
...
Reviewed-by: jjg
2020-03-18 14:33:05 -04:00
Jan Lahoda
6ddb0f2b2c
8240964: Compilation error thrown when long literal used with yield
...
Ensuring yield followed by a long literal is recognized as a yield statement.
Reviewed-by: mcimadamore
2020-03-16 13:06:35 +01:00
Vicente Romero
f819e417f9
8235339: test TargetAnnoCombo.java is failing after new target RECORD_COMPONENT was added
...
Reviewed-by: darcy
2020-03-14 17:08:25 -04:00
Jonathan Gibbons
afa54b7ed5
8240916: Convert to using hyphenated naming for CSS classes
...
Reviewed-by: hannesw
2020-03-13 10:57:41 -07:00
Vicente Romero
afbe2286e2
8239447: compiler error for annotations applied to record components with target METHOD
...
Reviewed-by: mcimadamore
2020-03-13 10:29:03 -04:00
Jonathan Gibbons
2eaeb20697
8240555: Using env of JAVA_TOOL_OPTIONS and _JAVA_OPTIONS breaks QuietOption.java test
...
Reviewed-by: shurailine, prappo
2020-03-12 14:14:29 -07:00
Pavel Rappo
8c6649dea0
8239487: Better links generation for system properties found in HTML files
...
8239485: Define behavior of the System Properties page when no system properties are available
Reviewed-by: jjg
2020-03-11 17:09:10 +00:00
Adam Sotona
5eef59d22d
8235216: typo in test filename
...
Renamed MutliReleaseModuleInfoTest.java to MultiReleaseModuleInfoTest.java
Reviewed-by: jjg
2020-03-10 17:33:37 +01:00
Vicente Romero
4a32eda417
8240454: incorrect error message: as of release 13, 'record' is a restricted type name
...
Reviewed-by: jlahoda
2020-03-05 16:46:24 -05:00
Jonathan Gibbons
edb59b58b9
8239817: Eliminate use of contentContainer and friends
...
Reviewed-by: hannesw
2020-03-04 12:58:13 -08:00
Jan Lahoda
e44dcf09c0
8234896: Tab completion does not work for method references in jshell
...
Reviewed-by: rfield
2020-03-04 13:43:28 +01:00
Jan Lahoda
0c9983887d
8228451: NPE in Attr.java when -XDshould-stop.ifError=FLOW
...
Avoiding parsing of compound assignment as a type.
Reviewed-by: jjg, vromero
2020-03-04 13:43:27 +01:00
Jan Lahoda
9d57eefe6e
8239575: javadoc triggers javac AssertionError for annos on modules
...
Ensure ModuleSymbols are implicitly loaded only once in the javadoc context.
Reviewed-by: jjg
2020-03-04 13:43:25 +01:00
Jonathan Gibbons
1be89d9640
8240136: Cleanup/simplify HTML/CSS for definition lists
...
Reviewed-by: prappo
2020-02-28 12:46:58 -08:00
Jonathan Gibbons
39d75e894b
8239804: Cleanup/simplify HTML/CSS for general block tags
...
Reviewed-by: prappo, hannesw
2020-02-27 12:16:03 -08:00
Igor Ignatyev
c4059c667d
8238943: switch to jtreg 5.0
...
Reviewed-by: erikj, jjg, joehw
2020-02-24 11:50:18 -08:00
Hannes Wallnöfer
bb7344d919
8232438: Remove ?is-external=true from external links
...
Reviewed-by: prappo
2020-02-24 16:42:22 +01:00
Jan Lahoda
acd2d32913
8239536: Can't use java.util.List
object after importing java.awt.List
...
Using full qualified names for synthetic types; ensuring the user is warned when a variable becomes undefined due to a dependency change.
Reviewed-by: rfield
2020-02-24 11:43:04 +01:00
Joe Darcy
d4a069b33b
8237450: JDK13 annotation processors not run when a supported annotation type specifies a module
...
Initial fix suggested by jjg based on through analysis by Jeremy Kuhn.
Reviewed-by: jjg
2020-02-18 17:03:54 -08:00
Vicente Romero
4c707c1df3
8238838: spurious error message for compact constructors with throws clause
...
Reviewed-by: mcimadamore
2020-02-13 14:13:08 -05:00
Pavel Rappo
56a7631555
8237909: Remove zipped index files feature
...
Reviewed-by: hannesw, jjg
2020-02-11 15:23:28 +00:00
Pavel Rappo
fff1a59cfa
8238291: Fix inconsistencies in the format of the index files
...
Reviewed-by: jjg
2020-02-11 13:19:12 +00:00
Jonathan Gibbons
3461ce9800
8238437: Support separate locales for console messages and HTML content
...
Reviewed-by: prappo
2020-02-07 17:00:23 -08:00
Jonathan Gibbons
98f5d98a88
8222793: Javadoc tool ignores "-locale" param and uses default locale for all messages and texts
...
Reviewed-by: prappo
2020-02-05 11:01:05 -08:00
Jonathan Gibbons
4122968ab6
8238259: new tests do not account for Windows file separators
...
Reviewed-by: vromero
2020-01-30 15:50:07 -08:00
Jonathan Gibbons
ee9483bd87
8200363: Add javadoc command line setting to fail on warnings
...
Reviewed-by: hannesw
2020-01-30 11:29:51 -08:00
Jonathan Gibbons
85f5e328ed
8236949: javadoc -Xdoclint does not accumulate options correctly
...
Reviewed-by: prappo
2020-01-30 11:20:09 -08:00
Pavel Rappo
91a031aa87
8238167: Remove stray files from jdk.javadoc
...
Reviewed-by: jjg
2020-01-29 18:04:53 +00:00
Jan Lahoda
2f45d46640
8237528: Inefficient compilation of Pattern Matching for instanceof
...
Avoiding unnecessary cast and comparison in type test pattern desugaring.
Reviewed-by: forax, mcimadamore
2020-01-29 10:37:22 +01:00
Adam Sotona
f2013ac247
8236997: tools/javac tests fail with --illegal-access=deny
...
Correctly exporting packages to tests.
Reviewed-by: jlahoda
2020-01-28 09:13:27 +01:00
Vicente Romero
64288e1e76
8235149: javac parser is too aggressive on ambiguous expressions using identifier: record
...
Reviewed-by: mcimadamore
2020-01-27 18:50:19 -05:00
Vicente Romero
0f98701e87
8236210: javac generates wrong annotation for fields generated from record components
...
Reviewed-by: mcimadamore
2020-01-23 19:20:11 -05:00
Jonathan Gibbons
9e4830fc30
8237492: Reorganize impl of doclet options
...
8237726: Fix signature of StandardDoclet.getSupportedOptions
Reviewed-by: prappo, hannesw, ksrini
2020-01-23 15:52:54 -08:00
Mikael Vidstedt
eef726a99a
8237601: test/langtools/tools/javac/warnings/MaxDiagsRecompile.java fails after JDK-8237589
...
Reviewed-by: dholmes
2020-01-21 17:37:18 -08:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Jesper Wilhelmsson
b936939454
Merge
2020-01-20 18:05:07 +01:00
Hannes Wallnöfer
5903e20af2
8224052: Javadoc doesn't handle non-public intermediate types well
...
Reviewed-by: jjg
2020-01-16 15:50:23 +01:00
Jan Lahoda
8787b9a66d
8233655: NPE at jdk.compiler/com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply
...
Ensuring that errors reported during speculative attribution that belong to a different file are not lost.
Reviewed-by: mcimadamore
2020-01-15 11:31:16 +01:00
Vicente Romero
5ff1d72185
8236005: local records shouldn't capture any non-static state from any enclosing type
...
Reviewed-by: mcimadamore
2020-01-14 07:07:43 -05:00
Jan Lahoda
a35d087f54
8236670: Conflicting bindings accepted in some cases
...
Reviewed-by: mcimadamore
2020-01-14 11:10:07 +01:00
Jan Lahoda
8e2c1c68f6
8236546: Yield with boolean expression and Object target type crashes javac
...
The whenTrue and whenFalse sets need to be merged for non-boolean expressions.
Reviewed-by: mcimadamore
2020-01-13 10:50:31 +01:00
Jan Lahoda
6fc159f17c
8236715: JShell: Records with errors are not properly corraled
...
Correctly corralling record classes, and providing correct messages to the user.
Reviewed-by: rfield, vromero
2020-01-13 10:49:58 +01:00
Vicente Romero
4692bc58eb
8236841: compact constructor parameters are always final
...
Reviewed-by: mcimadamore
2020-01-10 15:32:04 -05:00
Mandy Chung
fe8e1aacd1
8225773: jdeps --check produces NPE if there are missing module dependences
...
Reviewed-by: alanb
2020-01-10 11:50:54 -08:00
Mandy Chung
b7e74ef62f
8229396: jdeps ignores multi-release when generate-module-info used on command line
...
Reviewed-by: alanb
2020-01-10 11:48:16 -08:00
Vicente Romero
be6b4aab40
8236692: static final fields without initializer are accepted by javac
...
Reviewed-by: mcimadamore
2020-01-08 15:18:58 -05:00
Vicente Romero
50a56141ba
8234445: spurious error message for record constructors with receiver parameters
...
Reviewed-by: mcimadamore
2020-01-07 09:21:07 -05:00
Igor Ignatyev
60073c395c
8235866: bump jtreg requiredVersion to 4.2b16
...
Reviewed-by: dholmes, joehw
2019-12-16 15:45:07 -08:00
Pavel Rappo
5ca3e6334a
8215038: Add a page that lists all system properties
...
Co-authored-by: Priya Lakshmi Muthuswamy <priya.lakshmi.muthuswamy@oracle.com>
Reviewed-by: hannesw, jjg
2019-12-12 13:06:59 +00:00
Jan Lahoda
ad5ea72286
8235541: Extend javax.lang.model to cover binding variables
...
Reviewed-by: darcy
2019-12-09 09:40:09 +01:00
Jonathan Gibbons
d8d4cd6508
8235597: Extend support for -XDaccessInternalAPI to plugin modules
...
Reviewed-by: mcimadamore, jlahoda
2019-12-11 16:32:49 -08:00
Jonathan Gibbons
75acf956f1
Merge
2019-12-11 15:34:19 -08:00
Jonathan Gibbons
93b7d283d8
8214916: SourceLauncherTest fails on exploded image
...
Reviewed-by: ksrini
2019-12-11 15:33:17 -08:00
Robert Field
dca6e34397
8210527: JShell: NullPointerException in jdk.jshell.Eval.translateExceptionStack
...
8232855: jshell missing word in /help help
Reviewed-by: jlahoda
2019-12-11 14:39:04 -08:00
Hannes Wallnöfer
7f10f57834
8235414: Module level doc-files show "unnamed package" as holder
...
Reviewed-by: jjg
2019-12-11 22:29:30 +01:00
Vicente Romero
69c1729e26
8234101: Compilation error thrown when repeating annotation is used on record component
...
Reviewed-by: jlahoda
2019-12-11 15:31:40 -05:00
Jeremy Kuhn
cbe604cf5d
8235457: Crash when reporting a message about an annotation on a module
...
8235458: Problem caused by imports in a module-info.java file
Reviewed-by: jjg
2019-12-11 11:55:50 -08:00
Pavel Rappo
f51595bec2
8234746: Improve indexing of system properties
...
Reviewed-by: hannesw, jjg
2019-12-11 15:16:21 +00:00
Jan Lahoda
ec0fbdc0e9
8235338: test jdk/jshell/CompletenessTest.java fails for records
...
Reviewed-by: rfield
2019-12-11 13:08:45 +01:00
Jan Lahoda
308aea3e0b
8235474: JShell does not handle records properly
...
Reviewed-by: vromero, rfield
2019-12-11 13:08:42 +01:00
Jonathan Gibbons
589f23568a
8234689: facilitate writing additional custom attributes in a class file
...
Reviewed-by: jlahoda
2019-12-09 12:27:57 -08:00
Jonathan Gibbons
45b8d09e1b
8234211: allow discoverable javac plugins to be invoked by default
...
Reviewed-by: jlahoda
2019-12-09 10:44:02 -08:00
Vicente Romero
bf2f855cd7
8235446: confusing error message for records with no parens
...
Reviewed-by: mcimadamore
2019-12-06 14:23:17 -05:00
Jesper Wilhelmsson
51d5164ca2
Merge
2020-01-16 04:09:50 +01:00
Jesper Wilhelmsson
d34f561de0
Merge
2020-01-15 20:41:46 +01:00
Vicente Romero
ff77d06f17
8236597: issues inferring type annotations on records
...
Reviewed-by: mcimadamore
2020-01-15 10:45:03 -05:00
Vicente Romero
ddcac6f066
8236682: Javac generates a redundant FieldRef constant for record fields
...
Reviewed-by: mcimadamore
2020-01-14 21:49:43 -05:00
Hannes Wallnöfer
631b4d2694
8220002: Improve anchor definitions in generated files
...
Reviewed-by: jjg
2020-01-14 21:17:30 +01:00
Jesper Wilhelmsson
913b8702d1
Merge
2020-01-13 15:40:09 +01:00
Jesper Wilhelmsson
943b87ddde
Merge
2020-01-09 20:21:53 +01:00
Jesper Wilhelmsson
257a1bb854
Merge
2020-01-08 16:03:32 +01:00
Vicente Romero
9695ddfffc
8234445: spurious error message for record constructors with receiver parameters
...
Reviewed-by: mcimadamore
2019-12-19 11:46:35 -05:00
Pavel Rappo
026eac269c
8235435: Remove (obsolete) @author info from javadoc source and tests
...
Reviewed-by: jjg
2019-12-06 10:12:51 +00:00
Jim Laskey
945c8d555b
8232681: ArrayIndexOutOfBoundsException with text blocks in javac when using -Xlint
...
Reviewed-by: sundar
2019-12-05 09:22:21 -04:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Jan Lahoda
07be23513b
8234922: No compilation error reported not reported for a binding variable when loop broken with label
...
Any break outside of a loop should confine the binding variables from the loop's condition to the loop
Reviewed-by: mcimadamore
2019-12-04 09:38:32 +01:00
Jan Lahoda
f26bdf8476
8234899: Compiler reports AssertionError for conditional operator ? : and pattern matching for instanceof
...
Reviewed-by: mcimadamore
2019-12-04 09:38:31 +01:00
Jim Laskey
234f326d79
8233116: Escape Sequences For Line Continuation and White Space (Preview)
...
Reviewed-by: vromero, jlahoda, bchristi, mcimadamore
2019-12-03 08:35:21 -04:00
Hannes Wallnöfer
725449932b
8223378: CSS solution for navbar problem with <a> elements is not ideal
...
Reviewed-by: jjg
2019-11-27 13:08:16 +01:00
Jan Lahoda
229e0d1631
8231826: Implement javac changes for pattern matching for instanceof
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Gavin Bierman <gavin.bierman@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2019-11-27 09:00:01 +01:00
Srikanth Adayapalam
05ca3218d9
8234729: Javac should eagerly change code generation for method references to avert IllegalAccessError in future
...
Reviewed-by: mcimadamore
2019-11-26 11:13:53 +05:30
Jonathan Gibbons
6025207be8
8234687: change javap reporting on unknown attributes
...
Reviewed-by: mchung
2019-11-22 16:26:35 -08:00
Jaikiran Pai
0435ec1aaa
8232170: FSInfo#getJarClassPath throws an exception not declared in its throws clause
...
Reviewed-by: jjg
2019-11-22 10:38:35 -08:00
Jonathan Gibbons
27807bc768
8234051: doclet crashes if HTML files in module doc-files directories
...
Reviewed-by: hannesw
2019-11-21 13:41:24 -08:00
Per Lidén
5cb6271830
8234382: Test tools/javac/processing/model/testgetallmembers/Main.java using too small heap
...
Reviewed-by: eosterlund, tschatzl
2019-11-20 10:37:46 +01:00
Jie Fu
368b6b5a2d
8234183: [TESTBUG] tools/javac/api/TestModuleUnnamedPackage.java fails to compile
...
Reviewed-by: jjg
2019-11-14 12:42:44 -08:00
Joe Darcy
c64756158f
8233096: Update javax.lang.model for switch expressions
...
Reviewed-by: jjg, jlahoda
2019-11-13 15:16:45 -08:00
Jonathan Gibbons
71a86af40e
8234025: Elements.getPackageElement(ModuleElement,CharSequence) returns null for unnamed package
...
Reviewed-by: jlahoda
2019-11-13 10:33:00 -08:00
Jan Lahoda
29852ecd80
8232684: Make switch expressions final
...
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Jesper Wilhelmsson
fa070554cb
Merge
2019-12-17 16:29:30 +01:00
Vicente Romero
89e0d29101
8235778: No compilation error reported when a record is declared in a local class
...
Reviewed-by: mcimadamore
2019-12-16 15:33:03 -05:00
Jonathan Gibbons
3c0e2b4e16
8235306: Support doc-comment tags that can be inline or block tags
...
Reviewed-by: hannesw
2019-12-13 10:42:57 -08:00
Pavel Rappo
71da14104a
8235447: Remove (obsolete) @author info from javadoc tests
...
Reviewed-by: ksrini, jjg
2019-12-12 21:11:49 +00:00
Joe Darcy
890826bf5b
8225361: Start of release updates for JDK 15
...
8235497: Add SourceVersion.RELEASE_15
8235528: Add source 15 and target 15 to javac
Reviewed-by: erikj, jjg, jlahoda, dholmes, alanb, hseigel, mikael, chegar
2019-12-10 16:38:53 -08:00
Jan Lahoda
7a006b3608
8230847: Trees.getScope may crash when invoked for statement inside switch
...
More thoroughly avoiding side-effects when attributing (to) for Trees.getScope.
Reviewed-by: mcimadamore
2019-11-04 10:58:14 +01:00
Vojin Jovanovic
29f2d74173
8232806: Introduce a system property to disable eager lambda initialization
...
Reviewed-by: briangoetz, mr, psandoz, forax
2019-10-28 15:03:36 +01:00
Jan Lahoda
a1894385b3
8226585: Improve javac messages for using a preview API
...
Avoiding deprecation for removal for APIs associated with preview features, the features are marked with an annotation, and errors/warnings are produced for them based on the annotation.
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: erikj, mcimadamore, alanb
2019-10-21 15:38:26 +02:00
Henry Jen
8d141f1048
Merge
2019-10-14 21:01:25 +00:00
Brad Corso
3e8d409cee
8230162: ScopeImpl.remove() has O(N) performance
...
Reviewed-by: jlahoda
2019-10-08 15:43:38 +02:00
Hannes Wallnöfer
bb09c0c1d8
8220217: Javadoc missing link to member method
...
Reviewed-by: jjg
2019-10-07 15:58:04 +02:00
Hannes Wallnöfer
139f72ec90
8226765: Commentary on Javadoc comments
...
Reviewed-by: jjg, rhalade, skoivu
2019-08-06 20:39:48 +02:00
Hannes Wallnöfer
8743f0b6d1
8231122: @index tag with newline causes tag search to fail
...
Reviewed-by: jjg
2019-09-24 11:49:48 +02:00
Jan Lahoda
a88d084575
8231176: Test tools/javac/options/BCPOrSystemNotSpecified.java broken on Windows
...
Temporarily disabling BCPOrSystemNotSpecified.java test on Windows.
Reviewed-by: vromero
2019-09-18 15:13:37 +02:00
Jan Lahoda
a51a8527e7
8228460: bootstrap class path not set in conjunction with -source 11
...
Ensuring implicit system module path is checked for the no-bootclasspath warning for -source >= 9.
Reviewed-by: vromero
2019-09-18 10:41:18 +02:00
Jan Lahoda
2fa3eddd3c
8177068: incomplete classpath causes NPE in Flow
...
Undo completions that failed during speculative attribution, so that the appropriate CompletionFailures are thrown again and properly reported.
Reviewed-by: vromero
2019-09-05 12:39:48 +02:00
Joe Darcy
f14e213524
8230337: Clarify intention of Elements.{getPackageOf, getModuleOf}
...
Reviewed-by: jjg
2019-08-30 11:26:48 -07:00
Jan Lahoda
1d71dd8604
8230105: -XDfind=diamond crashes
...
Avoiding side-effects in Analyzer's speculative attribution.
Reviewed-by: mcimadamore, vromero
2019-08-30 12:24:16 +02:00
Jan Lahoda
f033152eae
8228502: javac crashed on a broken classfile with ConstantValue attribute on a field of type Object
...
Produce an error when reading a classfile with a field with ConstantValue with a wrong type.
Reviewed-by: vromero
2019-08-13 10:27:34 +02:00
Jan Lahoda
36ae680f2a
8228647: Broken enum produce inconvenient errors and AST
...
Improving error recovery for misplace members in enums.
Reviewed-by: vromero
2019-08-13 10:27:33 +02:00
Jan Lahoda
6e86f5b47b
8227922: DocTreeScanner does not dive into AttributeTree.getValue() and LiteralTree.getBody()
...
DocTreeScanner.visitAttribute and visitLiteral have to scan through the subnodes of AttributeTree and LiteralTree, respectivelly.
Reviewed-by: vromero
2019-08-13 10:27:32 +02:00
Sean Mullan
28479937ea
8191138: Remove deprecated java.security.acl APIs
...
Reviewed-by: alanb, mchung
2019-07-30 09:26:47 -04:00
Christoph Langer
d3fa36896e
8228571: [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512
...
Reviewed-by: iignatyev, jjg
2019-07-26 09:06:03 +02:00
Jonathan Gibbons
2cd3eb0d40
8222791: Order of evaluation of -link params in Javadoc tool reversed -> regression with split packages
...
Reviewed-by: hannesw
2019-07-22 16:10:25 -07:00
Jan Lahoda
03270bb92a
8227923: End position of EndElementTree is -1
...
Fixing end positions for DocTrees EndElementTree, EntityTree and CommentTree.
Reviewed-by: jjg
2019-07-22 12:21:18 +02:00
Matthias Baesken
c3bd80322e
8227247: tools/sjavac/IdleShutdown.java fails with AssertionError: Error too big on windows
...
Reviewed-by: jjg, stuefe
2019-07-10 11:11:30 +02:00
Mikael Vidstedt
f08a9de3b2
Merge
2019-07-17 04:33:37 -07:00
Jan Lahoda
c0d870559f
8227640: javac crashes on text blocks with invalid escapes
...
Do not translate escape sequences if text block contains illegal escapes.
Reviewed-by: jlaskey
2019-07-16 10:48:22 +02:00
Pengfei Li
a5388f21b7
8227512: [TESTBUG] Fix JTReg javac test failures with Graal
...
Reviewed-by: mcimadamore
2019-07-16 00:57:00 +00:00
Jan Lahoda
32a7e50bee
8220041: NullPointerException at jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0
...
LambdaToMethod must correctly capture local variables inside switch expressions inside local variable initializers.
Reviewed-by: mcimadamore, vromero
2019-07-10 09:04:42 +02:00
Mikael Vidstedt
e9d003926b
Merge
2019-07-10 07:27:58 -07:00
Jan Lahoda
d24296edf4
8223443: Calling Trees.getScope early changes names of local/anonymous classes
...
Ensure Trees.getScope does not affect the rest of the compilation.
Reviewed-by: mcimadamore
2019-07-09 09:20:04 +02:00
Jan Lahoda
c4213848c0
8227010: Error recovery after local variable redeclaration can be improved
...
Entering duplicate local variables into the current scope so that the new variable is used instead of the previous variable.
Reviewed-by: mcimadamore
2019-07-04 16:51:24 +02:00
Mikael Vidstedt
c200fc1f34
Merge
2019-07-03 07:56:41 -07:00
Jesper Wilhelmsson
37599ff955
Merge
2019-06-29 05:26:55 +02:00
Jan Lahoda
e81d3fa8c3
8226510: No compilation error when switch expression has no result expressions
...
Ensure a compile-time error is produced when there are no result expressions in an switch expression.
Reviewed-by: vromero
2019-06-27 10:39:27 +02:00
Jonathan Gibbons
454f9f9fd0
8225748: Use SHA-256 for javap classfile checksum
...
Reviewed-by: mchung
2019-06-18 11:52:57 -07:00
Robert Field
a38e980eb5
8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
...
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number
Build corralled (recoverable undeclared definitions) declarations from position translating wraps....
Reviewed-by: jlahoda
2019-06-17 17:14:05 -07:00
Jesper Wilhelmsson
dc82364e05
Merge
2019-06-18 22:48:27 +02:00
Robert Field
6fe98143bc
8200701: jdk/jshell/ExceptionsTest.java fails on Windows, after JDK-8198801
...
8159740: JShell: corralled declarations do not have correct source to wrapper mapping
8212167: JShell : Stack trace of exception has wrong line number
Build corralled (recoverable undeclared definitions) declarations from position translating wraps....
Reviewed-by: jlahoda
2019-06-14 20:30:10 -07:00
Joe Darcy
51cf24fcc0
8222369: ExecutableElement.getReceiverType returns null instead of NOTYPE
...
Reviewed-by: jjg
2019-06-13 16:39:20 -07:00
Joe Darcy
aeedfd44b0
8164819: Make javac's toString() on annotation objects consistent with core reflection
...
Reviewed-by: jjg, coleenp
2019-06-13 11:50:45 -07:00
Jan Lahoda
1dd6e7a3eb
8226522: No compilation error reported when yield is used in incorrect context
...
Reviewed-by: mcimadamore
2019-07-02 09:14:51 +02:00
Toshio Nakamura
0f42d9870e
8224184: jshell got IOException at exiting with AIX
...
Reviewed-by: rfield, jlahoda
2019-06-13 08:42:47 +02:00
Hannes Wallnöfer
3353016bbc
8225671: Support HTML 5 character references in javadoc
...
Reviewed-by: jjg
2019-06-12 23:21:24 +02:00
Jan Lahoda
d9407ce428
8220018: javac crash when compiling try-catch-finally inside switch expression
...
Correcting handling of finally that yields from a switch expression.
Reviewed-by: mcimadamore, jlahoda
2019-06-12 13:49:43 +02:00
Hannes Wallnöfer
0d8209a2b7
8223364: Bad placement of anchor relative to header
...
Reviewed-by: jjg
2019-06-12 13:21:25 +02:00
Joe Darcy
4750064828
8214546: Start of release updates for JDK 14
...
8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14
Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
2019-06-11 16:45:20 -07:00
Jan Lahoda
b34b2d993c
8223305: Compiler support for Switch Expressions
...
Reviewed-by: mcimadamore, vromero
2019-06-10 05:09:52 +02:00
Jan Lahoda
1d050ec2e9
8223782: jshell parser should handle Text Blocks
...
Completion analysis should detect text blocks properly.
Reviewed-by: jlaskey, rfield
2019-06-07 10:09:41 +02:00
Jonathan Gibbons
948577bb1f
8225321: Repeated use of {@systemProperty} in a file causes duplicate ids
...
Reviewed-by: hannesw
2019-06-06 10:36:43 -07:00
Jim Laskey
08e1ece107
8223967: Implement Text Blocks (Preview) in the Java compiler
...
Reviewed-by: vromero, jlahoda, abuckley
2019-06-06 12:24:44 -03:00
Vicente Romero
43114a091a
8225386: test for JDK-8216261 fails in Windows
...
Reviewed-by: jjg
2019-06-05 21:50:29 -04:00
Vicente Romero
d69bc696f2
8223942: Missing methods in ClientCodeWrapper$WrappedJavaFileManager
...
Reviewed-by: jjg
2019-06-05 17:01:43 -04:00
Vicente Romero
16a0533eac
8216261: Javap ignores default modifier on interfaces
...
Reviewed-by: jjg, darcy
2019-06-05 16:01:50 -04:00
Hannes Wallnöfer
9f039257cb
8221709: replace use of style blockListLast
...
Reviewed-by: jjg
2019-06-05 16:26:13 +02:00
Jonathan Gibbons
45f6ff3894
8223805: DocCommentParser should allow for <main> and </main>
...
Reviewed-by: hannesw
2019-06-04 11:29:29 -07:00
Hannes Wallnöfer
4b01aa4f71
8214126: Method signatures not formatted correctly in browser
...
Reviewed-by: jjg
2019-06-04 16:33:37 +02:00
Hannes Wallnöfer
4d08dd703e
8222091: Javadoc does not handle package annotations correctly on package-info.java
...
Reviewed-by: jjg
2019-06-04 16:20:42 +02:00
Robert Field
b84187ca17
8225208: Re-Problem list jdk/jshell/ExceptionsTest.java fails on windows
...
Reviewed-by: jjg
2019-06-03 16:24:34 -07:00
Robert Field
4bc1fdf83c
8199623: JShell: corralling not restored on drop
...
Reviewed-by: jlahoda
2019-06-03 08:21:04 -07:00
Robert Field
0be741c70b
8223688: JShell: crash on the instantiation of raw anonymous class
...
Reviewed-by: jlahoda
2019-06-01 14:09:59 -07:00
Robert Field
50971d6ea7
8080353: JShell: Better error message on attempting to add default method
...
Special handling for errors with "default" modifier
Reviewed-by: jlahoda
2019-06-01 13:41:01 -07:00
Vicente Romero
e36693bc29
8224083: javadoc Reporter generates warning for Kind.NOTE
...
8224082: NPE in javadoc Reporter
Reviewed-by: jjg
2019-05-31 18:35:17 -04:00
Joe Darcy
bcd13b790f
8224687: Add clarifying overrides of Element.asType to more specific subinterfaces
...
Reviewed-by: jjg
2019-05-30 16:21:08 -07:00
Athijegannathan Sundararajan
90fb4990ed
8224946: jrtfs URI to Path and Path to URI conversions are wrong
...
Reviewed-by: alanb
2019-05-30 17:30:33 +05:30
Jim Laskey
4e83c1c4dc
8224908: Revert: 8216553: JrtFileSystemProvider getPath(URI) omits /modules element from file path
...
Reviewed-by: darcy, kbarrett
2019-05-28 16:51:28 -03:00
Jonathan Gibbons
a0744051d5
8219147: Javadoc should expose covariant return type overrides
...
Reviewed-by: hannesw
2019-05-28 11:21:02 -07:00
Athijegannathan Sundararajan
0c724506b8
8216553: JrtFIleSystemProvider getPath(URI) omits /modules element from file path
...
Reviewed-by: alanb, jlaskey
2019-05-28 19:30:30 +05:30
Jan Lahoda
0112514fde
8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH
...
Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module.
Reviewed-by: jjg
2019-05-24 12:25:18 +02:00
Joe Darcy
4dd6b687ef
8224177: Harden annotation processing framework to irregular behavior from processors
...
Reviewed-by: jjg
2019-05-23 18:47:24 -07:00
Priya Lakshmi Muthuswamy
c053e706a9
8223733: "Detail" in headings should be "Details"
...
Reviewed-by: hannesw
2019-05-21 15:02:18 +05:30
Priya Lakshmi Muthuswamy
adcb06303c
8219313: Support module specific stylesheets
...
Reviewed-by: jjg
2019-05-20 14:42:32 +05:30
Jan Lahoda
08193be19c
8224031: Cannot parse switch expressions after type cast
...
Correctly categorize parentheses followed by the switch keyword as cast.
Reviewed-by: mcimadamore
2019-05-16 16:42:14 +02:00
Priya Lakshmi Muthuswamy
5fc3474639
8222548: Upgrading JDK 13 with the latest available jQuery 3.4.1
...
Reviewed-by: hannesw
2019-05-16 16:40:48 +05:30
Jan Lahoda
b32a840e53
8222169: java.lang.AssertionError switch expression in ternary operator - ?
...
Ensure the stack size recoded at the begining of the let expression is the correct one.
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: vromero
2019-05-16 10:52:36 +02:00
Vicente Romero
23278fea38
8215470: Bad EnclosingMethod attribute on classes declared in lambdas
...
Reviewed-by: mcimadamore
2019-05-14 11:28:44 -04:00
Hannes Wallnöfer
4a59b995da
8219060: -linksource broken with modules
...
Reviewed-by: jjg
2019-05-13 16:43:47 +02:00
Vicente Romero
40155b14cd
8222251: preflow visitor is not visiting lambda expressions
...
Reviewed-by: mcimadamore
2019-05-09 10:04:33 -04:00
Jan Lahoda
55e1da1813
8221759: Crash when completing \"java.io.File.path\"
...
Do not provide documentation for inaccessible elements.
Reviewed-by: rfield
2019-05-09 11:58:26 +02:00
Vicente Romero
c98fb7d64b
8222949: add condy support to javac's pool API
...
Reviewed-by: mcimadamore
2019-05-08 10:10:54 -04:00
Lance Andersen
5a4cef05d6
8218875: Add new FileSystems.newFileSystem methods
...
Reviewed-by: rriggs, alanb, clanger, dfuchs
2019-05-02 17:08:03 -04:00
Joe Darcy
75471b411d
8146726: Improve AbstractProcessor to issue warnings for repeated information
...
Reviewed-by: jjg, smarks, serb, igerasim
2019-05-01 16:47:26 -07:00
Steve Groeger
7c55d53d66
8218152: [javac] fails and exits with no error if a bad annotation processor provided
...
Handle exceptions thrown while loading annotation processors.
Reviewed-by: jlahoda
2019-04-30 10:39:22 +02:00
Priya Lakshmi Muthuswamy
a722889681
8221991: Improve the HTML for the inheritance tree for a type
...
Reviewed-by: hannesw
2019-04-30 11:58:30 +05:30
Hannes Wallnöfer
8322ce2e6b
8220497: Improve Javadoc search feature and add test coverage
...
Reviewed-by: jjg
2019-04-25 09:12:40 +02:00
Priya Lakshmi Muthuswamy
d0788ec07f
8219998: Eliminate inherently singleton lists
...
Reviewed-by: jjg
2019-04-23 18:28:48 +05:30
Priya Lakshmi Muthuswamy
e9da006827
8215580: Remove support for --no-module-directories
...
Reviewed-by: jjg
2019-04-23 14:13:18 +05:30
Maurizio Cimadamore
7b7f9a6fd3
8222289: Overhaul logic for reading/writing constant pool entries
...
Rewrite of Pool,ClassReader,ClassWriter to use shared pool helper components
Reviewed-by: vromero
2019-04-17 15:37:20 +01:00
Joe Darcy
4a9f7612be
8222430: Add tests for ElementKind predicates
...
Reviewed-by: jjg
2019-04-15 16:05:46 -07:00
Joe Darcy
7d29dd2172
8222378: Provide mechanism to query preview feature status for annotation processors
...
Reviewed-by: jjg
2019-04-15 15:44:42 -07:00
Hannes Wallnöfer
4a477cabd8
8221644: jquery directory should be renamed
...
Reviewed-by: jjg
2019-04-15 15:38:47 +02:00
Martin Doerr
f2369e9748
8220625: tools/javac/classreader/8171132/BadConstantValue.java failed with "did not see expected error"
...
Reviewed-by: clanger
2019-04-15 10:16:04 +02:00
Jan Lahoda
28dd6d8496
8217047: Provide a way to inject missing parameter names
...
Adding a way to provide parameter names that are missing in the classfiles.
Reviewed-by: darcy, jjg
2019-04-11 17:55:18 +02:00
Jan Lahoda
ae5972a204
8215407: javac should reject class files with bad EnclosingMethod attributes
...
Reject classfiles with broken EnclosingMethod attribute.
Reviewed-by: jjg
2019-04-11 14:49:04 +02:00