< prev index next >

test/compiler/c2/stemmer/Stemmer.java

Print this page


   1 /**
   2  * @test
   3  * @bug 7070134
   4  * @summary Hotspot crashes with sigsegv from PorterStemmer
   5  * @modules java.base/jdk.internal.misc
   6  * @library /testlibrary
   7  *
   8  * @run driver jdk.test.lib.FileInstaller words words
   9  * @run main/othervm -Xbatch compiler.c2.stemmer.Stemmer words
  10  */
  11 
  12 /*
  13 
  14    Porter stemmer in Java. The original paper is in
  15 
  16        Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14,
  17        no. 3, pp 130-137,
  18 
  19    http://www.tartarus.org/~martin/PorterStemmer
  20 
  21    The software is completely free for any purpose, unless notes at the head
  22    of the program text indicates otherwise (which is rare). In any case,
  23    the notes about licensing are never more restrictive than the BSD License.
  24 
  25    In every case where the software is not written by me (Martin Porter),
  26    this licensing arrangement has been endorsed by the contributor, and it is


   1 /**
   2  * @test
   3  * @bug 7070134
   4  * @summary Hotspot crashes with sigsegv from PorterStemmer
   5  * @modules java.base/jdk.internal.misc
   6  * @library /test/lib
   7  *
   8  * @run driver jdk.test.lib.FileInstaller words words
   9  * @run main/othervm -Xbatch compiler.c2.stemmer.Stemmer words
  10  */
  11 
  12 /*
  13 
  14    Porter stemmer in Java. The original paper is in
  15 
  16        Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14,
  17        no. 3, pp 130-137,
  18 
  19    http://www.tartarus.org/~martin/PorterStemmer
  20 
  21    The software is completely free for any purpose, unless notes at the head
  22    of the program text indicates otherwise (which is rare). In any case,
  23    the notes about licensing are never more restrictive than the BSD License.
  24 
  25    In every case where the software is not written by me (Martin Porter),
  26    this licensing arrangement has been endorsed by the contributor, and it is


< prev index next >