langtools/test/tools/sjavac/IncCompileChangeNative.java
changeset 35356 e919fd8db52c
parent 34473 5f7202c2125d
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.
    74         compile(GENSRC.toString(),
    74         compile(GENSRC.toString(),
    75                 "-d", BIN.toString(),
    75                 "-d", BIN.toString(),
    76                 "--state-dir=" + BIN,
    76                 "--state-dir=" + BIN,
    77                 "-h", HEADERS.toString(),
    77                 "-h", HEADERS.toString(),
    78                 "-j", "1",
    78                 "-j", "1",
    79                 SERVER_ARG,
       
    80                 "--log=debug");
    79                 "--log=debug");
    81         Map<String,Long> new_bin_state = collectState(BIN);
    80         Map<String,Long> new_bin_state = collectState(BIN);
    82         verifyNewerFiles(previous_bin_state, new_bin_state,
    81         verifyNewerFiles(previous_bin_state, new_bin_state,
    83                          BIN + "/beta/B.class",
    82                          BIN + "/beta/B.class",
    84                          BIN + "/beta/BINT.class",
    83                          BIN + "/beta/BINT.class",
   104         compile(GENSRC.toString(),
   103         compile(GENSRC.toString(),
   105                 "-d", BIN.toString(),
   104                 "-d", BIN.toString(),
   106                 "--state-dir=" + BIN,
   105                 "--state-dir=" + BIN,
   107                 "-h", HEADERS.toString(),
   106                 "-h", HEADERS.toString(),
   108                 "-j", "1",
   107                 "-j", "1",
   109                 SERVER_ARG,
       
   110                 "--log=debug");
   108                 "--log=debug");
   111         Map<String,Long> new_bin_state = collectState(BIN);
   109         Map<String,Long> new_bin_state = collectState(BIN);
   112         verifyNewerFiles(previous_bin_state, new_bin_state,
   110         verifyNewerFiles(previous_bin_state, new_bin_state,
   113                          BIN + "/beta/B.class",
   111                          BIN + "/beta/B.class",
   114                          BIN + "/beta/BINT.class",
   112                          BIN + "/beta/BINT.class",