Re: [scala] Mixing Scala and Java in the same project
Thanks to Seth and Ilya for their careful bug reporting! I believe
there are still some minor glitches, and a major one. I expect that
some of the remaining minor glitches can be fixed, and hope the others
will have workarounds.
There's one major problem left, at the moment. I don't think we can
guarantee yet that
when you do
scalac *.scala *.java
javac *.java
that all Scala classfiles will work correctly. The problem is that the
mapping Java->Scala seems to be (lmostly) good enough for the type
checker, but not necessarily good enough for the Java code generator.
So, to be safe, you should follow the sequence above by another Scala
compilation:
scalac *.scala
That's just to be safe. Please continue to send tickets for cases
where the two-step sequence
(scalac/javac) is not sufficient and we will try to fix them ASAP.
Cheers
-- Martin