Live data from Hacker News

AI migrated legacy COBOL programs to Java, bugs included

arxiv.org

1–10 of 108 posts

Re: AI migrated legacy COBOL programs to Java, bugs included

#3
I remember a similar story shared this year at JAX2026 from the Sparkasse Group, they said they were using AI to migrate from COBOL, but they still were in the middle of the migration. Maybe they faced the same issues / problems? It seemed pretty zealous to me, that everything was working smoothly, but this article highlights the limitations

Re: AI migrated legacy COBOL programs to Java, bugs included

#6
post #5
post #4

Yeah nah maybe fix the bugs before swapping the average COBOL dev for the average Java dev.

sometimes if the bug exists for enough time it is intended behavior

Indeed, there may even be a whole lot of code that depends on it.

Re: AI migrated legacy COBOL programs to Java, bugs included

#7
post #5

Earlier quoted context omitted.

sometimes if the bug exists for enough time it is intended behavior

Indeed, there may even be a whole lot of code that depends on it.

Yeah. Bug-for-bug migration is a real thing in large code-bases in the industry. You want to replicate all behavior of the code regardless whether the behavior is a feature or a bug.

See Hyrum's Law: https://www.hyrumslaw.com/

Re: AI migrated legacy COBOL programs to Java, bugs included

#8
post #5
post #4

Yeah nah maybe fix the bugs before swapping the average COBOL dev for the average Java dev.

sometimes if the bug exists for enough time it is intended behavior

Absolutely, and you'll have all kinds of fixes for the symptoms throughout the project.

COBOL isn't hard, the tooling around it on old systems are a pain though.

Re: AI migrated legacy COBOL programs to Java, bugs included

#10
post #5

Earlier quoted context omitted.

sometimes if the bug exists for enough time it is intended behavior

Indeed, there may even be a whole lot of code that depends on it.

Yep, and when it’s about money you don’t want any unexpected.
Post reply on HN