Building and testing

David Holmes david.holmes at oracle.com
Sun Apr 15 07:53:32 UTC 2018


Hi Nir,

On 14/04/2018 1:39 PM, Nir Lisker wrote:
> Hello,
> 
> I'm interested in playing with generic specialization. I've a couple of

I don't think generic specialization is there is to play with yet.

> 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?

Yes. There is only a single repo now so we don't need get_source.sh any 
more. The wiki needs updating.

Cheers,
David

> 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