8306038: SystemModulesPlugin generates code that doesn't pop when return value not used
Reviewed-by: alanb, mchung
This commit is contained in:
parent
a31a11f44a
commit
c57af319f6
@ -1085,7 +1085,8 @@ public final class SystemModulesPlugin extends AbstractPlugin {
|
||||
}
|
||||
cob.invokevirtual(CD_MODULE_BUILDER,
|
||||
"requires",
|
||||
MTD_REQUIRES_ARRAY);
|
||||
MTD_REQUIRES_ARRAY)
|
||||
.pop();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1129,7 +1130,8 @@ public final class SystemModulesPlugin extends AbstractPlugin {
|
||||
}
|
||||
cob.invokevirtual(CD_MODULE_BUILDER,
|
||||
"exports",
|
||||
MTD_EXPORTS_ARRAY);
|
||||
MTD_EXPORTS_ARRAY)
|
||||
.pop();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1185,7 +1187,8 @@ public final class SystemModulesPlugin extends AbstractPlugin {
|
||||
}
|
||||
cob.invokevirtual(CD_MODULE_BUILDER,
|
||||
"opens",
|
||||
MTD_OPENS_ARRAY);
|
||||
MTD_OPENS_ARRAY)
|
||||
.pop();
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1254,7 +1257,8 @@ public final class SystemModulesPlugin extends AbstractPlugin {
|
||||
}
|
||||
cob.invokevirtual(CD_MODULE_BUILDER,
|
||||
"provides",
|
||||
MTD_PROVIDES_ARRAY);
|
||||
MTD_PROVIDES_ARRAY)
|
||||
.pop();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user