Forum Stats

  • 3,733,150 Users
  • 2,246,705 Discussions
  • 7,856,536 Comments

Discussions

I am able to compile a java file in eclipse inspite of compilation errors shown in eclipse and a .cl

Hi,

I had a java file with compilation errors as shown in eclipse IDE.

But the class file is still generated in the classes folder on building and pressing clean the project.

I confirmed that the class file has an updated time stamp and also that a System.out.println() statement that i added was indeed printed out when this class was encountered during the running of a web application in which this class was called somewhere.

(The java class has no subclasses and it is a single class with public modifier).

How does it happen so?

Regards,

Karthik.

Tagged:
This discussion has been closed.