Skip to content

Commit

Permalink
Fix resource overflow on exception path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrameos committed May 17, 2020
1 parent e0113aa commit a39e179
Show file tree
Hide file tree
Showing 9 changed files with 465 additions and 243 deletions.
2 changes: 1 addition & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Script for testing coverage locally
PYTHON=python
PIP="python -m pip"
mvn -q -f project/coverage package
./resolve.sh
$PYTHON setup.py test_java
$PIP install gcovr pytest-cov jedi
$PYTHON setup.py --enable-coverage --enable-build-jar build_ext --inplace
Expand Down
13 changes: 11 additions & 2 deletions ivy.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="org.jpype" module="jpype"/>

<configurations defaultconf="deps">
<conf name="deps" description="binary jars"/>
</configurations>


<!-- https://www.baeldung.com/java-in-memory-databases -->
<dependencies>
<dependency org="com.h2database" name="h2" rev="1.4.200" conf="deps->default"/>
<dependency org="org.xerial" name="sqlite-jdbc" rev="3.27.2.1" conf="deps->default"/>
<dependency org="org.jacoco" name="org.jacoco.cli" rev="0.8.5" conf="deps->default">
<artifact name="org.jacoco.cli" type="jar" m:classifier="nodeps"/>
</dependency>
<dependency org="org.jacoco" name="org.jacoco.agent" rev="0.8.5" conf="deps->default">
<artifact name="org.jacoco.agent" type="jar" m:classifier="runtime"/>
</dependency>
<dependency org="org.apache.derby" name="derby" rev="10.15.2.0" conf="deps->default"/>
<dependency org="org.hsqldb" name="hsqldb" rev="2.5.0" conf="deps->default"/>
</dependencies>
</ivy-module>
Loading

0 comments on commit a39e179

Please sign in to comment.