RFR: 8346610: Make all imports conformant in the FFM API

Alan Bateman alanb at openjdk.org
Thu Dec 19 13:28:56 UTC 2024


On Thu, 19 Dec 2024 10:46:03 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to clean up all the imports in the FFM lib (excluding tests).
> 
> Passes tier1-tier3

src/java.base/share/classes/java/lang/foreign/FunctionDescriptor.java line 34:

> 32: import java.util.List;
> 33: 
> 34: import jdk.internal.foreign.FunctionDescriptorImpl;

Just curious where this style/convention is coming from, I've always put internal packages after the import of standard APIs.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22827#discussion_r1892074102


More information about the core-libs-dev mailing list