8081347: Add @modules to jdk_core testsReviewed-by: alanb, joehw, lanceaContributed-by: alexander.kulyakhtin@oracle.com, alan.bateman@oracle.com, mandy.chung@oracle.com
8039816: Some tests depend on internal API sun.security.action.GetPropertyActionSummary: Replace sun.security.action.GetPropertyAction usages with lambda expressions creating java.security.PrivilegedAction.Reviewed-by: alanb, mchung, chegarContributed-by: Alexandre Iline <alexandre.iline@oracle.com>
8027991: InputStream should be closed in sun.security.tools.jarsigner.MainReviewed-by: xuelei