notnoop
notnoop

Reputation: 59307

Scala Backward Compatibility

What changes or code evolution break backward compatibility (mainly binary compatibility)? Is it fully specified anywhere?

I checked the Scala language specification, but didn't see any section on the matter like Java Language Specification Ch. 13 Binary Compatibility.

Upvotes: 3

Views: 2116

Answers (2)

linuxbuild
linuxbuild

Reputation: 16133

I've added support for Scala to the japi-compliance-checker tool (1.6 version). So now you can identify breaking changes in your code automatically. The tool is available here: https://github.com/lvc/japi-compliance-checker

Sample usage:

japi-compliance-checker OLD.jar NEW.jar

Also I've created a page with analysis reports for Scala versions evolution generated by this tool as an example: http://abi-laboratory.pro/java/tracker/timeline/scala/

enter image description here

Upvotes: 1

huynhjl
huynhjl

Reputation: 41646

According to the mailing list, the spec documenting detailing backward compatibility issues does not yet exist but is in the works.

For current status and oulook of binary compatibility (mainly of the scala library), see Martin's message to scala-user mailing list.

For a migration manager preview, see this page http://typesafe.com/technology/migration-manager.

Upvotes: 5

Related Questions