mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-16 10:53:31 +00:00
7104905: Java SE build fails on call to CreateSymbols
Reviewed-by: jjg
This commit is contained in:
parent
d20f9f51bc
commit
b171ddacd0
@ -327,7 +327,9 @@ public class Locations {
|
||||
*/
|
||||
protected LocationHandler(Location location, OptionName... options) {
|
||||
this.location = location;
|
||||
this.options = EnumSet.copyOf(Arrays.asList(options));
|
||||
this.options = options.length == 0 ?
|
||||
EnumSet.noneOf(OptionName.class):
|
||||
EnumSet.copyOf(Arrays.asList(options));
|
||||
}
|
||||
|
||||
// TODO: TEMPORARY, while Options still used for command line options
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user