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

Alan Bateman alanb at openjdk.org
Thu Dec 19 14:03:40 UTC 2024


On Thu, 19 Dec 2024 13:50:32 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> 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.
>
> Both alternatives were present and I picked the most prevailing one in the package. Also, this is what you get when you auto format in IntelliJ. But if there is a preference for the other way, we could switch. No problem.

I don't have any strong  opinion on the topic, I was mostly just curious when I saw "conformant" in the title.

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

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


More information about the core-libs-dev mailing list