Failed

org.eclipse.jdt.core.tests.compiler.regression.ProblemTypeAndMethodTest.test081 - 1.8 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)

Failing for the past 1 build (Since Failed#9 )
Took 0.76 sec.

Error Message

test081 - Eclipse found error(s) but Javac only found warning(s).
----------- Expected ------------
----------\n
1. WARNING in com\ost\util\report\Matrix.java (at line 4)\n
 public class Matrix<T> implements Serializable {\n
              ^^^^^^\n
The serializable class Matrix does not declare a static final serialVersionUID field of type long\n
----------\n
2. ERROR in com\ost\util\report\Matrix.java (at line 6)\n
 * @see exceptions.InvalidRowSizeException2\n
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Javadoc: exceptions cannot be resolved to a type\n
----------\n
----------\n
1. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 4)\n
 public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class FilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
2. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 5)\n
 private final void makeConstraint(){\n
                    ^^^^^^^^^^^^^^^^\n
The method makeConstraint() from the type FilterConstraintSpecification is never used locally\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\MalformedFilterConstraintSpecification.java (at line 2)\n
 public class MalformedFilterConstraintSpecification extends RuntimeException {\n
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class MalformedFilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\InvalidRowSizeException.java (at line 2)\n
 public class InvalidRowSizeException extends RuntimeException {\n
              ^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class InvalidRowSizeException does not declare a static final serialVersionUID field of type long\n
----------\n

------------ but was ------------
com/ost/util/report/Matrix.java:4: warning: [serial] serializable class Matrix has no definition of serialVersionUID\n
public class Matrix<T> implements Serializable {\n
       ^\n
com/ost/util/report/FilterConstraintSpecification.java:4: warning: [serial] serializable class FilterConstraintSpecification has no definition of serialVersionUID\n
public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
             ^\n
com/ost/util/report/exceptions/MalformedFilterConstraintSpecification.java:2: warning: [serial] serializable class MalformedFilterConstraintSpecification has no definition of serialVersionUID\n
public class MalformedFilterConstraintSpecification extends RuntimeException {\n
       ^\n
com/ost/util/report/exceptions/InvalidRowSizeException.java:2: warning: [serial] serializable class InvalidRowSizeException has no definition of serialVersionUID\n
public class InvalidRowSizeException extends RuntimeException {\n
       ^\n
4 warnings\n

--------- Difference is ----------
 expected:<[----------\n
1. WARNING in com\ost\util\report\Matrix.java (at line 4)\n
 public class Matrix<T> implements Serializable {\n
              ^^^^^^\n
The serializable class Matrix does not declare a static final serialVersionUID field of type long\n
----------\n
2. ERROR in com\ost\util\report\Matrix.java (at line 6)\n
 * @see exceptions.InvalidRowSizeException2\n
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Javadoc: exceptions cannot be resolved to a type\n
----------\n
----------\n
1. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 4)\n
 public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class FilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
2. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 5)\n
 private final void makeConstraint(){\n
                    ^^^^^^^^^^^^^^^^\n
The method makeConstraint() from the type FilterConstraintSpecification is never used locally\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\MalformedFilterConstraintSpecification.java (at line 2)\n
 public class MalformedFilterConstraintSpecification extends RuntimeException {\n
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class MalformedFilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\InvalidRowSizeException.java (at line 2)\n
 public class InvalidRowSizeException extends RuntimeException {\n
              ^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class InvalidRowSizeException does not declare a static final serialVersionUID field of type long\n
----------]\n
> but was:<[com/ost/util/report/Matrix.java:4: warning: [serial] serializable class Matrix has no definition of serialVersionUID\n
public class Matrix<T> implements Serializable {\n
       ^\n
com/ost/util/report/FilterConstraintSpecification.java:4: warning: [serial] serializable class FilterConstraintSpecification has no definition of serialVersionUID\n
public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
             ^\n
com/ost/util/report/exceptions/MalformedFilterConstraintSpecification.java:2: warning: [serial] serializable class MalformedFilterConstraintSpecification has no definition of serialVersionUID\n
public class MalformedFilterConstraintSpecification extends RuntimeException {\n
       ^\n
com/ost/util/report/exceptions/InvalidRowSizeException.java:2: warning: [serial] serializable class InvalidRowSizeException has no definition of serialVersionUID\n
public class InvalidRowSizeException extends RuntimeException {\n
       ^\n
4 warnings]\n
>

Stacktrace

junit.framework.ComparisonFailure: test081 - Eclipse found error(s) but Javac only found warning(s).
----------- Expected ------------
----------\n
1. WARNING in com\ost\util\report\Matrix.java (at line 4)\n
	public class Matrix<T> implements Serializable {\n
	             ^^^^^^\n
The serializable class Matrix does not declare a static final serialVersionUID field of type long\n
----------\n
2. ERROR in com\ost\util\report\Matrix.java (at line 6)\n
	* @see exceptions.InvalidRowSizeException2\n
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Javadoc: exceptions cannot be resolved to a type\n
----------\n
----------\n
1. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 4)\n
	public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
	                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class FilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
2. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 5)\n
	private final void makeConstraint(){\n
	                   ^^^^^^^^^^^^^^^^\n
The method makeConstraint() from the type FilterConstraintSpecification is never used locally\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\MalformedFilterConstraintSpecification.java (at line 2)\n
	public class MalformedFilterConstraintSpecification extends RuntimeException {\n
	             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class MalformedFilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\InvalidRowSizeException.java (at line 2)\n
	public class InvalidRowSizeException extends RuntimeException {\n
	             ^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class InvalidRowSizeException does not declare a static final serialVersionUID field of type long\n
----------\n

------------ but was ------------
com/ost/util/report/Matrix.java:4: warning: [serial] serializable class Matrix has no definition of serialVersionUID\n
public class Matrix<T> implements Serializable {\n
       ^\n
com/ost/util/report/FilterConstraintSpecification.java:4: warning: [serial] serializable class FilterConstraintSpecification has no definition of serialVersionUID\n
public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
             ^\n
com/ost/util/report/exceptions/MalformedFilterConstraintSpecification.java:2: warning: [serial] serializable class MalformedFilterConstraintSpecification has no definition of serialVersionUID\n
public class MalformedFilterConstraintSpecification extends RuntimeException {\n
       ^\n
com/ost/util/report/exceptions/InvalidRowSizeException.java:2: warning: [serial] serializable class InvalidRowSizeException has no definition of serialVersionUID\n
public class InvalidRowSizeException extends RuntimeException {\n
       ^\n
4 warnings\n

--------- Difference is ----------
 expected:<[----------\n
1. WARNING in com\ost\util\report\Matrix.java (at line 4)\n
	public class Matrix<T> implements Serializable {\n
	             ^^^^^^\n
The serializable class Matrix does not declare a static final serialVersionUID field of type long\n
----------\n
2. ERROR in com\ost\util\report\Matrix.java (at line 6)\n
	* @see exceptions.InvalidRowSizeException2\n
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
Javadoc: exceptions cannot be resolved to a type\n
----------\n
----------\n
1. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 4)\n
	public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
	                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class FilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
2. WARNING in com\ost\util\report\FilterConstraintSpecification.java (at line 5)\n
	private final void makeConstraint(){\n
	                   ^^^^^^^^^^^^^^^^\n
The method makeConstraint() from the type FilterConstraintSpecification is never used locally\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\MalformedFilterConstraintSpecification.java (at line 2)\n
	public class MalformedFilterConstraintSpecification extends RuntimeException {\n
	             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class MalformedFilterConstraintSpecification does not declare a static final serialVersionUID field of type long\n
----------\n
----------\n
1. WARNING in com\ost\util\report\exceptions\InvalidRowSizeException.java (at line 2)\n
	public class InvalidRowSizeException extends RuntimeException {\n
	             ^^^^^^^^^^^^^^^^^^^^^^^\n
The serializable class InvalidRowSizeException does not declare a static final serialVersionUID field of type long\n
----------]\n
> but was:<[com/ost/util/report/Matrix.java:4: warning: [serial] serializable class Matrix has no definition of serialVersionUID\n
public class Matrix<T> implements Serializable {\n
       ^\n
com/ost/util/report/FilterConstraintSpecification.java:4: warning: [serial] serializable class FilterConstraintSpecification has no definition of serialVersionUID\n
public final class FilterConstraintSpecification implements Serializable, Cloneable {\n
             ^\n
com/ost/util/report/exceptions/MalformedFilterConstraintSpecification.java:2: warning: [serial] serializable class MalformedFilterConstraintSpecification has no definition of serialVersionUID\n
public class MalformedFilterConstraintSpecification extends RuntimeException {\n
       ^\n
com/ost/util/report/exceptions/InvalidRowSizeException.java:2: warning: [serial] serializable class InvalidRowSizeException has no definition of serialVersionUID\n
public class InvalidRowSizeException extends RuntimeException {\n
       ^\n
4 warnings]\n
>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:260)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:236)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runJavac(AbstractRegressionTest.java:2048)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2814)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runTest(AbstractRegressionTest.java:2539)
	at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runNegativeTest(AbstractRegressionTest.java:2220)
	at org.eclipse.jdt.core.tests.compiler.regression.ProblemTypeAndMethodTest.test081(ProblemTypeAndMethodTest.java:3822)

Standard Output

org.eclipse.jdt.core.tests.compiler.regression.ProblemTypeAndMethodTest#test081 - 1.8
com/ost/util/report/Matrix.java [
package com.ost.util.report;
import java.io.Serializable;
import com.ost.util.report.exceptions.InvalidRowSizeException;
public class Matrix<T> implements Serializable {
	/**
	 * @see exceptions.InvalidRowSizeException2
	 */
	public synchronized final void addRow(Object[] row){
			throw new InvalidRowSizeException();
	}
}

]
com/ost/util/report/FilterConstraintSpecification.java [
package com.ost.util.report;
import java.io.Serializable;
import com.ost.util.report.exceptions.MalformedFilterConstraintSpecification;
public final class FilterConstraintSpecification implements Serializable, Cloneable {
	private final void makeConstraint(){
		throw new MalformedFilterConstraintSpecification();
	}
}

]
com/ost/util/report/exceptions/MalformedFilterConstraintSpecification.java [
package com.ost.util.report.exceptions;
public class MalformedFilterConstraintSpecification extends RuntimeException {
	/** Creates a new instance of MalformedFilterConstraintSpecification */
	public MalformedFilterConstraintSpecification() {
		super();
	}
	/* Creates a new instance of MalformedFilterConstraintSpecification */
	public MalformedFilterConstraintSpecification(String message) {
		super(message);
	}
}

]
com/ost/util/report/exceptions/InvalidRowSizeException.java [
package com.ost.util.report.exceptions;
public class InvalidRowSizeException extends RuntimeException {
	/** Creates a new instance of InvalidRowSizeException */
	public InvalidRowSizeException() {
		super();
	}
	/* Creates a new instance of InvalidRowSizeException */
	public InvalidRowSizeException(String message) {
		super(message);
	}
}

]


Full results sent to /tmp/comptest/run.1514610271420/1.8.0_131_20171230_000432.txt

Standard Error

--- javac err: ---
com/ost/util/report/Matrix.java:4: warning: [serial] serializable class Matrix has no definition of serialVersionUID
public class Matrix<T> implements Serializable {
       ^
com/ost/util/report/FilterConstraintSpecification.java:4: warning: [serial] serializable class FilterConstraintSpecification has no definition of serialVersionUID
public final class FilterConstraintSpecification implements Serializable, Cloneable {
             ^
com/ost/util/report/exceptions/MalformedFilterConstraintSpecification.java:2: warning: [serial] serializable class MalformedFilterConstraintSpecification has no definition of serialVersionUID
public class MalformedFilterConstraintSpecification extends RuntimeException {
       ^
com/ost/util/report/exceptions/InvalidRowSizeException.java:2: warning: [serial] serializable class InvalidRowSizeException has no definition of serialVersionUID
public class InvalidRowSizeException extends RuntimeException {
       ^
4 warnings

----------------------------------------