-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Data with staticConstructor="..." and generic parameter does not compile with javac #478
Comments
👤 brinkmann.michael 🕗 Aug 04, 2012 at 19:44 UTC What steps will reproduce the problem?
public interface Interface<T> {}
import lombok.Data; @ Data(staticConstructor = "of") What is the expected output? What do you see instead? With javac 1.6.0_33, I get the following error: With javac 1.7.0_04, I get the following error: error: constructor ClassNotOk in class ClassNotOk<T﹟2> cannot be applied to given types; What version of the product are you using? On what operating system? Please provide any additional information below. This handcoded class does compile ok (eclipse AND javac): import lombok.AccessLevel; @ Data public static <T> ClassOk<T> of(final Interface<T> value) { |
👤 reinierz 🕗 Aug 12, 2012 at 22:36 UTC |
👤 reinierz 🕗 Aug 12, 2012 at 22:36 UTC Duplicate of issue #469 |
End of migration |
Migrated from Google Code (issue 405)
The text was updated successfully, but these errors were encountered: