adapt test data to get the same and stable results with both javac6 and javac11

GitOrigin-RevId: 54f46ef3a7198e74af9088e52a57420c27fe0b2f
This commit is contained in:
Eugene Zhuravlev
2019-06-15 17:01:48 +03:00
committed by intellij-monorepo-bot
parent ecd25c9ecc
commit c9c165702a
8 changed files with 36 additions and 43 deletions
@@ -42,7 +42,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA jdk" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" project-jdk-name="IDEA jdk" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
@@ -42,7 +42,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA jdk" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" project-jdk-name="IDEA jdk" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
@@ -1,15 +1,12 @@
Cleaning output files:
out/production/SetPackagePrivate/qqq/Util$1.class
out/production/SetPackagePrivate/qqq/Util$Base.class
out/production/SetPackagePrivate/qqq/Util$BaseImpl.class
out/production/SetPackagePrivate/qqq/Util.class
out/production/SetPackagePrivate/qqq/Base.class
out/production/SetPackagePrivate/qqq/BaseImpl.class
End of files
Compiling files:
src/qqq/Util.java
src/qqq/BaseImpl.java
End of files
Cleaning output files:
out/production/SetPackagePrivate/ppp/Client$MyUtil$1.class
out/production/SetPackagePrivate/ppp/Client$MyUtil.class
out/production/SetPackagePrivate/ppp/Client$1.class
out/production/SetPackagePrivate/ppp/Client.class
End of files
Compiling files:
@@ -1,16 +1,14 @@
package ppp;
import qqq.Util;
import qqq.BaseImpl;
public class Client {
private static class MyUtil extends Util {
public static void perform() {
BaseImpl impl = new BaseImpl() {
@Override
protected void init() {
System.out.println(myMessage);
}
};
}
public static void perform() {
BaseImpl impl = new BaseImpl() {
@Override
protected void init() {
System.out.println(myMessage);
}
};
}
}
@@ -0,0 +1,11 @@
package qqq;
public class BaseImpl extends Base {
protected void init() {
}
}
class Base {
protected String myMessage = "msg";
}
@@ -0,0 +1,11 @@
package qqq;
public class BaseImpl extends Base {
protected void init() {
}
}
class Base {
String myMessage = "msg";
}
@@ -1,12 +0,0 @@
package qqq;
public class Util {
private static class Base {
protected String myMessage = "msg";
}
protected static class BaseImpl extends Base {
protected void init() {
}
}
}
@@ -1,12 +0,0 @@
package qqq;
public class Util {
private static class Base {
String myMessage = "msg";
}
protected static class BaseImpl extends Base {
protected void init() {
}
}
}