Commit 2f063b8 1 parent ab6b7ef commit 2f063b8 Copy full SHA for 2f063b8
File tree 1 file changed +0
-13
lines changed
src/jdk.compiler/share/classes/com/sun/tools/javac/comp
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -2175,10 +2175,6 @@ public void visitClassDef(JCClassDecl tree) {
2175
2175
Lint lintPrev = lint ;
2176
2176
lint = lint .augment (tree .sym );
2177
2177
try {
2178
- if (tree .sym == null ) {
2179
- return ;
2180
- }
2181
-
2182
2178
JCClassDecl classDefPrev = classDef ;
2183
2179
int firstadrPrev = firstadr ;
2184
2180
int nextadrPrev = nextadr ;
@@ -2265,15 +2261,6 @@ public void visitMethodDef(JCMethodDecl tree) {
2265
2261
Lint lintPrev = lint ;
2266
2262
lint = lint .augment (tree .sym );
2267
2263
try {
2268
- if (tree .body == null ) {
2269
- return ;
2270
- }
2271
- /* Ignore synthetic methods, except for translated lambda methods.
2272
- */
2273
- if ((tree .sym .flags () & (SYNTHETIC | LAMBDA_METHOD )) == SYNTHETIC ) {
2274
- return ;
2275
- }
2276
-
2277
2264
final Bits initsPrev = new Bits (inits );
2278
2265
final Bits uninitsPrev = new Bits (uninits );
2279
2266
int nextadrPrev = nextadr ;
You can’t perform that action at this time.
0 commit comments