Thanks Alan,

I used the one that jtreg uses. The complete configuration of JCOV for jtreg is:

```
DEFAULT_JCOV_SRC_TAG=jcov3.0-b07
DEFAULT_JCOV_SRC_ARCHIVE_CHECKSUM=c5c26085750628d58de275b3f50a7409300c0497

DEFAULT_ANT_VERSION=1.10.8
DEFAULT_ANT_ARCHIVE_CHECKSUM=dbe187ce2963f9df8a67de8aaff3b0a437d06978

DEFAULT_ASM_VERSION=8.0
DEFAULT_ASM_JAR_CHECKSUM=d1a17d07c60e9e82c8b31b1d8f9ca98726418db4
DEFAULT_ASM_TREE_JAR_CHECKSUM=7b31ca94da9f57334a5aed79b40f2b88c5ee9f4f
DEFAULT_ASM_UTIL_JAR_CHECKSUM=b21996293fd49851ed9017cfde3191e49f77fbd0

DEFAULT_JTHARNESS_SRC_TAG=jt6.0-b13
DEFAULT_JTHARNESS_SRC_ARCHIVE_CHECKSUM=43936b2616476fcac8ee4bd0132e73c015119337
```

Could you please share from where I can download the JCOV version that you are 
referring to?

Cheers,
Stefanos
________________________________
From: Alan Bateman <alan.bate...@oracle.com>
Sent: 03 November 2021 16:25
To: Chaliasos, Stefanos <s.chaliaso...@imperial.ac.uk>; 
build-dev@openjdk.java.net <build-dev@openjdk.java.net>
Subject: Re: Running jdk's tests to produce coverage report


*******************
This email originates from outside Imperial. Do not click on links and 
attachments unless you recognise the sender.
If you trust the sender, add them to your safe senders list 
https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for 
this address.
*******************


On 03/11/2021 15:12, Chaliasos, Stefanos wrote:
> Hello,
>
> I'm trying to compute code coverage for langtools in the JDK repo on a Ubuntu 
> 18.04 machine using JDK 18 for the compilation. I have run the following 
> commands:
>
> ```
> cd /home/user
> git clone https://github.com/openjdk/jdk.git
> cd jdk && bash configure && make jdk && cd ../
> git clone https://github.com/openjdk/jtreg.git
> cd jtreg
> bash make/build.sh --jdk /home/user/jdk/build/linux-x86_64-server-release/jdk/
> cd ../jdk
> bash configure --with-jtreg=/home/user/jtreg/build/images/jtreg 
> --with-jcov=/home/user/jtreg/build/deps/jcov/
> make jcov-image
> ```
>
> In the last command, I get errors with the following message:
>
> ```
> Exception details: Unsupported class file major version 62
> ...
>
Which version of jcov is this? I did a jcov test on my local build today
using what claims to be "3.0-9-jdk-asm+1.0" and it worked okay.

-Alan

Reply via email to