mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
adapt test data to get the same and stable results with both javac6 and javac11
GitOrigin-RevId: 54f46ef3a7198e74af9088e52a57420c27fe0b2f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ecd25c9ecc
commit
c9c165702a
+1
-1
@@ -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
-1
@@ -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>
|
||||
|
||||
+4
-7
@@ -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:
|
||||
|
||||
+8
-10
@@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package qqq;
|
||||
|
||||
public class BaseImpl extends Base {
|
||||
protected void init() {
|
||||
}
|
||||
}
|
||||
|
||||
class Base {
|
||||
protected String myMessage = "msg";
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package qqq;
|
||||
|
||||
public class BaseImpl extends Base {
|
||||
protected void init() {
|
||||
}
|
||||
}
|
||||
|
||||
class Base {
|
||||
String myMessage = "msg";
|
||||
}
|
||||
|
||||
-12
@@ -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() {
|
||||
}
|
||||
}
|
||||
}
|
||||
-12
@@ -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() {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user