langtools/test/tools/sjavac/IncCompileFullyQualifiedRef.java
changeset 35356 e919fd8db52c
parent 32799 ee577901f4bb
child 36526 3b41f1c69604
equal deleted inserted replaced
35355:817b3a285dbb 35356:e919fd8db52c
     1 /*
     1 /*
     2  * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2014, 2016, 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.
    60 
    60 
    61         compile(GENSRC.toString(),
    61         compile(GENSRC.toString(),
    62                 "-d", BIN.toString(),
    62                 "-d", BIN.toString(),
    63                 "--state-dir=" + BIN,
    63                 "--state-dir=" + BIN,
    64                 "-j", "1",
    64                 "-j", "1",
    65                 SERVER_ARG,
       
    66                 "--log=debug");
    65                 "--log=debug");
    67         Map<String,Long> previous_bin_state = collectState(BIN);
    66         Map<String,Long> previous_bin_state = collectState(BIN);
    68 
    67 
    69         // Change pubapi of A, this should trigger a recompile of B.
    68         // Change pubapi of A, this should trigger a recompile of B.
    70         tb.writeFile(GENSRC.resolve("alfa/omega/A.java"),
    69         tb.writeFile(GENSRC.resolve("alfa/omega/A.java"),
    75 
    74 
    76         compile(GENSRC.toString(),
    75         compile(GENSRC.toString(),
    77                 "-d", BIN.toString(),
    76                 "-d", BIN.toString(),
    78                 "--state-dir=" + BIN,
    77                 "--state-dir=" + BIN,
    79                 "-j", "1",
    78                 "-j", "1",
    80                 SERVER_ARG,
       
    81                 "--log=debug");
    79                 "--log=debug");
    82         Map<String,Long> new_bin_state = collectState(BIN);
    80         Map<String,Long> new_bin_state = collectState(BIN);
    83 
    81 
    84         verifyNewerFiles(previous_bin_state, new_bin_state,
    82         verifyNewerFiles(previous_bin_state, new_bin_state,
    85                          BIN + "/alfa/omega/A.class",
    83                          BIN + "/alfa/omega/A.class",