You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Jason van Zyl <jv...@apache.org> on 2001/06/28 05:15:09 UTC

Torque Security and Jikes

Hi,

I found the problem I was having resulted from using jikes. When
using jikes I get the following bunch of errors:

http://apache.org/~jvanzyl/ant.log

But when I use javac everything works fine. Is something fishy here
or what?

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Torque Security and Jikes

Posted by Rafal Krzewski <Ra...@e-point.pl>.
Jason van Zyl wrote:
> 
> Hi,
> 
> I found the problem I was having resulted from using jikes. When
> using jikes I get the following bunch of errors:
> 
> http://apache.org/~jvanzyl/ant.log
> 
> But when I use javac everything works fine. Is something fishy here
> or what?

Seems like that Jikes ignores the casting hint, and sees the ambiguity.
Why don't you make the methods all methods use interfaces? I think
that this should fix the problem.

Rafal

--
mgr inz. Rafal Krzewski
Senior Internet Developer
mailto:Rafal.Krzewski@e-point.pl
+48 22 8534830 http://e-point.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Torque Security and Jikes

Posted by Jon Stevens <jo...@latchkey.com>.
on 6/27/01 8:15 PM, "Jason van Zyl" <jv...@apache.org> wrote:

> Hi,
> 
> I found the problem I was having resulted from using jikes. When
> using jikes I get the following bunch of errors:
> 
> http://apache.org/~jvanzyl/ant.log
> 
> But when I use javac everything works fine. Is something fishy here
> or what?

Well, someone created a method signature of:

buildCriteria(org.apache.turbine.om.security.Role role)
buildCriteria(org.apache.turbine.om.security.TurbineRole obj)

IMHO, the second one is invalid and should be removed from
BaseTurbineRolePeer.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org