--- old/test/hotspot/jtreg/runtime/LoadClass/TestResize.java 2018-05-16 12:34:41.000000000 -0500 +++ new/test/hotspot/jtreg/runtime/LoadClass/TestResize.java 2018-05-16 12:34:40.000000000 -0500 @@ -83,6 +83,9 @@ double loadFactor = (double)classes / (double)table_size; if (loadFactor > MAX_LOAD_FACTOR) { + Scanner scanner_out = new Scanner(process.getInputStream()).useDelimiter("\\A"); + String string_out = scanner_out.hasNext() ? scanner_out.next() : ""; + System.out.println(string_out); throw new RuntimeException("Load factor too high, expected MAX "+MAX_LOAD_FACTOR+", got "+loadFactor); } else { System.out.println("PASS table_size:"+table_size+", classes:"+classes+" OK");