Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background

The tests in the hotspot/test/ folder are grouped by component; compiler, gc, runtime and serviceability. Within these folders the convention used to be to add a folder with the bug number for the test and in that folder add a file called Test[bug_number].java.

...

Also, it is very hard to map a nightly failure to an actual test file since you have to remember bug numbers rather than meaningful names.

New Naming Scheme

 

HotSpot should be using a naming scheme that is closer to what the rest of the JDK is using. That is, to use folder and file names to give some meaning to the file structure and to use the @bug keyword to tag tests for a particular bug.

...