Update link to JDK 14 compiler bug

This commit updates the link to the JDK 14 compiler bug that we have
found. At the time that we committed the workaround, we had a submission
ID, but not yet the public bug URL. This commit adds the public bug URL.
This commit is contained in:
Jason Tedor 2020-04-07 06:25:00 -04:00
parent df4ae79b41
commit f3a0018175
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
4 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ public class CustomSuggestion extends Suggest.Suggestion<CustomSuggestion.Entry>
PARSER.declareString((entry, dummy) -> entry.dummy = dummy, DUMMY); PARSER.declareString((entry, dummy) -> entry.dummy = dummy, DUMMY);
/* /*
* The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug. * The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug.
* The bug ID is 9064309. * The bug is: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8242214
*/ */
PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p, c) -> Option.fromXContent(p), new ParseField(OPTIONS)); PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p, c) -> Option.fromXContent(p), new ParseField(OPTIONS));
} }

View File

@ -271,7 +271,7 @@ public final class CompletionSuggestion extends Suggest.Suggestion<CompletionSug
declareCommonFields(PARSER); declareCommonFields(PARSER);
/* /*
* The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug. * The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug.
* The bug ID is 9064309. * The bug is: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8242214
*/ */
PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p,c) -> Option.fromXContent(p), new ParseField(OPTIONS)); PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p,c) -> Option.fromXContent(p), new ParseField(OPTIONS));
} }

View File

@ -125,7 +125,7 @@ public class PhraseSuggestion extends Suggest.Suggestion<PhraseSuggestion.Entry>
declareCommonFields(PARSER); declareCommonFields(PARSER);
/* /*
* The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug. * The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug.
* The bug ID is 9064309. * The bug is: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8242214
*/ */
PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p, c) -> Option.fromXContent(p), new ParseField(OPTIONS)); PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p, c) -> Option.fromXContent(p), new ParseField(OPTIONS));
} }

View File

@ -190,7 +190,7 @@ public class TermSuggestion extends Suggestion<TermSuggestion.Entry> {
declareCommonFields(PARSER); declareCommonFields(PARSER);
/* /*
* The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug. * The use of a lambda expression instead of the method reference Entry::addOptions is a workaround for a JDK 14 compiler bug.
* The bug ID is 9064309. * The bug is: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8242214
*/ */
PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p, c) -> Option.fromXContent(p), new ParseField(OPTIONS)); PARSER.declareObjectArray((e, o) -> e.addOptions(o), (p, c) -> Option.fromXContent(p), new ParseField(OPTIONS));
} }