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 Interop: Scala compiler could not parse a java class definitions closed with }; #5638

Closed
scabug opened this issue Apr 1, 2012 · 2 comments

Comments

@scabug
Copy link

scabug commented Apr 1, 2012

When using a scala-java cross compilation I often get the error when trying to compile with classes like that:

public class Among {

/** class body */

};

Error message: error: illegal start of type declaration };

@scabug
Copy link
Author

scabug commented Apr 1, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5638?orig=1
Reporter: Aliaksandr Zhuhrou (zhygr)
Affected Versions: 2.10.0

@hrhino
Copy link
Member

hrhino commented Sep 14, 2017

This has been fixed since 2.11.0 at least.

@hrhino hrhino closed this as completed Sep 14, 2017
@SethTisue SethTisue removed this from the Backlog milestone Sep 14, 2017
hrhino added a commit to hrhino/scala that referenced this issue Jan 16, 2018
- scala/bug#5638 was fixed by something farther back than I can build.
- scala/bug#8348 was fixed by scala#5251.
- scala/bug#9291 was fixed by scala#6092.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants