AIToday
AI Coding AssistantsZenn AI/MLPublished: Nov 15, 2026, 16:00 JST

AWS's AI Modernization Flow moves 150,000 lines of Java 11 to Java 21 in four days

Send on LINE
AWS's AI Modernization Flow moves 150,000 lines of Java 11 to Java 21 in four days

3 Key Points

  1. What happened

    AWS Japan published AI Modernization Flow on GitHub, and its recorded Apache Roller migration moved about 150,000 lines from Java 11/Java EE to Java 21/Jakarta EE 10 in four days, running only during daytime.

  2. Why it matters

    The write-up shows where humans must step in and what counts as done, so teams can copy the model for their own Java upgrades rather than trust an AI's self-report.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The AIMF design leans on a simple split: the AI proceeds on implementation inside a unit once verification passes, but stops for human decisions on interface or data-format changes, feature removals and phase boundaries. Whether it stops is judged by pre-set conditions, not by the AI itself. Technical problems get a fixed number of retries before being cut out as a separate task, and unplanned work must be proposed and approved before joining the plan — practical guards against an agent sinking time into a dead end.

The completion report for Roller is the most reusable part. Existing unit tests passed 157 cases, with one legitimately removed along with OAuth 1.0 support; a verification script confirmed zero remaining javax references; browser E2E checks covered user registration, login, blog creation, posting, image upload and comments. Silent failures from security defaults were found and fixed, and a recurrence-detection script was added. How each success criterion was checked is listed item by item, and deferred work is recorded in an ADR with reasons.

Context is kept in an ADR for design decisions, a worklog for tasks and session-context for current state, and a separate agent with isolated context verifies the completion claim once and closes each finding one at a time. That lets work resume after a handover, a day boundary or an abnormal agent exit. The publisher itself notes this is not a magic tool that automatically completes optimal modernization, and that the Roller case is OSS validation — business-system-specific reports and external integrations need separate checks.

FAQ
How long did the Apache Roller migration take?
Four days from analysis to final confirmation, including human exchanges, with work done only during daytime.
Which AI tools does the workflow use?
Kiro or Claude Code as the agent, with AWS Transform custom for analysis.
Can a company stop after the assessment stage?
Yes. Phase 0b produces migration-target comparisons and rough scale, so an assessment alone can serve as budget material.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleLlama 3.2 1B on QCS6490: 1,024 tok/s prefill, 16.4 tok/s decode