< prev index next >
test/jdk/tools/pack200/TestExceptions.java
Print this page
rev 51977 : [mq]: 8211350-no-jprt
*** 108,118 ****
p.pack(ti.getJarFile(), ti.getOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // keep jprt happy
for (TestInput ti : tlist) {
if (ti != null) {
ti.close();
}
}
--- 108,118 ----
p.pack(ti.getJarFile(), ti.getOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // clean up
for (TestInput ti : tlist) {
if (ti != null) {
ti.close();
}
}
*** 141,151 ****
p.pack(ti.getJarInputStream(), ti.getOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // keep jprt happy
for (PackTestJarInputStream ti : tlist) {
if (ti != null) {
ti.close();
}
}
--- 141,151 ----
p.pack(ti.getJarInputStream(), ti.getOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // clean up
for (PackTestJarInputStream ti : tlist) {
if (ti != null) {
ti.close();
}
}
*** 175,185 ****
unpacker.unpack(ti.getInputStream(), ti.getJarOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // keep jprt happy
for (TestInput ti : tlist) {
if (ti != null) {
ti.close();
}
}
--- 175,185 ----
unpacker.unpack(ti.getInputStream(), ti.getJarOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // clean up
for (TestInput ti : tlist) {
if (ti != null) {
ti.close();
}
}
*** 208,218 ****
unpacker.unpack(ti.getInputFile(), ti.getJarOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // keep jprt happy
for (TestInput ti : tlist) {
if (ti != null) {
ti.close();
}
}
--- 208,218 ----
unpacker.unpack(ti.getInputFile(), ti.getJarOutputStream());
} catch (Exception e) {
ti.checkException(e);
}
}
! } finally { // clean up
for (TestInput ti : tlist) {
if (ti != null) {
ti.close();
}
}
< prev index next >