aoi is one of the last few packages holding us from removing gen-1 eclasses support I'll attach a patch for migrating it (both versions) to the gen-2 eclasses, which also creates a launcher using the eclass, replacing the script in FILESDIR. You can apply it yourself or just comment allowing us to apply it. Thanks.
Created attachment 181441 [details, diff] patch for migrating aoi to gen-2 java eclass
09 Feb 2009; Markus Meier <maekke@gentoo.org> aoi-2.2.1.ebuild, aoi-2.5.ebuild: convert to gen-2 java eclasses by Vlastimil Babka in bug #258334 thanks for the report and patches.