Reputation: 201
i used the current versions of Eclipse and Java. I try to moved my RCP application from Java 8 to Java 11. My applications runs but now i have functional issues because i have to remove the @PostConstruct annotation from my code.
Exist any other alternative for this injection annotation?
Upvotes: 1
Views: 600
Reputation: 111142
For Eclipse e4 the PostConstruct
annotation is in the javax.annotation
plug-in. Add that as a dependency to your plug-ins and continue to use PostConstruct.
Upvotes: 2