Re: Issues building/running 2.25 on java 8

2020-11-10 Thread Ismaël Mejía
> I see. We do iterate over all configurations and try to force it to our dep > version [1]. Clearly this does not work as intended, perhaps when the dep is > only transitive and not immediate? Is that what you mean Ismaël? I was not aware of that forcing until yesterday for a different issue.

Re: Issues building/running 2.25 on java 8

2020-11-09 Thread Kenneth Knowles
I see. We do iterate over all configurations and try to force it to our dep version [1]. Clearly this does not work as intended, perhaps when the dep is only transitive and not immediate? Is that what you mean Ismaël? As a workaround, if a user sets a version this should "win". But the problem I

Re: Issues building/running 2.25 on java 8

2020-11-09 Thread Ismaël Mejía
But users will still receive the bad 3.13.0 transitively, shouldn't this be fixed for the next release? Is there a JIRA? On Mon, Nov 9, 2020 at 9:44 PM Kenneth Knowles wrote: > > The protobuf bug summarizes the issue well. It is built against Java 11 > bootclasspath even though it targets

Re: Issues building/running 2.25 on java 8

2020-11-09 Thread Kenneth Knowles
The protobuf bug summarizes the issue well. It is built against Java 11 bootclasspath even though it targets bytecode compatibility with Java 8. It seems like we intend to be at 3.12.0 by default:

Re: Issues building/running 2.25 on java 8

2020-11-06 Thread Steve Niemitz
I downgraded google_cloud_bigdataoss from 2.1.5 back to 2.1.3, which was recently upgraded [1], and that fixed the issue. It looks like it was transitively pulling in protobuf 3.13.0, which isn't compatible with java 8(?!??). [1]

Re: Issues building/running 2.25 on java 8

2020-11-06 Thread Steve Niemitz
yeah, I built it via: JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 ./gradlew --no-daemon -Ppublishing -PnoSigning publishMavenJavaPublicationToMavenLocal For me java8 is also my default On Fri, Nov 6, 2020 at 6:25 PM Kyle Weaver wrote: > Do you have JAVA_HOME set? (possibly related: >

Re: Issues building/running 2.25 on java 8

2020-11-06 Thread Kyle Weaver
Do you have JAVA_HOME set? (possibly related: https://issues.apache.org/jira/browse/BEAM-11080) On Fri, Nov 6, 2020 at 3:13 PM Steve Niemitz wrote: > I'm trying out 2.25 (built from source, using java 8), and running into > this error, both on the direct runner and dataflow: > > Caused by:

Issues building/running 2.25 on java 8

2020-11-06 Thread Steve Niemitz
I'm trying out 2.25 (built from source, using java 8), and running into this error, both on the direct runner and dataflow: Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; at com.google.protobuf.NioByteString.copyToInternal(NioByteString.java:112) at