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

Java 14 records support #67

Closed
volyx opened this issue Jun 17, 2020 · 2 comments
Closed

Java 14 records support #67

volyx opened this issue Jun 17, 2020 · 2 comments

Comments

@volyx
Copy link

volyx commented Jun 17, 2020

Now qdox throws exception Exception in thread "main" com.thoughtworks.qdox.parser.ParseException: syntax error @[5,8] in when parse file

public record ConnectedUser(
	String _id,
	String username,
	Image image
) {
}
@rfscholte
Copy link
Collaborator

There's no official spec for it, see https://docs.oracle.com/javase/specs/jvms/se14/preview/specs/records-jvms.html#jvms-4.7.9.1
I prefer not to include preview features, as its result is unknown.
Consider a personal fork to add record support, and once official you can consider to provide a PR for it.

rfscholte added a commit that referenced this issue Oct 22, 2021
@rfscholte
Copy link
Collaborator

Fixed with c3aac2d

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

2 participants