-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Milestone
Description
Given two simple classes which both reside in src/test of a newly created Java project named Compiler Error with default settings:
package test;
public class SuperClass
{
public SuperClass()
{
}
public SuperClass(byte[] data)
{
}
}
package test;
public class SubClass extends SuperClass
{
/**
* @see SuperClass#SuperClass()
*/
public SubClass(int x)
{
}
}
Eclipse produces this error:
Internal compiler error: java.lang.RuntimeException:
Internal Error compiling /Compiler Error/src/test/SubClass.java
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.processing(ProcessTaskManager.java:139)
SubClass.java /Compiler Error/src/test line 0 Java Problem
The error disappears when:
- The
@seejavadoc annotation is removed @see SuperClass#SuperClass()is changed to@see SuperClassX#SuperClass()- @see
SuperClass#SuperClass()is changed to@see SuperClass#SuperClassX() - @see
SuperClass#SuperClass()is changed to@see SuperClass#SuperClass - Parameter
int xis removed from theSubClassconstructor - Any or all constructors are removed from
SuperClass
The problem first occurred with Eclipse version 2025-09 and is still happening in Eclipse version 2025-12. Eclipse 2025-06 did not show the problem.
Reactions are currently unavailable