Skip to content

Commit

Permalink
Suppressed ClosedWatchServiceException and updated Java of Archetypes…
Browse files Browse the repository at this point in the history
… to 11 Vertispan#188
  • Loading branch information
jiakuan committed Aug 31, 2023
1 parent c18f3ea commit 7cd197c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ private void checkForWork() {
} catch (IOException e) {
// disaster, can't interact with the cache, stop and give up
// TODO mark all pending work as canceled?
} catch (ClosedWatchServiceException e) {
// This is purely noise in the log and doesn't indicate an actual
// error, so it can be safely ignored. Please see:
// https://github.com/Vertispan/j2clmavenplugin/issues/188
}
}

Expand Down
5 changes: 2 additions & 3 deletions j2cl-archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
<description>Maven project archetypes for using J2CL</description>

<properties>
<!-- Continue defaulting to 1.8 until we have good support for 11 -->
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
</properties>

<build>
Expand Down

0 comments on commit 7cd197c

Please # to comment.