ca1df7f7e0
* #1981: Avoid OSGi bundle's dependency on sun.misc package * Specify optional dependency on sun.misc.Unsafe * Adjusting the test to sun.misc import being optional * Using Collections.list and for loop * Let the fail message include name of package Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com> * Closing the input stream * Dedicated assertSubstring method Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
17 lines
405 B
Java
17 lines
405 B
Java
/**
|
|
* Defines the Gson serialization/deserialization API.
|
|
* @since 2.8.6
|
|
*/
|
|
module com.google.gson {
|
|
exports com.google.gson;
|
|
exports com.google.gson.annotations;
|
|
exports com.google.gson.reflect;
|
|
exports com.google.gson.stream;
|
|
|
|
// Optional dependency on java.sql
|
|
requires static java.sql;
|
|
|
|
// Optional dependency on jdk.unsupported for JDK's sun.misc.Unsafe
|
|
requires static jdk.unsupported;
|
|
}
|