-
Notifications
You must be signed in to change notification settings - Fork 121
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
"Unable to locate class file for inner class" (mixed compilation bug?) #797
Comments
If you in the Java class do and replace then in the Java class replace LazyBraunHeapLF.NodeEvalState with just NodeEvalState it will work |
@dlilljegren Sorry for a really late ping. But if you have the access to the codebase exhibiting the issue, may I receive a copy of the codebase/access to the codebase? Currently a reproduction is provided but the reproduction involves some custom classes such as |
Jerry I have no recollection of which version of my code exhibited this
issue but if you are trying to repro I could probably track it down. Is the
repro snippet missing something ?
--
~Thomas
|
Thanks for the reply! One thing that is missing is the definition of |
@ghik Sorry for 4 year old ping. Since you encountered the same issue, I would like to also request a reproduction from you if feasible. It doesn't have to be fully minimized (although a reproduction containing only several files can really make debugging easier). Having 2 different reproductions for 1 issue can really help rule out some possibilities, especially if the 2 reproductions involve seemingly different source code. So it would help me & other zinc contributors a lot. |
@Friendseeker unfortunately, I'm no longer working in the company where I encountered this. It was a relatively large, mixed Java-Scala codebase, and we used to compile it in "mixed" compilation mode, where Java & Scala code can refer to each other in both ways. |
(Reported by @elfprince13 as scala/bug#11062.)
I have two source files, one Java, one Scala.
The Java class definition is as follows:
The Scala source contains the following:
Everything works fine with a clean build, or if the definition of
class EmptyNode[E]
is commented out; however, after roughly ~1 edit cycle, I get the following error message:I'm using Scala 2.12.6 on Java 8. Notably, the class file in question exists on my file system.
The text was updated successfully, but these errors were encountered: