On Wed, 6 Sep 2023 00:05:58 GMT, Michael Strauß <mstra...@openjdk.org> wrote:
>> one [possible] use case is when different versions of the native platform >> have different types (int32/int64 ?). >> or, if the property value is String with the semantics of an integer. >> >> Of course, the app dev can always request an Object and parse that. > > If we add this, we'd also need to decide whether we only want to support > lossless conversions, or if lossy conversions are acceptable as well. Since > this will add a considerable amount of complexity to this PR, I suggest we > don't to it at this time. If there's a need, we can always add it later. after some thought, I would say conversion is not needed - should that unlikely scenario happen, the app devs could use getValue(.., Object.class); ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1014#discussion_r1317442623