Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
As mentioned in https://github.com/apache/kafka/pull/9548, users currently use the kafka jar (`core` module) for integration testing and the current inlining behavior causes problems when the user's classpath contains a different Scala version than the one that was used for compilation.
An example error:
java.lang.NoClassDefFoundError: scala/math/Ordering$$anon$7
We should not inline methods from the scala package by default, but we should make that easy for people who want to build an optimized kafka jar where they can ensure the scala library jar matches the one used for compilation (a reasonably common case).
Attachments
Issue Links
- links to