-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
9
-
generic
-
generic
Test tools/pack200/Pack200Test.java fails during compilation:
error: unreported exception Exception; must be caught or declared to be thrown
jarList.add(Utils.createRtJar());
^
1 error
TEST RESULT: Failed. Compilation failed: Compilation failed
The problem is that Utils.createRtJar has more wider exception specification than Pack200Test.main.
static File createRtJar(String pattern) throws Exception
and
public static void main(String[] args) throws IOException
error: unreported exception Exception; must be caught or declared to be thrown
jarList.add(Utils.createRtJar());
^
1 error
TEST RESULT: Failed. Compilation failed: Compilation failed
The problem is that Utils.createRtJar has more wider exception specification than Pack200Test.main.
static File createRtJar(String pattern) throws Exception
and
public static void main(String[] args) throws IOException
- duplicates
-
JDK-8151901 test/tools/pack200/Pack200Test fails on verifying native unpacked JAR
-
- Closed
-