langtools/test/tools/javac/processing/6430209/b6341534.java
changeset 8846 39157538c506
parent 6720 f16f91662ad8
equal deleted inserted replaced
8845:42fb82dfbf52 8846:39157538c506
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    54             }
    54             }
    55         }
    55         }
    56         // on round 1, expect errorRaised == false && processingOver == false
    56         // on round 1, expect errorRaised == false && processingOver == false
    57         // on round 2, expect errorRaised == true && processingOver == true
    57         // on round 2, expect errorRaised == true && processingOver == true
    58         if( renv.errorRaised() != renv.processingOver()) {
    58         if( renv.errorRaised() != renv.processingOver()) {
    59             messager.printMessage(ERROR, "FAILED");
    59             messager.printMessage(ERROR, "FAILED: round:" + r
       
    60                 + ", errorRaised:" + renv.errorRaised()
       
    61                 + ", processingOver:" + renv.processingOver());
    60         }
    62         }
    61         return true;
    63         return true;
    62     }
    64     }
    63 }
    65 }