< prev index next >
test/langtools/tools/javac/6917288/T6917288.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2018, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -67,11 +67,18 @@
if (rc != 0) {
error("compilation failed: rc=" + rc);
return;
}
+ switch (k) {
+ case ALWAYS:
+ case TRUE:
check(classesDir, "Test.class", "Test$Inner.class", "Test$1.class");
+ break;
+ default:
+ check(classesDir, "Test.class", "Test$Inner.class");
+ }
}
/**
* Compile files with given options.
* Display any output from compiler, and return javac return code.
< prev index next >