< prev index next >
src/jdk.jextract/share/classes/com/sun/tools/jextract/HeaderFile.java
Print this page
*** 62,72 ****
*/
void useCodeFactory(CodeFactory cf) {
if (null != this.cf) {
logger.config(() -> "CodeFactory had been initialized for " + path);
// Diagnosis code
! new Throwable().printStackTrace(System.out);
} else {
this.cf = cf;
}
}
--- 62,74 ----
*/
void useCodeFactory(CodeFactory cf) {
if (null != this.cf) {
logger.config(() -> "CodeFactory had been initialized for " + path);
// Diagnosis code
! if (Main.DEBUG) {
! new Throwable().printStackTrace(System.err);
! }
} else {
this.cf = cf;
}
}
< prev index next >