static

in src/main/java/org/apache/tomcat/jakartaee/Info.java [29:47]


    static {
        Properties props = new Properties();

        String version = null;
        try {
            props.load(Info.class.getClassLoader().getResourceAsStream("info.properties"));

            version = props.getProperty("version");

        } catch (IOException e) {
            // Handled below
        }

        if (version == null) {
            VERSION = "UNKNOWN";
        } else {
            VERSION = version;
        }
    }