-
JLint detects unreachable code in the attached file at line 3 (ran JLint through YASCA).
However, this is simply the assignment part of an array initialization, not really unreachable code.
Essentially, this is the statement that is getting misinterpreted:
return new int[]{0};.
2009-06-25 17:57:23 UTC by rnavarette
-
I created an ebuild script for use with the Gentoo Linux packaging system. You can either put this into your working copy of the portage tree (usually residing in /usr/portage) or in a local overlay. I chose the software category to be dev-java. Before emerging Jlint, remember that you have to run "ebuild jlint-3.1.ebuild digest" in order to generate a Manifest and a source file digest. With...
2007-09-29 19:11:04 UTC by javaprog
-
Jlint 3.1 crashes during class analysis with the following output:
jlint: method_desc.cc:3003: void method_desc::parse_code(constant**, const field_desc*): Assertion `sp == stack_bottom' failed.
I am calling Jlint using the shell script provided in the distribution and I have the feeling that this is happening either because there are too many classes to analyze ("find . -name '*class' |...
2007-09-29 18:47:34 UTC by javaprog
-
This patch lets jlint at least compile and run some simple examples on a 64-bit Intel platform where stdint.h is available. I have not tested extensively with this patch. I have no workaround at this time for platforms with no stdint.h (although some of them will have inttypes.h, which would work just as well).
2007-08-17 00:13:18 UTC by jjames
-
antic reports several warnings because it just seem to ignore preprocessor statements. It would be nice if one could pass -D options to it and it would parse #if statements.
2007-01-24 07:59:43 UTC by ensonic
-
parsing this code
function()
{
gchar *try[] = {
"Dude",
"Hi, I'm a string",
"tüüüt!"
};
...
gives:
xxx.c:389:3: Possible miss of ';'.
2007-01-24 07:52:28 UTC by ensonic
-
could antic treat exit() the same way as return or break?
case ARG_VERSION:
// do something
exit (0);
case ARG_FATAL_WARNINGS:
2007-01-24 07:44:12 UTC by ensonic
-
telcontar committed patchset 108 of module jlint to the Jlint CVS repository, changing 1 files.
2006-10-13 07:11:55 UTC by telcontar
-
telcontar committed patchset 107 of module jlint to the Jlint CVS repository, changing 2 files.
2006-10-13 07:06:42 UTC by telcontar
-
telcontar committed patchset 106 of module jlint to the Jlint CVS repository, changing 1 files.
2006-10-13 07:00:57 UTC by telcontar