Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProblems with preverification
https://www.eclipse.org/forums/index.php/mv/msg/180909/573954/#msg_573954
without problems. Now I have a bunch of weird preverification problems.
1.) Error preverifying class ... (No description of the problem).
2.) Type java.lang.String Error preverifying class java.lang String. (No
further description and also NO PATH, so I have absolutely no idea where
to search for the problem.)
I tried to comment out some String references. After that, I had two more
error descriptions in my problems view. After uncommenting, there where 4
more errors or so, so the behavior is absolutely odd. After cleaning the
project, everything is ok again (the 4 additional errors are gone)
public static int truncate(float value) {
//return new Float(Math.floor(value)).intValue();
return new Float(value).intValue();
}
}
This class has 2 preverifying errors in with CLDC 1.0. When you uncomment
the lines in error, a preverification error for the class is still
displayed which is definitely wrong (It works, when you clean the project,
but that shouldn't be necessary).
I know how to resolve most of the problems but I think you should know
that there a lot of things to do that preverification really works and
wanted to tell you some of the problems. Maybe I also did something wrong,
so I decided not to create a bug report for all that stuff.