Hi,
On Sun, Jan 18, 2009 at 7:17 PM, Jeremias Maerki <[email protected]>
wrote:
> I wonder: would it be possible to configure Hudson so it compiles PDFBox
> with Java 1.4? That would catch things like that sooner.
Done.
I had to set the build to use Java 5 back when it was first set it up
to avoid failing with some Java 5 constructs there were in the
codebase back then. Those issues were fixed, but I never got around to
changing Hudson configuration to use Java 1.4.
Now the build is using Java 1.4, and producing the following errors:
[javac]
/zonestorage/hudson/home/hudson/hudson/jobs/PDFBox-trunk/workspace/trunk/src/main/java/org/apache/pdfbox/util/ICU4JImpl.java:74:
cannot resolve symbol
[javac] symbol : method codePointAt (int)
[javac] location: class java.lang.String
[javac] if (((a_str.codePointAt(i) >= 0xFB00) &&
(a_str.codePointAt(i) <= 0xFDFF)) ||
[javac] ^
[javac]
/zonestorage/hudson/home/hudson/hudson/jobs/PDFBox-trunk/workspace/trunk/src/main/java/org/apache/pdfbox/util/ICU4JImpl.java:74:
cannot resolve symbol
[javac] symbol : method codePointAt (int)
[javac] location: class java.lang.String
[javac] if (((a_str.codePointAt(i) >= 0xFB00) &&
(a_str.codePointAt(i) <= 0xFDFF)) ||
[javac] ^
[javac]
/zonestorage/hudson/home/hudson/hudson/jobs/PDFBox-trunk/workspace/trunk/src/main/java/org/apache/pdfbox/util/ICU4JImpl.java:75:
cannot resolve symbol
[javac] symbol : method codePointAt (int)
[javac] location: class java.lang.String
[javac] ((a_str.codePointAt(i) >= 0xFE70) &&
(a_str.codePointAt(i) <= 0xFEFF))) {
[javac] ^
[javac]
/zonestorage/hudson/home/hudson/hudson/jobs/PDFBox-trunk/workspace/trunk/src/main/java/org/apache/pdfbox/util/ICU4JImpl.java:75:
cannot resolve symbol
[javac] symbol : method codePointAt (int)
[javac] location: class java.lang.String
[javac] ((a_str.codePointAt(i) >= 0xFE70) &&
(a_str.codePointAt(i) <= 0xFEFF))) {
BR,
Jukka Zitting