Building and testing (original) (raw)

Nir Lisker nlisker at gmail.com
Sat Apr 14 03:39:28 UTC 2018


Hello,

I'm interested in playing with generic specialization. I've a couple of points to ask about.

  1. Building. Following the instructions on the wiki [1], after cloning, the file get_source.sh does not exist and the commands chmod u+x get_source.sh ./get_source.sh fail. I ignored this and continued with bash configure make images which complete successfully. Is this fine?

  2. Testing. I'm thinking of targeting my attempts at the JavaFX beans. Observable [2] demonstrates the type verbosity - each primitive type dictates type hierarchies just so that it can take or return its primitive value.

Would this area be considered a proper testing grounds for generic specialization? Can I expect to be able to replace all type hierarchies of primitives, such as the ones for ReadOnlyJavaBeanBooleanProperty [3] and ReadOnlyBooleanWrapper [4] with a single generic one, or is it too optimistic?

[1] https://wiki.openjdk.java.net/display/valhalla/Main

[2] https://download.java.net/java/early_access/jdk11/docs/api/javafx.base/javafx/beans/Observable.html

[3] https://download.java.net/java/early_access/jdk11/docs/api/javafx.base/javafx/beans/property/adapter/ReadOnlyJavaBeanBooleanProperty.html

[4] https://download.java.net/java/early_access/jdk11/docs/api/javafx.base/javafx/beans/property/ReadOnlyBooleanWrapper.html

Thanks, Nir



More information about the valhalla-dev mailing list