8000 Comparing v0.10.0...v0.10.1 · sourcegraph/scip-java · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sourcegraph/scip-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.0
Choose a base ref
...
head repository: sourcegraph/scip-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.1
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    75b238b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Allow passing JVM args to javac in ScipBuildTool (#728)

    A canonical usage for this is passing `--add-opens` flags to the _launcher_ of 
    663B
    javac to make sure annotation processors work.
    
    To pass these arguments to the launcher, they have to be perfixed with -J – but arguments like this cannot be passed through the argfile that we use for javacOptions (see https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#command-line-argument-files) so we need to pass them to the command itself. 
    
    For that purpose, we add a `jvmOptions` field to scip-java.json config – these options will have `-J` added to them and passed to the `javac` command.
    
    The test to verify this behaviour relies on an [old version of lombok that requires these options](projectlombok/lombok#2681 (comment))
    
    Additionally, a hidden option `--strict-compilation` is added to the CLI, to prevent error recovery: sometimes scip-java can just ignore javac errors and produce semanticdb artifacts regardless. This complicates testing, so I need an escape hatch).
    
    ### Test plan
    
    - New test to ScipBuildToolSuite
    antonsviridov-src authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b8c11c4 View commit details
    Browse the repository at this point in the history
Loading
0