Packages and Compact Source File

Remi Forax forax at univ-mlv.fr
Wed Oct 1 20:04:02 UTC 2025


> From: "Kenneth Fogel" <kfogel at dawsoncollege.qc.ca>
> To: "amber-dev" <amber-dev at openjdk.org>
> Sent: Wednesday, October 1, 2025 9:51:10 PM
> Subject: Packages and Compact Source File

> [May have sent this already but to the wrong mailing list]

> I just wish to confirm that a compact source file cannot have a package
> statement but can have an import statement.

Confimed ! 

import, import static or import module are all available. 

> Ken

regards, 
Rémi 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20251001/cf71cc58/attachment-0001.htm>


More information about the amber-dev mailing list