valid tags for jtreg-6+1

Vitaly Provodin vitaly.provodin at jetbrains.com
Tue Jun 8 22:39:29 UTC 2021


Jon,

Thanks for the reply.

I tried building with make/build.sh but got an error. The tail of the building log looks like (full log was attached)
—————————8<—————————
../src/share/classes/com/sun/javatest/regtest/agent/StringArray.java:142: warning: [rawtypes] found raw type: Vector
        Vector v = new Vector();
                       ^
  missing type arguments for generic class Vector<E>
  where E is a type-variable:
    E extends Object declared in class Vector
../src/share/classes/com/sun/javatest/regtest/agent/StringArray.java:158: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type Vector
            v.addElement(s.substring(tokenStart, tokenEnd));
                        ^
  where E is a type-variable:
    E extends Object declared in class Vector
1 error
40 warnings
make: *** [/Users/vprovodin/workspace/github/jtreg/build/classes.com.sun.javatest.regtest-othervm.ok] Error 1
—————————8<—————————

Unfortunately I could not catch the cause of this error (so far)
-------------- next part --------------


Thanks,
Vitaly

> On 8 Jun 2021, at 22:01, Jonathan Gibbons <jonathan.gibbons at oracle.com> wrote:
> 
> Vitaly,
> 
> The format for the tags has changed to be in line with the format for JDK tags.  The format is `jtreg-VERSION+BUILD`. The tag for the latest recommended version is `jtreg-6+1`. It is the only (and thus latest) tag matching the new form.
> 
> Also, make sure you are using the new `make/build.sh` script (or driving the Makefile directly) and not the older `make/build-all.sh` script which will be removed in the next update.



More information about the jtreg-dev mailing list