Evaluating the TCK for JSR 376

Tim Ellison Tim_Ellison at uk.ibm.com
Fri Jul 28 16:33:30 UTC 2017

"Volker Simonis" <volker.simonis at gmail.com> wrote on 27/07/2017 10:50:38:
> I have access to the TCK and I did some basic tests with it. The main
> problem (which I've already addressed in February but which I was told
> won't be fixed for 9) is the following:
> The current TCK (i.e. the ModuleGraphTest) only tests the requirements
> for specific modules (i.e. tests if all the modules given on the
> command line or selected in the harness, have the required export and
> requires edges). There are also tests which check the "closure" of a
> set of modules (with regard to the 'requires' and 'requires
> transitive' relation) but again only for the specific set given on the
> command line or choose in the harness.
> That's a nice feature for playing around, but I think the TCK
> conformance test should by default really use and test all the default
> platform modules from the runtime image under test and automatically
> tests all these modules (i.e. it should check all exports, all the
> requires transitive relations and finally it should check if the
> modules form a "closed" subset with regard to the specification (i.e.
> 'requires transitive') and also a "closed" subset with regard to the
> implementation (i.e. 'requires')).
> I think this will make it possible for malicious people to certify
> custom images which don't conform to the specification (because as far
> as I see the TCK doesn't test a complete implementation but just the
> part you ask it to test). But you probably already know that.

I think that is a usability request rather than a requirement on the TCK.

While it would be desirable for the TCK to check that the Implementation
adheres to *all* the obligations of the Specification, that is unlikely
to be achievable.

The TCK can't stop "malicious people" claiming compliance where they don't
follow the conditions of the Specification, or run the TCK as intended,
including testing all the SE modules in the Implementation.

However, I agree it is a desirable enhancement and will reduce honest


> On Tue, Jul 25, 2017 at 9:54 PM,  <mark.reinhold at oracle.com> wrote:
> > If any member of this EG would like to evaluate the TCK for this JSR
> > (i.e., the JCK), and if you do not already have access to it, please
> > let me know and I'll make the necessary arrangements.
> >
> > - Mark

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

More information about the jpms-spec-observers mailing list