Commit 23de9f2
committed
Specify java release to use when building
This is because we see
java.lang.NoSuchMethodError:
java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
when running on Java 8 when using this in GeoIP2-java, as it gets built
with a newer version of Java apparently.
See jetty/jetty.project#3244.
Do this with a profile because Java 8 does not support the release flag,
which is required for this.1 parent 9ea9da7 commit 23de9f2
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
133 | 151 | | |
0 commit comments