AI migrated legacy COBOL programs to Java, bugs included
- AI
- Programming
- Infrastructure
- Developer Tools
- Enterprise Software
The paper reports an AI-assisted COBOL-to-Java migration flow that aims for behavioral equivalence rather than cleanup. That means preserving quirks and outright bugs on purpose, because in old enterprise systems those behaviors are often depended on. People were less interested in the headline result than in the paper’s narrow scope. The largest example was only a few thousand lines, and the setup mostly covered code that could already be isolated from the uglier parts of a real mainframe stack.
Treat AI migration as a tooling aid for extracting specs, tests, and narrow translations, not as proof that wholesale COBOL replacement is suddenly easy. If you own a legacy estate, the bottleneck is still hidden behavior and platform coupling, so invest first in test data, parallel runs, and scoping what can actually be detached from the mainframe.
-
arxiv.org
- Discuss on HN