Java 1.4 StringBuilder

512 views
Skip to first unread message

michi

unread,
Jan 20, 2008, 5:05:44 PM1/20/08
to joid-dev
Hi
I tried to compile the most recent joid (trunk revision 80) with Java
1.4 but received some errors because joid is using
java.lang.StringBuilder, whereas AFAIK StringBuilder only exists since
Java 1.5, so I guess the Wiki page

http://code.google.com/p/joid/wiki/Introduction

is wrong about Java 1.4, right?

Thanks

Michael

Travis Reeder

unread,
Jan 20, 2008, 5:52:42 PM1/20/08
to joid...@googlegroups.com
Just checked in the fix for this. Please do an update and try again.

Travis

Michael Wechner

unread,
Jan 20, 2008, 6:01:33 PM1/20/08
to joid...@googlegroups.com
Travis Reeder wrote:

> Just checked in the fix for this. Please do an update and try again.


thanks very much. That helped, whereas I still receive some other errors
(using Java 1.4.2_10-b03)

compile:
[javac] Compiling 45 source files to
/home/michi/src/openid/joid-trunk/classes/core
[javac]
/home/michi/src/openid/joid-trunk/src/org/verisign/joid/CheckAuthenticationResponse.java:58:
cannot resolve symbol
[javac] symbol : method parseBoolean (java.lang.String)
[javac] location: class java.lang.Boolean
[javac] isValid = Boolean.parseBoolean(value);
[javac] ^
[javac]
/home/michi/src/openid/joid-trunk/src/org/verisign/joid/consumer/Discoverer.java:39:
cannot resolve symbol
[javac] symbol : method contains (java.lang.String)
[javac] location: class java.lang.String
[javac] if(str.contains("</head>")){
[javac] ^
[javac]
/home/michi/src/openid/joid-trunk/src/org/verisign/joid/consumer/OpenIdFilter.java:48:
cannot resolve symbol
[javac] symbol : method parseBoolean (java.lang.String)
[javac] location: class java.lang.Boolean
[javac] saveIdentityUrlAsCookie =
Boolean.parseBoolean(saveInCookie);
[javac] ^
[javac] 3 errors

BUILD FAILED


Cheers

Michael

>
> Travis
>
> On Jan 20, 2008 2:05 PM, michi <michael...@wyona.com

> <mailto:michael...@wyona.com> > wrote:
>
>
> Hi
> I tried to compile the most recent joid (trunk revision 80) with Java
> 1.4 but received some errors because joid is using
> java.lang.StringBuilder, whereas AFAIK StringBuilder only exists since
> Java 1.5, so I guess the Wiki page
>
> http://code.google.com/p/joid/wiki/Introduction
>
> is wrong about Java 1.4, right?
>
> Thanks
>
> Michael
>
>
>
>
> >


--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael...@wyona.com, mi...@apache.org
+41 44 272 91 61

Reply all
Reply to author
Forward
0 new messages