Update a few plugins for Java 11 compatibility (#966)

* Update a few plugins for Java 11 compatibility

Guice 5.0.1 is now compatible with Java 11. However we don't
directly depend on Guice. Rather Soy depends on Guice. So I added a
direct dependency on Guice 5.0 just before Soy in order to frontload Soy
and pull in the newer version.

Mockito 3.7.7 is now compatible with Java 11. The complication is that
we need to use the inline version of Mockito, which among other things
also allows mocking for final classes (hooray!). It will eventually
become the default Mockito mock maker but for now it needs to be
manually activated.

Note that the inline version now introduces another warning:

```
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
```

Which I think is WAI due to how the inline mock maker works. Waiting on
the author to confirm.

After these to changes the only illegal reflective access is caused by
App Engine SDK tools, which we will rid ourselves of when we migrate off
of GAE.

* Restore package-lock.json
This commit is contained in:
Lai Jiang 2021-03-02 21:01:30 -05:00 committed by GitHub
parent d4371a880e
commit 4e44a98139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 135 additions and 121 deletions

View file

@ -0,0 +1 @@
mock-maker-inline