Skip to content

Instantly share code, notes, and snippets.

@JohnZavyn
Last active November 2, 2017 23:47
Show Gist options
  • Save JohnZavyn/99670bde4322407216b8a2a978e26640 to your computer and use it in GitHub Desktop.
Save JohnZavyn/99670bde4322407216b8a2a978e26640 to your computer and use it in GitHub Desktop.
/**
* <p>Workaround to allow OpenPojo version 0.8.6 to work with Java 9.</p>
* <p>TODO: Remove when OpenPojo is updated</p>
*/
@BeforeClass
public static void setSystemProperty()
{
System.setProperty("sun.boot.class.path", System.getProperty("java.class.path"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment