Skip to content

Commit 5e1b809

Browse files
committedFeb 11, 2021
8261444: Remove unused fields in Lower
Reviewed-by: vromero
1 parent a9c3680 commit 5e1b809

File tree

1 file changed

+0
-8
lines changed
  • src/jdk.compiler/share/classes/com/sun/tools/javac/comp

1 file changed

+0
-8
lines changed
 

‎src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java

-8
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,8 @@ public static Lower instance(Context context) {
9292
private DiagnosticPosition make_pos;
9393
private final ConstFold cfolder;
9494
private final Target target;
95-
private final Source source;
9695
private final TypeEnvs typeEnvs;
9796
private final Name dollarAssertionsDisabled;
98-
private final Name classDollar;
99-
private final Name dollarCloseResource;
10097
private final Types types;
10198
private final boolean debugLower;
10299
private final boolean disableProtectedAccessors; // experimental
@@ -114,14 +111,9 @@ protected Lower(Context context) {
114111
make = TreeMaker.instance(context);
115112
cfolder = ConstFold.instance(context);
116113
target = Target.instance(context);
117-
source = Source.instance(context);
118114
typeEnvs = TypeEnvs.instance(context);
119115
dollarAssertionsDisabled = names.
120116
fromString(target.syntheticNameChar() + "assertionsDisabled");
121-
classDollar = names.
122-
fromString("class" + target.syntheticNameChar());
123-
dollarCloseResource = names.
124-
fromString(target.syntheticNameChar() + "closeResource");
125117

126118
types = Types.instance(context);
127119
Options options = Options.instance(context);

0 commit comments

Comments
 (0)
Please sign in to comment.