Re: RFR: 8286206: Missing cases for RECORD

2022-06-06 Thread Vicente Romero
On Mon, 6 Jun 2022 14:40:01 GMT, Jan Lahoda wrote: > Adds handling of `ElementKind.RECORD` to JShell's code completion. looks sensible to me - Marked as reviewed by vromero (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/9042

Re: RFR: JDK-8284994: -Xdoclint:all returns warning for records, even when documented properly

2022-04-25 Thread Vicente Romero
On Sat, 23 Apr 2022 17:03:06 GMT, Jonathan Gibbons wrote: > Please review a small fix to address issues with records in DocLint when > invoked from javac. Bottom line, record components or their fields should > never have direct documentation comments (and so the absence of comments > should n

Re: RFR: JDK-8267690: Revisit (Doc)Tree search implemented by throwing an exception

2022-04-22 Thread Vicente Romero
On Fri, 22 Apr 2022 19:10:38 GMT, Jonathan Gibbons wrote: > Please review a moderately simple cleanup change, to eliminate using an > exception to terminate scanning a `Tree` or `DocTree` in > `(Doc)TreePath.getPath`. > > The change is to set a field with the intended result, and once that fie

Re: RFR: JDK-8283714: REDO - Unexpected TypeElement in ANALYZE TaskEvent

2022-04-12 Thread Vicente Romero
On Mon, 4 Apr 2022 23:46:57 GMT, Jonathan Gibbons wrote: > This is a redo of a recent fix, which passed all tier1 tests but broke "make > docs". > > The reason for the crash was a combination of a number of factors, such that > fixing any one (or more) would make the problem go away, making it

Re: [jdk18] RFR: 8278373: JavacTrees.searchMethod finds incorrect match [v2]

2022-01-05 Thread Vicente Romero
On Wed, 5 Jan 2022 14:37:02 GMT, Jan Lahoda wrote: >> Currently, when javac encounters a javadoc reference, like `@see >> PrintStream#println(int)`, will first try to find a method `println` in >> `PrintStream` using subtyping on the argument types, which may find another >> overload of the me

Re: [jdk18] RFR: 8278373: JavacTypes.searchMethod finds incorrect match

2022-01-04 Thread Vicente Romero
On Tue, 4 Jan 2022 17:19:44 GMT, Jan Lahoda wrote: > Currently, when javac encounters a javadoc reference, like `@see > PrintStream#println(int)`, will first try to find a method `println` in > `PrintStream` using subtyping on the argument types, which may find another > overload of the method

Re: RFR: 8273609: Fix trivial doc typos in the compiler area

2021-09-10 Thread Vicente Romero
On Fri, 10 Sep 2021 17:39:44 GMT, Pavel Rappo wrote: > 8273609: Fix trivial doc typos in the compiler area looks good - Marked as reviewed by vromero (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/5471

Re: RFR: 8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint [v4]

2021-06-16 Thread Vicente Romero
On Wed, 16 Jun 2021 07:30:09 GMT, Joel Borggrén-Franck wrote: >> Javac crashes in Annotate when a javadoc reference contains an annotated >> type, since attribType expects type annotations to have been attributed. >> >> This proposed fix checks references at parse time to disallow annotated >

Re: [jdk17] RFR: JDK-8263321: Regression 8% in javadoc-steady in 17-b11

2021-06-15 Thread Vicente Romero
On Mon, 14 Jun 2021 13:43:40 GMT, Hannes Wallnöfer wrote: > This change fixes a performance regression caused by passing instances of > `com.sun.tools.javac.util.Name` to a `html.markup.Text` object, where their > content is accessed using`CharSequence` methods which are implemented very > ine

Re: RFR: 8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint [v2]

2021-06-15 Thread Vicente Romero
On Tue, 15 Jun 2021 11:38:14 GMT, Joel Borggrén-Franck wrote: >> Javac crashes in Annotate when a javadoc reference contains an annotated >> type, since attribType expects type annotations to have been attributed. >> >> This proposed fix checks references at parse time to disallow annotated >

Re: RFR: 8266082: AssertionError in Annotate.fromAnnotations with -Xdoclint

2021-06-14 Thread Vicente Romero
On Mon, 14 Jun 2021 13:35:35 GMT, Joel Borggrén-Franck wrote: > Javac crashes in Annotate when a javadoc reference contains an annotated > type, since attribType expects type annotations to have been attributed. > > This proposed fix checks references at parse time to disallow annotated types

Re: [jdk17] RFR: JDK-8263321: Regression 8% in javadoc-steady in 17-b11

2021-06-14 Thread Vicente Romero
On Mon, 14 Jun 2021 18:54:39 GMT, Hannes Wallnöfer wrote: > > just curious, what was the performance improvement after this change? > > Running the JavadocSteadyCompilerBench benchmark on my laptop (with other > apps running) I get close to 5% improvement, which is similar to what I see > in t

Re: [jdk17] RFR: JDK-8263321: Regression 8% in javadoc-steady in 17-b11

2021-06-14 Thread Vicente Romero
On Mon, 14 Jun 2021 13:43:40 GMT, Hannes Wallnöfer wrote: > This change fixes a performance regression caused by passing instances of > `com.sun.tools.javac.util.Name` to a `html.markup.Text` object, where their > content is accessed using`CharSequence` methods which are implemented very > ine

Re: RFR: 8262891: Compiler implementation for Pattern Matching for switch (Preview) [v12]

2021-06-04 Thread Vicente Romero
On Fri, 4 Jun 2021 09:46:31 GMT, Jan Lahoda wrote: >> This is a preview of a patch implementing JEP 406: Pattern Matching for >> switch (Preview): >> https://bugs.openjdk.java.net/browse/JDK-8213076 >> >> The current draft of the specification is here: >> http://cr.openjdk.java.net/~gbierman/je

Re: RFR: JDK-8267187: Remove deprecated constructor for Log

2021-06-01 Thread Vicente Romero
On Fri, 14 May 2021 20:49:35 GMT, Jonathan Gibbons wrote: > In the course of other work, I came across this deprecated constructor in Log > which just existed for a public entry point in javadoc which has already been > removed. > > There is one remaining use in javadoc, which can be changed t

Integrated: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes

2021-05-20 Thread Vicente Romero
On Thu, 22 Apr 2021 02:21:14 GMT, Vicente Romero wrote: > Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA This pull reque

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v9]

2021-05-19 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request with a new target base due t

Re: RFR: JDK-8266856 Make element void [v2]

2021-05-19 Thread Vicente Romero
On Wed, 19 May 2021 18:58:17 GMT, Jonathan Gibbons wrote: >> Please review a simple fix to treat `wbr` as a void element. > > Jonathan Gibbons has updated the pull request incrementally with one > additional commit since the last revision: > > add test Marked as reviewed by vromero (Reviewer

Re: RFR: JDK-8266856 Make element void [v2]

2021-05-19 Thread Vicente Romero
On Tue, 18 May 2021 23:28:07 GMT, Jonathan Gibbons wrote: >> test/langtools/tools/doclint/html/HtmlVersionTagsAttrsTest.java line 154: >> >>> 152: * >>> 153: * Test current time is 10:00 at night >>> 154: * Testtext >> >> this is a positive test shouldnt we have negative tests t

Re: RFR: JDK-8266856 Make element void

2021-05-18 Thread Vicente Romero
On Tue, 18 May 2021 17:15:56 GMT, Jonathan Gibbons wrote: > Please review a simple fix to treat `war` as a void element. test/langtools/tools/doclint/html/HtmlVersionTagsAttrsTest.java line 154: > 152: * > 153: * Test current time is 10:00 at night > 154: * Testtext this is a p

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v8]

2021-05-06 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request with a new target base due t

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v7]

2021-04-30 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request incrementally with one add

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v5]

2021-04-30 Thread Vicente Romero
On Fri, 30 Apr 2021 03:33:57 GMT, Jonathan Gibbons wrote: >> Vicente Romero has updated the pull request incrementally with one >> additional commit since the last revision: >> >> addressing indentation issues > > test/langtools/jdk/javadoc/doclet/testSealedT

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v6]

2021-04-30 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request with a new target base due t

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v5]

2021-04-22 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request incrementally with one add

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v4]

2021-04-22 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request with a new target base due t

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v3]

2021-04-22 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request incrementally with one add

Re: RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes [v2]

2021-04-22 Thread Vicente Romero
> Please review the javadoc related changes to make sealed classes a final > feature in Java. The patch is mostly removing preview features related code > that is not necessary anymore in javadoc. > > TIA Vicente Romero has updated the pull request with a new target base due t

Re: RFR: 8263621: Convert jdk.compiler to use Stream.toList()

2021-04-22 Thread Vicente Romero
On Thu, 22 Apr 2021 14:35:29 GMT, Ian Graves wrote: > Converting use of `Collectors.toList()` to `Stream.toList()` where > appropriate. Per > [JDK-8260559](https://bugs.openjdk.java.net/browse/JDK-8260559). looks good - Marked as reviewed by vromero (Reviewer). PR: https://git.o

RFR: 8265684: implement Sealed Classes as a standard feature in Java, javadoc changes

2021-04-21 Thread Vicente Romero
Please review the javadoc related changes to make sealed classes a final feature in Java. The patch is mostly removing preview features related code that is not necessary anymore in javadoc. TIA - Commit messages: - 8265684: implement Sealed Classes as a standard feature in Java,

Re: RFR: JDK-8258957: DocLint: check for HTML start element at end of body

2021-03-12 Thread Vicente Romero
On Fri, 5 Mar 2021 21:44:20 GMT, Jonathan Gibbons wrote: > Please review a moderately simple fix to improve DocLint's checking for empty > tags, and in particular, bad use of `` as a paragraph terminator. This > will help detect this bad usage at doclint-time, instead of later, with > doccheck

Re: RFR: 8261450: JShell crashes with SIOOBE in tab completion

2021-03-03 Thread Vicente Romero
On Wed, 3 Mar 2021 16:43:02 GMT, Jan Lahoda wrote: > `reflowTillNow` will strip trailing spaces, but then `reflownTo` may point > after the full content of `result`. Need to fix `reflownTo` to not point > after the full content of `result`, otherwise a > `StringIndexOutOfBoundsException` may o

Re: RFR: JDK-8255032: Conflict between recent pushes breaks the build

2020-10-19 Thread Vicente Romero
On Mon, 19 Oct 2020 21:42:51 GMT, Jonathan Gibbons wrote: > The patch resolves a bad merge between two recent changes. > > The `DocletEnvironment docEnv` parameter no longer needs to be passed around. looks good - Marked as reviewed by vromero (Reviewer). PR: https://git.openjdk.

Integrated: 8246774: implement Record Classes as a standard feature in Java

2020-10-18 Thread Vicente Romero
On Mon, 21 Sep 2020 21:30:51 GMT, Vicente Romero wrote: > 8246774: implement Record Classes as a standard feature in Java This pull request has now been integrated. Changeset: c17d5851 Author: Vicente Romero URL: https://git.openjdk.java.net/jdk/commit/c17d5851 Stats: 856 li

Re: RFR: 8246774: implement Record Classes as a standard feature in Java [v13]

2020-10-18 Thread Vicente Romero
> 8246774: implement Record Classes as a standard feature in Java Vicente Romero has updated the pull request incrementally with one additional commit since the last revision: removing reference to unused jcod file from test - Changes: - all: https://git.openjdk.java.net/

Re: RFR: 8246774: implement Record Classes as a standard feature in Java [v12]

2020-10-18 Thread Vicente Romero
> 8246774: implement Record Classes as a standard feature in Java Vicente Romero has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 10 commits: - Merge branch 'master' into JDK-8246774 - Merge branch 'master

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v11]

2020-10-12 Thread Vicente Romero
> 8246774: implementing Record Classes as a standard feature in Java Vicente Romero has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains ten commits: - Merge branch 'master' into JDK-8246774 - removing unused jcod f

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v10]

2020-10-07 Thread Vicente Romero
> 8246774: implementing Record Classes as a standard feature in Java Vicente Romero has updated the pull request incrementally with one additional commit since the last revision: removing unused jcod file - Changes: - all: https://git.openjdk.java.net/jdk/pull/290/fi

Re: RFR: 8253736: Cleanup some of WorkArounds and usage thereof

2020-10-01 Thread Vicente Romero
On Tue, 29 Sep 2020 20:25:27 GMT, Jonathan Gibbons wrote: > This cleanup is primarily focussed on the WorkArounds class, > simplifying/removing code that is no longer required. > > Also, simplified DocLint initialization such that it no longer needs a > `JavacTask` and so the initiate code can

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v3]

2020-09-30 Thread Vicente Romero
On Wed, 30 Sep 2020 08:54:14 GMT, Chris Hegarty wrote: >> test/langtools/tools/javac/records/LocalStaticDeclarations.java line 33: >> >>> 31: * jdk.compiler/com.sun.tools.javac.util >>> 32: * @build combo.ComboTestHelper >>> 33: * @compile LocalStaticDeclarations.java >> >> This, an

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v9]

2020-09-30 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v3]

2020-09-30 Thread Vicente Romero
On Wed, 30 Sep 2020 08:54:14 GMT, Chris Hegarty wrote: >> test/langtools/tools/javac/records/LocalStaticDeclarations.java line 33: >> >>> 31: * jdk.compiler/com.sun.tools.javac.util >>> 32: * @build combo.ComboTestHelper >>> 33: * @compile LocalStaticDeclarations.java >> >> This, an

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v6]

2020-09-29 Thread Vicente Romero
On Wed, 30 Sep 2020 00:18:17 GMT, Vicente Romero wrote: >> The instrument tests update looks good to me. > > @sspitsyn thanks for the review. Please add yourself as a reviewer @plevart interesting, but I think that I prefer to update those benchmarks in a follow-up patch in order

Re: RFR: 8246774: implementing Record Classes as a standard feature in Java [v6]

2020-09-29 Thread Vicente Romero
On Wed, 30 Sep 2020 00:06:19 GMT, Serguei Spitsyn wrote: >> Marked as reviewed by jlahoda (Reviewer). > > The instrument tests update looks good to me. @sspitsyn thanks for the review. Please add yourself as a reviewer - PR: https://git.openjdk.java.net/jdk/pull/290

Re: RFR: 8246774: Record Classes (final) implementation [v8]

2020-09-29 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicente

Re: RFR: 8246774: Record Classes (final) implementation [v7]

2020-09-29 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: Record Classes (final) implementation [v3]

2020-09-24 Thread Vicente Romero
On Thu, 24 Sep 2020 15:45:22 GMT, Vicente Romero wrote: >> The classfile parser changes look good to me. > > I have modified the `@since`: 14 -> 16 [CSR: Record Classes](https://bugs.openjdk.java.net/browse/JDK-8253605) - PR: https://git.openjdk.java.net/jdk/pull/290

Re: RFR: 8246774: Record Classes (final) implementation [v6]

2020-09-24 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: Record Classes (final) implementation [v5]

2020-09-24 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: Record Classes (final) implementation [v4]

2020-09-24 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: Record Classes (final) implementation [v3]

2020-09-24 Thread Vicente Romero
On Thu, 24 Sep 2020 12:23:13 GMT, Coleen Phillimore wrote: >> Vicente Romero has updated the pull request incrementally with three >> additional commits since the last revision: >> >> - Merge pull request #1 from ChrisHegarty/record-serial-tests >> >>

Re: RFR: 8246774: Record Classes (final) implementation [v3]

2020-09-22 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: Record Classes (final) implementation

2020-09-22 Thread Vicente Romero
good catch Chris, thanks for the patch, Vicente On 9/22/20 5:51 AM, Chris Hegarty wrote: On Mon, 21 Sep 2020 23:21:18 GMT, Vicente Romero wrote: Hi Vicente, Please file a separate subtask for the javax.lang.model changes. This helps with the JSR 269 MR paperwork. Thanks, -Joe note: I have

Re: RFR: 8246774: Record Classes (final) implementation [v2]

2020-09-21 Thread Vicente Romero
> Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by: Chris Hegarty > Co-authored-by: Jan Lahoda Vicent

Re: RFR: 8246774: Record Classes (final) implementation

2020-09-21 Thread Vicente Romero
On Mon, 21 Sep 2020 21:53:05 GMT, Joe Darcy wrote: >> Please review the fix for [1]. The intention of this patch is to make >> records final removing the need to >> use --enable-preview in order to be able to include a record declaration in >> a source or for the VM to execute code >> compiled

RFR: 8246774: Record Classes (final) implementation

2020-09-21 Thread Vicente Romero
Co-authored-by: Vicente Romero Co-authored-by: Harold Seigel Co-authored-by: Jonathan Gibbons Co-authored-by: Brian Goetz Co-authored-by: Maurizio Cimadamore Co-authored-by: Joe Darcy Co-authored-by: Chris Hegarty Co-authored-by: Jan Lahoda - Commit messages: - 8246774

Re: RFR: 8246774: Record Classes (final) implementation

2020-09-21 Thread Vicente Romero
On Mon, 21 Sep 2020 21:30:51 GMT, Vicente Romero wrote: > Co-authored-by: Vicente Romero > Co-authored-by: Harold Seigel > Co-authored-by: Jonathan Gibbons > Co-authored-by: Brian Goetz > Co-authored-by: Maurizio Cimadamore > Co-authored-by: Joe Darcy > Co-authored-by

Re: RFR: 8252882: Clean up jdk.javadoc and the related parts of jdk.compiler [v2]

2020-09-14 Thread Vicente Romero
On Mon, 14 Sep 2020 16:12:18 GMT, Pavel Rappo wrote: >> Yet another cleanup change that has accumulated during my work on >> `DocCommentParser` and other javadoc-related areas of >> compiler. > > Pavel Rappo has updated the pull request incrementally with one additional > commit since the last

Re: RFR: 8252882: Clean up jdk.javadoc and the related parts of jdk.compiler

2020-09-14 Thread Vicente Romero
On Mon, 14 Sep 2020 14:08:50 GMT, Pavel Rappo wrote: >> src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java >> line 290: >> >>> 288: >>> 289: protected void inlineTag(ListBuffer list) { >>> 290: assert buf[bp] == '{' : buf[bp]; >> >> not sure that this i

Re: RFR: 8252882: Clean up jdk.javadoc and the related parts of jdk.compiler

2020-09-14 Thread Vicente Romero
On Mon, 14 Sep 2020 09:09:11 GMT, Pavel Rappo wrote: > Yet another cleanup change that has accumulated during my work on > `DocCommentParser` and other javadoc-related areas of > compiler. src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java line 290: > 288: > 289:

Re: RFR: 8250840: some tests use --enable-preview unnecessarily

2020-09-08 Thread Vicente Romero
On Tue, 8 Sep 2020 16:22:34 GMT, Jan Lahoda wrote: >> test/langtools/tools/javac/ConditionalExpressionResolvePending.java line 38: >> >>> 36: * @build combo.ComboTestHelper >>> 37: * @compile ConditionalExpressionResolvePending.java >>> 38: * @run main/othervm --enable-preview >>> Conditiona

Re: RFR: 8250840: some tests use --enable-preview unnecessarily

2020-09-08 Thread Vicente Romero
On Mon, 7 Sep 2020 07:58:40 GMT, Jan Lahoda wrote: > 8250840: some tests use --enable-preview unnecessarily just a minor change could be needed, there is no need for another round test/langtools/tools/javac/ConditionalExpressionResolvePending.java line 38: > 36: * @build combo.ComboTestHelper

Re: RFR: JDK-8227046: compiler implementation for sealed classes, JDK-8227047: Javadoc for sealed types and JDK-8227044: javax.lang.model for sealed classes

2020-06-02 Thread Vicente Romero
thanks to all the reviewers, the code for sealed classes has already been pushed to mainline. Vicente On 5/18/20 6:42 PM, Vicente Romero wrote: Hi, Please review this patch for the compiler, javadoc and javax.lang.model support for the JEP 360 Sealed Classes (Preview). The changes are

Re: RFR: JDK-8227046: compiler implementation for sealed classes, JDK-8227047: Javadoc for sealed types and JDK-8227044: javax.lang.model for sealed classes

2020-05-25 Thread Vicente Romero
ion between the "sealed" token and the "class" token e.g. sealed @foo class Bar { } But maybe the quick fix would be to add MONKEY_AT to the set of expected tokens after sealed/non-sealed. Maurizio On 22/05/2020 19:25, Vicente Romero wrote: Hi, Thanks Jan and Maurizio

Re: RFR: JDK-8227046: compiler implementation for sealed classes, JDK-8227047: Javadoc for sealed types and JDK-8227044: javax.lang.model for sealed classes

2020-05-22 Thread Vicente Romero
e not considered subclasses. The word subtypes could be more general - but again, it is a bit imprecise, since we're talking about declarations here, not types. I'll defer this conundrum to our spec gurus :-) Cheers Maurizio On 18/05/2020 23:42, Vicente Romero wrote: Hi, Please

Re: RFR: JDK-8239378 Add Classpath Exception to license in source file.

2020-02-18 Thread Vicente Romero
looks good, Vicente On 2/18/20 4:58 PM, Jonathan Gibbons wrote: Please review a small change to add "Classpath Exception" to a file. The file itself is not actually used in the JDK build; it is just thge reference for a minified copy in another file. JBS: https://bugs.openjdk.java.net/browse

Fwd: RFR: JEP 359-Records: javadoc code

2019-10-17 Thread Vicente Romero
forwarding to javadoc-dev Forwarded Message Subject:RFR: JEP 359-Records: javadoc code Date: Thu, 17 Oct 2019 15:43:07 -0400 From: Vicente Romero To: Amber dev , compiler-...@openjdk.java.net CC: Jonathan Gibbons , Hannes Wallnoefer Hi, Please review

Re: RFR: XXS: JDK-8213265: fix missing newlines at end of files

2018-11-02 Thread Vicente Romero
looks good, Vicente On 11/1/18 6:04 PM, Jonathan Gibbons wrote: Please review a simple fix which fixes some files which did not end with a newline character. The changes were performed automagically by the following command:  for i in $(find test/langtools -name \*.html | xargs pcregrep -LM