src/infra: Temporarily provide a rough and limited implementation of JSR-353, waiting for its standardization and inclusion in JDKs.