Skip to content

det_survey.py: javac classpath takes every ~/.m2 jar; --jobs races on same-named programs #4172

Closed

Description

@squid-protocol

Two environment problems hit while regenerating docs/language_status/det_survey.md (#4166):

  1. Classpath. det_survey.py puts every jar under ~/.m2 on the javac classpath. Another project had left two javac plugin jars there (Error Prone 2.50, SemanticDB) built for a newer Java. javac crashed loading them, so every port reported "does not compile". Build the classpath from the generated project's declared dependencies instead.
  2. Parallel race. With --jobs above 1, programs that share a name across corpora race on shared paths (zopeneditor's SAM1). Key the work directories by corpus and program.

The survey numbers in #4166 come from a run that worked around both: a wrapper dropped those two jars, and --jobs 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions