google / google/error-prone

Invalid file path pattern on Windows

Open
#2,394 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

A student trying to run the simulator in [Caffeine](https://github.com/ben-manes/caffeine) faced a compilation error because of a malformed regex. I reviewed the Gradle build configuration ([build](https://github.com/ben-manes/caffeine/blob/master/caffeine/build.gradle), [options](https://github.com/ben-manes/caffeine/blob/master/gradle/codeQuality.gradle)) and do not see a mistake there. Since I am not very familiar with Windows my debugging is limited.

I was able to reproduce his problem by running a Windows 10 [trial virtual machine](https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/). The attached screenshot is from ".\gradlew.bat simulator:run -S". I disabled the errorprone plugin and provided the student those steps so that his project is unblocked.

2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.