Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Support for private methods in interfaces (Java 9+) #103

Open
smola opened this issue Dec 17, 2018 · 0 comments
Open

Support for private methods in interfaces (Java 9+) #103

smola opened this issue Dec 17, 2018 · 0 comments

Comments

@smola
Copy link
Member

smola commented Dec 17, 2018

As of Java 9, interface can include private methods with implementation. Example:

public interface Interface {
    private void init() {}
}

Currently the driver returns an error: syntax error: Abstract methods do not specify a body

More generally, we'll need a native parser update to support all new features from Java 9 to 11.

@dennwc dennwc changed the title Support for private methods in interfaces Support for private methods in interfaces (Java 9+) Jan 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant