jcabi-aspects icon indicating copy to clipboard operation
jcabi-aspects copied to clipboard

Logging overloaded method throw ClassCastExcetpion

Open sliskipl opened this issue 9 years ago • 5 comments

I have some class with overloaded methods and when i try to log this method i get ClassCastException, here is example

class SomeClassImpl implements SomeClass {
    @Transactional
    @Override 
    someMethod( someDTO dto ){
    //some body
    }
    @Transactional
    @Override 
    @Loggable
    someMethod( anotherDTO dto ){
    //some body
    }
}

What i get is that cannot cast from anotherDTO to someDTO

sliskipl avatar Apr 13 '15 08:04 sliskipl

@yegor256 please do something about this issue

dmarkov avatar Jun 15 '15 07:06 dmarkov

Hello,

Any news on this issue ? Thanks

oziade avatar Jul 21 '15 12:07 oziade

@piddubnyi the task is yours, go ahead

dmarkov avatar Feb 09 '16 13:02 dmarkov

@piddubnyi this task is in your hands for 16 days already. -30 added to your rating, current score is: +150

dmarkov avatar Feb 26 '16 12:02 dmarkov

@piddubnyi the task is not yours any more, please stop... -60 added to your rating, current score is: +30

dmarkov avatar Feb 29 '16 13:02 dmarkov