Account for a subtle internal API change between the C and Java Producers