RFR: 7903519 : jtreg/jtharness is missing features for basic crash testing [v5]

Jiří Vaněk jvanek at openjdk.org
Thu Dec 14 13:58:15 UTC 2023


On Thu, 14 Dec 2023 13:53:10 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:

>>> but I believe that during the lookup there is no guarantee about the order in which the transformers would come, right? 
>> 
>> I believe there's a certain order that is related to classpath order, modulepath order.
>
> I like the idea of chained transformers.  The only issue indeed is order. Our usecase is jsut one of the many.  And chaining gives interesting posibilitues.
> 
> Maybe the interface can have `int getOrder` method and implements comparable with default method comparing by this, so order would be deterministc, and mainly - in user's hand? 
> 
> in addition it will solve the issue with default impl x null check. The transfomers would be simply list, and if empty, none will be applied.

my trust to cp/mp order is a bit limited :) But may be much better then my artifical getOrder with sort

-------------

PR Review Comment: https://git.openjdk.org/jtharness/pull/57#discussion_r1426751082


More information about the jtharness-dev mailing list