Skip to content
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

Addition of class type parameter to super-interface marked as removal #32

Open
umbrant opened this issue Aug 25, 2016 · 0 comments
Open

Comments

@umbrant
Copy link

umbrant commented Aug 25, 2016

I found this while comparing Apache Hadoop 2.7.2 with 3.0.0-alpha2 (trunk).

We have a class that looked like this in 2.7.2:

public class FileStatus implements Writable, Comparable {

We changed it to this:

public class FileStatus implements Writable, Comparable<FileStatus> {

I think this is compatible based on my read of https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html#jls-13.4.5 . In any case, JACC says that Comparable was removed, which isn't quite accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant