mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8056989: Sjavac --server option should be optional
8147568: NullPointerException in option parsing Made --server option optional (and background=true implied) Reviewed-by: jlahoda, erikj
This commit is contained in:
parent
efa7c6652a
commit
5cd3c7cac8
25 changed files with 48 additions and 81 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -62,7 +62,7 @@ public class CompileWithAtFile extends SJavacTester {
|
|||
Files.createDirectory(BIN);
|
||||
Map<String,Long> previous_bin_state = collectState(BIN);
|
||||
|
||||
compile("@" + GENSRC + "/list.txt", "--server:portfile=testserver,background=false");
|
||||
compile("@" + GENSRC + "/list.txt");
|
||||
|
||||
Map<String,Long> new_bin_state = collectState(BIN);
|
||||
verifyThatFilesHaveBeenAdded(previous_bin_state, new_bin_state,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue