mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8161020: javac, fold stop compilation options
Reviewed-by: mcimadamore
This commit is contained in:
parent
0917774834
commit
a7cc024b53
30 changed files with 67 additions and 51 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 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
|
||||
|
@ -311,7 +311,7 @@ public class CheckAttributedTree {
|
|||
final List<CompilationUnitTree> trees = new ArrayList<>();
|
||||
Iterable<? extends Element> elems = newCompilationTask()
|
||||
.withWriter(pw)
|
||||
.withOption("-XDshouldStopPolicy=ATTR")
|
||||
.withOption("-Xshouldstop:at=ATTR")
|
||||
.withOption("-XDverboseCompilePolicy")
|
||||
.withSource(files.iterator().next())
|
||||
.withListener(new TaskListener() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue