[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-user
Subject:    [groovy-user] Re: [groovy-eclipse-plugin-dev] Unable to locate bridged method for
From:       Roshan Dawrani <roshandawrani () codehaus ! org>
Date:       2009-10-26 11:48:10
Message-ID: 522638960910260436w5b61389bg4eff8dd791088526 () mail ! gmail ! com
[Download RAW message or body]

Hi,
I don't know the source of public void
de.effectivecompany.app.syscl.repimpl.ClSysLanguRepositoryImpl.this$dist$set$4(java.lang.String,java.lang.Object),
 so it is difficult to comment on that part at this point.

Here is the context in which GROOVY-3726 was fixed:
------------------------------------------------------------------------------------------------------------------------------
 Groovy generates getters/setters internally for fields and it was applying
the modifiers of the field onto the getter/setter without any change in any
scenario. Now say the field is volatile, this modifier used to get passed on
to getters/setters methods as-is and because Java's uses the same modifier
bits for volatile (fields)/bridge(methods), this getter/setter were
incorrectly showing up as bridge methods. (Same was the issue with transient
(fields) / varargs(methods) modifier bits, which are same again)
------------------------------------------------------------------------------------------------------------------------------


Now knowing about where the method in question here comes from and the
context of GROOVY-3726 fix, can you their relation any better? They may be
related somehow (but that will be clear only when more details come out) or
they may just be related by the error messge ("bridge method")

-- Roshan

On Mon, Oct 26, 2009 at 4:49 PM, Marcel Wagner <marcel.wagner@gmx.de> wrote:

> With the new Groovy plugin 1.7 beta2 I can't start our project. I get the
> follwoing error:
> 
> java.lang.IllegalStateException: Unable to locate bridged method for bridge
> method 'public void
> de.effectivecompany.app.syscl.repimpl.ClSysLanguRepositoryImpl.this$dist$set$4(java.lang.String,java.lang.Object)'
>  at
> org.springframework.core.BridgeMethodResolver.findBridgedMethod(BridgeMethodResolver.java:86)
>  
> 
> It seems it is a groovy bug (Groovy-3726), it should be fixed in 1.7-beta2,
> that I tried the new eclipse plugin with 1.7-beta2, but I can't start our
> server now ;-(.
> We are using spring 2.5.6.SEC01.
> 
> With the old plugin, we have not this problems (groovy 1.6.3).
> 
> So perhaps it is a groovy eclipse plugin bug or still a groovy bug?
> 
> Any ideas?
> 
> Marcel
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
> http://xircles.codehaus.org/manage_email
> 
> 
> 


[Attachment #3 (text/html)]

Hi,<br>I don&#39;t know the source of public void \
de.effectivecompany.app.syscl.repimpl.ClSysLanguRepositoryImpl.this$dist$set$4(java.lang.String,java.lang.Object), \
so it is difficult to comment on that part at this point.<br> <br>Here is the context \
in which GROOVY-3726 was \
fixed:<br>------------------------------------------------------------------------------------------------------------------------------<br>Groovy \
generates getters/setters internally for fields and it was applying the modifiers of \
the field onto the getter/setter without any change in any scenario. Now say the \
field is volatile, this modifier used to get passed on to getters/setters methods \
as-is and because Java&#39;s uses the same modifier bits for volatile \
(fields)/bridge(methods), this getter/setter were incorrectly showing up as bridge \
methods. (Same was the issue with transient (fields) / varargs(methods) modifier \
                bits, which are same again)<br>
------------------------------------------------------------------------------------------------------------------------------<br><br>Now \
knowing about where the method in question here comes from and the context of \
GROOVY-3726 fix, can you their relation any better? They may be related somehow (but \
that will be clear only when more details come out) or they may just be related by \
the error messge (&quot;bridge method&quot;)<br> <br>-- Roshan<br><br><div \
class="gmail_quote">On Mon, Oct 26, 2009 at 4:49 PM, Marcel Wagner <span \
dir="ltr">&lt;<a href="mailto:marcel.wagner@gmx.de">marcel.wagner@gmx.de</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> With the new Groovy plugin 1.7 \
beta2 I can&#39;t start our project. I get the follwoing error:<br> <br>
java.lang.IllegalStateException: Unable to locate bridged method for bridge method \
&#39;public void de.effectivecompany.app.syscl.repimpl.ClSysLanguRepositoryImpl.this$dist$set$4(java.lang.String,java.lang.Object)&#39;<br>


   at org.springframework.core.BridgeMethodResolver.findBridgedMethod(BridgeMethodResolver.java:86)<br>
 <br>
<br>
It seems it is a groovy bug (Groovy-3726), it should be fixed in 1.7-beta2, that I \
tried the new eclipse plugin with 1.7-beta2, but I can&#39;t start our server now \
;-(.<br> We are using spring 2.5.6.SEC01.<br>
<br>
With the old plugin, we have not this problems (groovy 1.6.3).<br>
<br>
So perhaps it is a groovy eclipse plugin bug or still a groovy bug?<br>
<br>
Any ideas?<br>
<br>
Marcel<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
   <a href="http://xircles.codehaus.org/manage_email" \
target="_blank">http://xircles.codehaus.org/manage_email</a><br> <br>
<br>
</blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic