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:
parent
df4ae79b41
commit
f3a0018175
|
@ -97,7 +97,7 @@ public class CustomSuggestion extends Suggest.Suggestion<CustomSuggestion.Entry>
|
|||
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 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));
|
||||
}
|
||||
|
|
|
@ -271,7 +271,7 @@ public final class CompletionSuggestion extends Suggest.Suggestion<CompletionSug
|
|||
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 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));
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ public class PhraseSuggestion extends Suggest.Suggestion<PhraseSuggestion.Entry>
|
|||
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 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));
|
||||
}
|
||||
|
|
|
@ -190,7 +190,7 @@ public class TermSuggestion extends Suggestion<TermSuggestion.Entry> {
|
|||
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 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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue