7

Is classloading would be the same between java and scala or it is handled differently in scala

1 Answer 1

10

Scala does not do anything special with class loading at all. Once Scala code is compiled to byte code it looks and behaves as if the source had been Java.

Sign up to request clarification or add additional context in comments.

1 Comment

There has been some discussion about providing backward compatibility by doing classloader tricks. So, while this is true right now, it might not hold true in the future.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.