The org.apache.poi.hssf.record.UnicodeString class doesn't compile under JDK 1.3 because it is calling new RuntimeException(Exception) this constructor was introduced in JDK 1.4 The offending code is in the method fillFields(byte[] , short) and the snippet below shows the problem. try { field_3_string = new String(data, 3, getCharCount(), StringUtil.getPreferredEncoding()); } catch (UnsupportedEncodingException e) { throw new RuntimeException(e); }
Created attachment 6196 [details] Fix for the bug.
applied. Thanks for catching this, we aim for 1.3 compliance, and hope for 1.2 :)