# Modernise legacy code with a transformation agent

Amazon estimates its Q Developer agent saved the equivalent of 4,500 developer-years upgrading applications to Java 17.

Organisation: Amazon
Status: Deployed
Place: Worldwide
Categories: Work & productivity
Built with: Amazon Q Developer
Try it with: Claude Code, Codex, Cursor, Grok Bot, OpenClaw
Time to try: Half a day

## Why it matters

Old software keeps hospitals, banks and governments on insecure, costly systems. Agents that do the upgrade work give engineers time for new work and close security gaps.

## How it works

Q Developer's code-transformation agent upgrades Java 8 and 11 applications to Java 17. AWS says Amazon upgraded more than 50% of its production applications in six months and that 79% of the auto-generated code reviews were applied without additional changes. CEO Andy Jassy said the average upgrade fell from about 50 developer-days to a few hours; Amazon also estimates 260 million US dollars a year in efficiency gains (Business Insider).

## Who it's for

Engineering leaders and teams with legacy systems, especially in the public sector.

## The prompt

```
Upgrade this repository from [Java 8 or 11, or another legacy version] to [target version].

1. Inventory the build files, dependencies and deprecated APIs. Write the upgrade plan and wait for my OK.
2. Run the existing tests first and record the baseline.
3. Upgrade in small steps (build tool, then dependencies, then code). Run the build and tests after each step.
4. For each change, explain why it was needed.
5. Finish with a summary: what changed, the test results compared with the baseline, and risks for a human to review.

Work on a new branch. Do not push, merge or deploy.
```

## Caveats

Amazon's internal figures.

## Sources

The figures are Amazon's internal figures.

1. AWS DevOps Blog: Java 8/11 to 17; 50%+ of production apps in six months; 79% of reviews applied unchanged. Accelerate application upgrades with Amazon Q Developer agent for code transformation (https://aws.amazon.com/blogs/devops/accelerate-application-upgrades-with-amazon-q-developer-agent-for-code-transformation/)
2. Business Insider: 50 developer-days to a few hours; 4,500 developer-years; 260 million US dollars a year. Amazon CEO says AI saved a 'crazy' amount of time (https://www.businessinsider.com/amazon-ceo-says-ai-saved-crazy-amount-time-024-8)

Fact-checked: 16 Oct 2026

Page: https://escapevelocitysociety.com/picks/amazon-q-java-upgrades

See Selected Projects: https://escapevelocitysociety.com/picks.md
