I try to use Sonar on a Java 7 project (which relies on new syntactic features) and the PMD part and the Checkstyle part fail to parse those files.
I have switched to the newest JDK 7 and I am having problems with running testng unit test on byte code that is fiddled by emma coverage tool. None of my test cases are run correctly and for most of t
In previous versions of Java, I would read a file by creating a buffered reader like this: BufferedReader in = new BufferedReader(new FileReader(\"file.txt\"));
Are Locks auto-closeable? That is, instead of: Lock someLock = new ReentrantLock(); someLock.lock(); try
In previous versions of java, rethrowing an exception was treated as throwing the type of the catch parameter.
I have decompiled a very simple class that uses the new Java 7 String Switch feature. The class: public class StringSwitch {
I have couple interesting Java collections in my hand such as: http://code.google.com/p/guava-libraries/
I have installed jdk1.7 at my e:\\. i have already jdk1.6 and 1.5 in my machine at c:\\. Environment vairable,
Apparently Java7 has some nasty bug regarding loop optimization: Google search. From the reports and bug descriptions I find it hard to judge how significant this bug is (unless 开发者_开发问答you us
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.