error using a type with @BeanProperty annotation from the java side
As reported on the mailing list there is still a problem related to the @BeanProperty annoatation:
Very often - but not always - I get an error on the side that 'setFooService' is not availabe. After making a dummy change on the scala side - adding or removing a ';' - it works.
Scala IDE 1.0.0.201103232358-null
Lothar
//scala side
import scala.reflect.BeanProperty
class BeanPropertyService {
@BeanProperty var fooService: FooService = null
}
class FooService {
}
//java side
public class BeanPropertyServiceTest {
@Test
public void test1() {
new BeanPropertyService().setFooService(new FooService());
}
}
Very often - but not always - I get an error on the side that 'setFooService' is not availabe. After making a dummy change on the scala side - adding or removing a ';' - it works.
Scala IDE 1.0.0.201103232358-null
Lothar
Leave a comment
on 2011-03-25 08:55 *
By Iulian Dragos
Description changed from As reported on the mailing ... to As reported on the mailing ...
Milestone set to 1.1
Status changed from New to Accepted
I think this needs a revamped structure builder, something we plan to do for 1.1. I'll see if we can come up with a temporary fix, but I'll put this for 1.1 nevertheless.
on 2011-03-25 09:12 *
By eugene.vigdorchik
Iulian,
I'm afraid this is a regression that needs to be fixed for 1.0.
I'm afraid this is a regression that needs to be fixed for 1.0.
Ok, I moved it to 1.0.
Updating tickets (#1000238, #1000326, #1000331, #1000264, #1000298, #1000314, #1000315, #1000325, #1000329, #1000333, #1000277, #1000209, #1000210, #1000288, #1000299, #1000300, #1000301, #1000305, #1000309, #1000310, #1000327, #1000270, #1000292, #1000293, #1000294, #1000295, #1000297, #1000303, #1000304, #1000312, #1000320)
(In revision:b63ac52b985b708578f3f95baae675d7860bf9d8) Add bean getters/setters to the structure builder. Fixed #1000264.
Branch:wip_experiment
Branch:wip_experiment
on 2011-04-14 22:53 *
By Iulian Dragos
(In revision:5bd845549ac4fb6436d9c7af9c46ad71c9934af1) Add bean getters/setters to the structure builder. Fixed #1000264.
Branch:repl_wip
Branch:repl_wip