google-code-export / uimafit

Automatically exported from code.google.com/p/uimafit
2 stars 1 forks source link

JDK 1.5 compliance problem #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
uimaFIT cannot be compiled with Java 1.5.  I have been ignoring the eclipse 
warning that says something about not having a JDK 1.5 installed on my system 
even though we are targeting 1.5 compliance.  Turns out that ignoring this 
warning is not a good idea.  The compile error that presents when you compile 
with 1.5 is in org.uimafit.factory.JCasFactory line 209.  There is not 
constructor for IOException that takes a throwable in 1.5.  This is easily 
verified by looking at the javadocs for that version:

http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/api/java/io/IOExc
eption.html

compare that to the four constructors found in 1.6:
http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/java/io/IOExcepti
on.html

Original issue reported on code.google.com by pvogren@gmail.com on 21 Jul 2010 at 5:00

GoogleCodeExporter commented 9 years ago

Original comment by pvogren@gmail.com on 21 Jul 2010 at 5:17