Alex Wenckus

Results issues of Alex Wenckus

If I have a simple type constructor: ``` public static final class SimpleConstructor { private final String value; public SimpleConstructor(String value) { this.value = value; } public String getValue() {...

Noticed this behavior using rx-netty as internally it does a take(1) internally: ``` AtomicLong inc = new AtomicLong(0); Observable.OnSubscribe onSubscribe = subscriber -> { final long emit = inc.getAndIncrement(); LOGGER.info("Emitting:...

Bug

Although I have not been able to find a way to reproduce the issue reliably, I have seen the following stack several times now: ``` ! java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@328cda0 rejected...

Bug

The jOOQ Convert class improperly converts to an Instant: https://github.com/jOOQ/jOOQ/blob/11115c674127bed3d9c40b6d10b0dfa33d94398a/jOOQ/src/main/java/org/jooq/tools/Convert.java#L1061 relevant code: ``` else if (toClass == Instant.class) { return (X) new Timestamp(time).toLocalDateTime().atOffset(OffsetDateTime.now().getOffset()).toInstant(); } ``` This will result in an...

T: Defect
C: Functionality
P: Medium
R: Fixed

I am using a library which generates the Jackson deserialization code as a delegate. I have created a class here which simulates this format: ``` public class HeroBattle { private...

I have several types much like this: ``` @Value.Immutable @JsonDeserialize(as = ImmutableAssetData.class) @JsonSerialize(as = ImmutableAssetData.class) @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AssetData implements ApiData { public static final String TYPE...

bug
completed

Testing with the latest version, 2.1.0, I am running into an NPE when attempting to use `JsonInclude.Include.NON_EMPTY`: ``` @Value.Parameter @JsonInclude(JsonInclude.Include.NON_EMPTY) public abstract Optional getRelationships(); ``` Jackson, when deserializing initializes the...

bug
completed

Testing on the latest version, 2.1.0, It appears as though Jackson's JsonFormat and JsonPropertyOrder are not supported: ``` @JsonFormat(shape = JsonFormat.Shape.ARRAY) @JsonPropertyOrder({"longitude", "latitude", "altitude"}) @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonDeserialize(as = ImmutableGeoPoint.class) @JsonSerialize(as =...

bug
completed

Testing with 2.1.3 we can no longer hide the builder implementation due to a mis-match in the visibility of the builder method on the immutable class. This can be seen...

bug
completed

For annotations aside from `@Value` a retention policy of source is not specified. This can lead to issues in other libraries which import Immutable classes and don't themselves import the...

question