Ear file problems

View: New views
2 Messages — Rating Filter:   Alert me  

Ear file problems

by aeleneski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When trying to run findbugs from either the GUI or ant task, I am unable to get EAR files to work. When attempting to run, with the EAR, it states that it cannot find any classes to analyze, but if I link to all the jar files within the EAR, then it works fine. Is this feature not working? Or am I possibly doing something wrong?

Thanks,

aeleneski@...
_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss

write to static field from instance method

by REDDY GOPI-QMDV68 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FindBugs is flagging several instances of the "Write to static field
..." error but some are categorized as "H D ST", some as "M D ST", and
the rest as "L D ST". What are the differences?

Also, why is updating a static field from an instance method such a bad
thing? Should the instance method call a (synchronized in a
multi-threaded app) static method to access a static field? What's the
recommended fix or workaround?

Thanks
Gopi

_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss