5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-04 01:50:32 +08:00

SQOOP-1008: Test TestClassWriter.testNoClassGeneration is failing on JDK7

(Jarek Jarcec Cecho via Kate Ting)
This commit is contained in:
Kate Ting 2013-04-23 18:46:47 -04:00
parent ed2a903634
commit aa6813e36d

View File

@ -513,8 +513,8 @@ private void runFailedGenerationTest(String [] argv,
writer.generate();
compileMgr.compile();
fail("ORM class file generation succeeded when it was expected to fail");
} catch (IOException ioe) {
LOG.error("Got IOException from ORM generation as expected : "
} catch (Exception ioe) {
LOG.error("Got Exception from ORM generation as expected : "
+ ioe.toString());
}
}