Per-Ake Minborg

Results 108 comments of Per-Ake Minborg

``` import java.nio.ByteBuffer; class WrapForReadTest { @Test void wrapForRead() { ByteBuffer byteBuffer = ByteBuffer.allocate(10) .asReadOnlyBuffer(); Bytes bytes = Bytes.wrapForRead(byteBuffer); } } ``` This will produce: ``` java.nio.ReadOnlyBufferException at java.nio.ByteBuffer.array(ByteBuffer.java:1004) at...

This is related to https://github.com/OpenHFT/Chronicle-Map/issues/376

I think we should provide an alternate means of providing performant code. Generating code dynamically prevents AOT compilation and is initially slow, for example. We could use an annotation processor...

We should have rule-based logic and not handwritten code.

Yes @JerryShea . Probably related. Now that we do not use the annotation processor, this problem might have gone. I will have a look.

This is a large thing to do considering it will impact many modules.

https://search.maven.org/artifact/javax.persistence/javax.persistence-api/2.2/jar

It is possible to mention the JPA or other entities in the generation tool. Then the metadata could be extracted directly from these classes.