hg: panama/dev: 8217414: api/PointerTest and api/ArrayTest are vacuously passing

Jorn Vernee jbvernee at xs4all.nl
Mon Jan 21 19:12:53 UTC 2019


Looks like the new OutOfBoundsTest in this Changeset is failing. I'm not 
sure what's going on, as I ran the tests multiple times with passing 
results (and I can verify that as well by looking at my console logs). 
Maybe it's some tooling problem, or maybe I did something silly, idk.

Any ways, I think I've found the problem, will send another update soon.

Sorry about that,
Jorn

jbvernee at xs4all.nl schreef op 2019-01-21 18:59:
> Changeset: e75f2c93b4d1
> Author:    jvernee
> Date:      2019-01-21 18:58 +0100
> URL:       http://hg.openjdk.java.net/panama/dev/rev/e75f2c93b4d1
> 
> 8217414: api/PointerTest and api/ArrayTest are vacuously passing
> Summary: Remove bounds check in BoundedPointer constructor
> Reviewed-by: mcimadamore
> 
> ! src/java.base/share/classes/java/foreign/memory/Pointer.java
> ! 
> src/java.base/share/classes/jdk/internal/foreign/memory/BoundedPointer.java
> + test/jdk/java/foreign/OutOfBoundsTest.java
> ! test/jdk/java/foreign/api/ArrayTest.java
> ! test/jdk/java/foreign/api/PointerTest.java
> + test/jdk/java/foreign/libOutOfBounds.c
> ! test/jdk/java/foreign/types/PointerTest.java


More information about the panama-dev mailing list