mdedetrich commented on PR #593: URL: https://github.com/apache/incubator-pekko/pull/593#issuecomment-1695441050
So I did a little digging, the core issue appear to be that the Java sources are not fed properly into the compiler i.e. ``` [error] /Users/mdedetrich/github/incubator-pekko/actor-typed-tests/src/test/java/jdocs/org/apache/pekko/typed/AggregatorTest.java:136:1: cannot find symbol [error] symbol: class AbstractBehavior [error] location: interface jdocs.org.apache.pekko.typed.AggregatorTest.IllustrateUsage [error] AbstractBehavior ``` Now `AbstractBehavior` is defined as a Scala source in another project. Initially I thought that the problem might be with compile order so I tried to set `MultiJvm / compileOrder := CompileOrder.Mixed`/`MultiJvm / compileOrder := CompileOrder.ScalaThenJava` into MultiJvm settings but that didn't have any impact. Now if I revert some of the changes that javafmt did on some of the source files, it does genuinely fix the issue. It appears that the import order is changing the semantics of the java source files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
