/[Apache-SVN]
ViewVC logotype

Revision 1522907


Jump to revision: Previous Next
Author: uschindler
Date: Fri Sep 13 12:54:29 2013 UTC (11 years, 2 months ago)
Changed paths: 1
Log Message:
LUCENE-5207: Revert the dynamic class name. Its much better to use the "source file attribute". The class name is now constant (as every class gets own class loader) and looks like an internal class of the compiler. The stack trace is then looking like:
Throwable #1: java.lang.IllegalArgumentException: foobar
       at __randomizedtesting.SeedInfo.seed([3968E8DD2901F71C:4292B9595A397818]:0)
       at org.apache.lucene.util.MathUtil.log(MathUtil.java:51)
       at org.apache.lucene.expressions.js.JavascriptCompiler$CompiledExpression.evaluate(logn(2, 0))
       at org.apache.lucene.expressions.js.TestJavascriptFunction.assertEvaluatesTo(TestJavascriptFunction.java:27)
       at org.apache.lucene.expressions.js.TestJavascriptFunction.testLognMethod(TestJavascriptFunction.java:178)
       at java.lang.Thread.run(Thread.java:724)

Changed paths

Path Details
Directorylucene/dev/branches/lucene5207/lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26