Rory O'Donnell | 27 Feb 12:01 2015
Picon

Early Access builds for JDK 9 b51 are available on java.net


Hi Andreas,

Early Access build for JDK 9 b51 available on java.net, summary of  changes are listed here

I'd also like to use this opportunity to point you to JEP 238: Multi-Version JAR Files [0],
which is currently a Candidate JEP for JDK 9.

It's goal is to extend the JAR file format to allow multiple, JDK release-specific versions of class
files to coexist in a single file. An additional goal is to backport the run-time changes to
JDK 8u60, thereby enabling JDK 8 to consume multi-version JARs. For a detailed discussion,
please see the corresponding thread on the core-libs-dev mailing list. [1]

Please keep in mind that a JEP in the Candidate state is merely an idea worthy of consideration
by JDK Release Projects and related efforts; there is no commitment that it will be delivered in
any particular release.

Comments, questions, and suggestions are welcome on the corelibs-dev mailing list. (If you
haven’t already subscribed to that list then please do so first, otherwise your message will be
discarded as spam.)

Rgds,Rory

[0] http://openjdk.java.net/jeps/238
[1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-February/031461.html
-- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 22 Feb 17:38 2015

[pmd/pmd] 9b8496: #1305 variable declaration inside switch causes Cl...

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 9b8496ab16ace645b46485fed03cab4aaee0a7f1
      https://github.com/pmd/pmd/commit/9b8496ab16ace645b46485fed03cab4aaee0a7f1
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/optimizations/PrematureDeclarationRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/optimizations/xml/PrematureDeclaration.xml
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1305 variable declaration inside switch causes ClassCastException

  Commit: cd8325dff378c4fe1f3cae096b6e9fe263d8e465
      https://github.com/pmd/pmd/commit/cd8325dff378c4fe1f3cae096b6e9fe263d8e465
  Author: Shuyang Zhou <zsyxc <at> users.sourceforge.net>
  Date:   2015-02-21 (Sat, 21 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/basic/OverrideBothEqualsAndHashcodeRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/basic/xml/OverrideBothEqualsAndHashcode.xml
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1303 OverrideBothEqualsAndHashcodeRule does not work on class implements resolvable interfaces

  Commit: bdf9c19a1dc606c9a83e9f7eb58f321f47fa1584
      https://github.com/pmd/pmd/commit/bdf9c19a1dc606c9a83e9f7eb58f321f47fa1584
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-21 (Sat, 21 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/UseCollectionIsEmptyRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/UseCollectionIsEmpty.xml
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1304 UseCollectionIsEmpty false positive comparing to 1

  Commit: 33212c7da3a9af3248c9e70326021c7ed35de828
      https://github.com/pmd/pmd/commit/33212c7da3a9af3248c9e70326021c7ed35de828
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-21 (Sat, 21 Feb 2015)

  Changed paths:
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/unusedcode/xml/UnusedPrivateField.xml

  Log Message:
  -----------
  #1302 False Positive: UnusedPrivateField when accessed by inner class

  Commit: acb8b49aa815179dad2c2f68a70e6d643b68ba6d
      https://github.com/pmd/pmd/commit/acb8b49aa815179dad2c2f68a70e6d643b68ba6d
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-21 (Sat, 21 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/OccurrenceFinder.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/SourceFileScope.java
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1302 False Positive: UnusedPrivateField when accessed by inner class

Compare: https://github.com/pmd/pmd/compare/96b425be46fe...acb8b49aa815
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 20 Feb 20:11 2015

[pmd/pmd] 21d7eb: Fixes for java9

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 21d7ebb8093de189c60d963a684ce512d9186bc6
      https://github.com/pmd/pmd/commit/21d7ebb8093de189c60d963a684ce512d9186bc6
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/lang/symboltable/AbstractScope.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/javabeans/BeanMembersShouldSerializeRule.java

  Log Message:
  -----------
  Fixes for java9

  Commit: 96b425be46fe0528f2d7d6df2f96368ba50f7b40
      https://github.com/pmd/pmd/commit/96b425be46fe0528f2d7d6df2f96368ba50f7b40
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M pmd-dist/pom.xml
    M pom.xml

  Log Message:
  -----------
  Disable Scala for jdk9 builds for now (see #1314 Enable Scala for JDK9)

Compare: https://github.com/pmd/pmd/compare/abb247a13ae2...96b425be46fe
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 20 Feb 19:01 2015

[pmd/pmd] cd52e3: [JUnit] Check assertion message present in assertE...

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: cd52e39b08ea86fd41a82d4dbd8d139c72bc1bce
      https://github.com/pmd/pmd/commit/cd52e39b08ea86fd41a82d4dbd8d139c72bc1bce
  Author: Robert Whitebit <robert.whitebit <at> gmail.com>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/junit/JUnitAssertionsShouldIncludeMessageRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitAssertionsShouldIncludeMessage.xml

  Log Message:
  -----------
  [JUnit] Check assertion message present in assertEquals with delta

A missing assertion message for assertEquals(double, double, double)
is detected in most cases now. If the assertEquals method has two
arguments, an assertion message is missing, if the assertEquals method
has three arguments, the first one has to be a string.

Pmd will only print an error if the first argument type has been
determined (getType() != null) and isn't a String. Therefore
assertEquals(getInt(), getInt(), getInt()) won't be detected as an
error. However, double d = 1.0; assertEquals(d, 1.0, 1.0); will be
detected.

The JUnitAssertionsShouldIncludeMessageRule.check method has been moved
to the inner class AssertionCall and has been expanded by an
isException hook. The assertEquals with three arguments check overrides
the isException method, returns true if the first argument can't be
determined or is a String and if so, no violation will be added. Also
the constructor arguments have been swapped for readability.

https://sourceforge.net/p/pmd/bugs/1313/

  Commit: abb247a13ae260d0884491eaf16d2fa43d96f23c
      https://github.com/pmd/pmd/commit/abb247a13ae260d0884491eaf16d2fa43d96f23c
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Update changelog

Compare: https://github.com/pmd/pmd/compare/1d0d7d995e2d...abb247a13ae2
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
hkaiserl@googlemail.com | 19 Feb 22:08 2015
Picon

How to use suppressionXpath on fields, methods and classes?

Hello list,

I like your work with PMD. It is a great piece of work to help 
developers to keep on track.

But sometimes there are cases there I get stuck with PMD.

How can I write a xpath to suppress some warnings based on Annotations 
at class level or field level?
A good question to this I have also found here:
http://stackoverflow.com/questions/28331272/pmd-violationsuppressxpath-for-all-rest-get-methods

My issue is often how to write a xpath, which matches a field based on a 
class level, method level or field level annotation?
We use some code generations based on annotations, so are some of the 
rules obsolete and should be deactivated, but how?

Since the noise on the forum is very low up to not visible, I tried it 
directly on this mailing list.
My suggestion:
Maybe it is a better way to move the user help forum to stackoverflow? 
Similar to other OSS project, which use stackoverflow for QA?

best wishes,
Hans

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
GitHub | 19 Feb 21:01 2015

[pmd/pmd] 1f6421: Handle NoClassDefFoundError along ClassNotFoundExc...

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 1f6421ec8800fc0aebb2f46ccf2bac2b563862d7
      https://github.com/pmd/pmd/commit/1f6421ec8800fc0aebb2f46ccf2bac2b563862d7
  Author: Roman <rsalvador <at> salesforce.com>
  Date:   2015-02-15 (Sun, 15 Feb 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/dcd/ClassLoaderUtil.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/TypeSet.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/PMDASMClassLoader.java

  Log Message:
  -----------
  Handle NoClassDefFoundError along ClassNotFoundException

  Commit: 070a7c992f10afea8bd5f08daf3d3ae4582ca688
      https://github.com/pmd/pmd/commit/070a7c992f10afea8bd5f08daf3d3ae4582ca688
  Author: Roman <rsalvador <at> salesforce.com>
  Date:   2015-02-15 (Sun, 15 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedPrivateFieldRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/unusedcode/xml/UnusedPrivateField.xml

  Log Message:
  -----------
  Fix some false positives in UnusedPrivateField

  Commit: 41e921531a4a19fc8ac0a79b15fbd13c509bbba1
      https://github.com/pmd/pmd/commit/41e921531a4a19fc8ac0a79b15fbd13c509bbba1
  Author: Robert Whitebit <robert.whitebit <at> gmail.com>
  Date:   2015-02-18 (Wed, 18 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/junit/JUnitAssertionsShouldIncludeMessageRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitAssertionsShouldIncludeMessage.xml

  Log Message:
  -----------
  Add missing assertions in JUnitAssertionsShouldIncludeMessage test

Missing assertions were assertArrayEquals, assertNotSame, assertThat and
fail.

  Commit: 563fc4ed5a7160e38d4cc652ff58963813ee23ca
      https://github.com/pmd/pmd/commit/563fc4ed5a7160e38d4cc652ff58963813ee23ca
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/dcd/ClassLoaderUtil.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/TypeSet.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/PMDASMClassLoader.java

  Log Message:
  -----------
  Merge branch 'no-class-def-found-error' of https://github.com/rsalvador/pmd into rsalvador-no-class-def-found-error

  Commit: 299d167e1ba5f0ee528836598fc87811cad24e5c
      https://github.com/pmd/pmd/commit/299d167e1ba5f0ee528836598fc87811cad24e5c
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Update changelog

  Commit: 6b7846a32988298b1c58e394d4901f022344d2b1
      https://github.com/pmd/pmd/commit/6b7846a32988298b1c58e394d4901f022344d2b1
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/unusedcode/UnusedPrivateFieldRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/unusedcode/xml/UnusedPrivateField.xml

  Log Message:
  -----------
  Merge branch 'unused-private-field-inner' of https://github.com/rsalvador/pmd into rsalvador-unused-private-field-inner

  Commit: 5c9eae44c1dd35f2fddc4a6c9c53c9b8243872d5
      https://github.com/pmd/pmd/commit/5c9eae44c1dd35f2fddc4a6c9c53c9b8243872d5
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Update changelog

  Commit: ed6a876549be286db8052d2439988abd2c5ba69d
      https://github.com/pmd/pmd/commit/ed6a876549be286db8052d2439988abd2c5ba69d
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/junit/JUnitAssertionsShouldIncludeMessageRule.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/junit/xml/JUnitAssertionsShouldIncludeMessage.xml

  Log Message:
  -----------
  Merge branch 'missingAsserts' of https://github.com/robertwhitebit/pmd into robertwhitebit-missingAsserts

  Commit: 1d0d7d995e2d51401bdb58eb154b17e79d66c5ab
      https://github.com/pmd/pmd/commit/1d0d7d995e2d51401bdb58eb154b17e79d66c5ab
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Update changelog

Compare: https://github.com/pmd/pmd/compare/0f0984af3c1a...1d0d7d995e2d
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 19 Feb 18:41 2015

[pmd/pmd] d5d611: #1312 Rule reference must not override rule name o...

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: d5d6118f12a57ecad4f94c43338011326fd7b15c
      https://github.com/pmd/pmd/commit/d5d6118f12a57ecad4f94c43338011326fd7b15c
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-18 (Wed, 18 Feb 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/lang/rule/RuleReference.java
    M pmd-core/src/test/java/net/sourceforge/pmd/RuleSetFactoryTest.java
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1312 Rule reference must not override rule name of referenced rule
otherwise the rule reference is broken

  Commit: 0f0984af3c1aabce7d4b07caec1e4dabfff3c919
      https://github.com/pmd/pmd/commit/0f0984af3c1aabce7d4b07caec1e4dabfff3c919
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/RuleSetWriter.java
    M pmd-core/src/test/java/net/sourceforge/pmd/RuleSetFactoryTest.java
    M pmd-core/src/test/java/net/sourceforge/pmd/RuleSetWriterTest.java

  Log Message:
  -----------
  #1312 Rule reference must not override rule name of referenced rule
The RuleSetWriter used the wrong name, too

Compare: https://github.com/pmd/pmd/compare/c44d94416dd5...0f0984af3c1a
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 14 Feb 19:51 2015

[pmd/pmd] 5fbbe0: verify #1310 PMD cannot parse int.class

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 5fbbe0ac9422c149add5b2de3487339844d185ce
      https://github.com/pmd/pmd/commit/5fbbe0ac9422c149add5b2de3487339844d185ce
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
    M pmd-java/src/test/resources/net/sourceforge/pmd/ast/ParserCornerCases.java

  Log Message:
  -----------
  verify #1310 PMD cannot parse int.class

  Commit: c44d94416dd5edff6530d6d9151dedfd7a002af9
      https://github.com/pmd/pmd/commit/c44d94416dd5edff6530d6d9151dedfd7a002af9
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-02-10 (Tue, 10 Feb 2015)

  Changed paths:
    M pmd-java/src/test/resources/net/sourceforge/pmd/ast/ParserCornerCases.java

  Log Message:
  -----------
  verify #1310 PMD cannot parse int.class with real example

Compare: https://github.com/pmd/pmd/compare/12d6d7124201...c44d94416dd5
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
Thilina Sampath | 12 Feb 10:55 2015
Picon

want to help..

I want to how to create sonarQube rules video tutorial 
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
Rory O'Donnell | 6 Feb 12:27 2015
Picon

Early Access builds for JDK 9 b48, JDK 8u40 b23 & JDK 7u80 b05 are available on java.net

Hi Andreas,

Now that JDK 9 Early Access build images are modular [1], there is a fresh
Early Access build for JDK 9 b48 available on java.net.
The summary of  changes are listed here

In addition, there are new Early Access builds for the ongoing update releases.

The Early Access build for JDK 8u40 b23 is available on java.net, with the
summary of changes listed here.

Finally, the Early Access build for JDK 7u80 b05 is available on java.net,
with the summary of changes listed here.

As we enter the later phases of development for JDK 7u80 & JDK 8u40,
please log any show stoppers as soon as possible.

Rgds,Rory

[1] http://mreinhold.org/blog/jigsaw-modular-images

-- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 28 Jan 21:39 2015

[pmd/pmd] b17698: Created extra CSV output format 'csv_with_linecoun...

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: b1769846e553f7bc7eb94461fa2b80440611978d
      https://github.com/pmd/pmd/commit/b1769846e553f7bc7eb94461fa2b80440611978d
  Author: Jan van Nunen <jan.van.nunen <at> tiobe.com>
  Date:   2015-01-21 (Wed, 21 Jan 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/GUI.java
    A pmd-core/src/main/java/net/sourceforge/pmd/cpd/Mark.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/Match.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/MatchAlgorithm.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/SimpleRenderer.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/VSRenderer.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/XMLRenderer.java
    A pmd-core/src/test/java/net/sourceforge/pmd/cpd/CSVRendererTest.java
    A pmd-core/src/test/java/net/sourceforge/pmd/cpd/MarkTest.java
    M pmd-core/src/test/java/net/sourceforge/pmd/cpd/MatchTest.java
    M pmd-core/src/test/java/net/sourceforge/pmd/cpd/XMLRendererTest.java
    M pmd-java/src/test/java/net/sourceforge/pmd/cpd/MatchAlgorithmTest.java

  Log Message:
  -----------
  Created extra CSV output format 'csv_with_linecount_per_file' which outputs the correct line count per file.

Some of the tokenizers ignore comments and therefore the line count of a
duplication can differ per file. Take for example the following files:

FileA.java:

1: public class FileA {
2:  pulbic String Foo() {
3:    return "Foo";
4:   }
5:  }

FileB.java:

1: public class FileB {
2:   pulbic String Foo() {
3:     // This is a comment
4:     return "Foo";
5:   }
6: }

When comments are ignored and not tokenized, the duplication consist of
the following tokens:

'{', 'public', 'String', 'Foo', '(', ')', '{', 'return', 'Foo', ';',
'}', '}'

For 'FileA.java' the duplication is 5 lines long, it starts at line 1
and ends at line 5. For 'FileB.java' the duplication is 6 lines long, it
starts at line 1 and ends at line 6.

Note that this is just 1 example, because for most tokenizers comments
and white spaces are not significant. For example the following file
contains the same duplication all on 1 line:

FileC.java

1: public class FileC { public String Foo() { return "Foo"; } }

For us the correct line count per file is important, because we
highlight the duplications in an annotated source view and show the
percentage of duplicated code the file contains. The current output
formats only contain 1 line count per duplication and file set. For the
above example CPD would output the following:

Found a 4 line (12 tokens) duplication in the following files:
Starting at line 1 of FileA.java
Starting at line 1 of FileB.java

For FileB.java this is not correct and would lead to incorrect
percentage of duplicated code. (66% (4 of 6 lines) instead of the
correct 83% (5 of 6 lines)).

To fix the problem, I created an extra output format
'csv_with_linecount_per_file' which outputs the correct line count per
file. The format contains the following:

tokens,occurrences
<nr of tokens>,<nr of occurrences>(,<begin line>,<line count>,<file
name>)+

For the above example the output would be

tokens,occurrences
12,2,1,4,FileA.java,1,5,FileB.java

  Commit: 1159350e914c2aa977af649e71a6dd2efa9864b6
      https://github.com/pmd/pmd/commit/1159350e914c2aa977af649e71a6dd2efa9864b6
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-01-24 (Sat, 24 Jan 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/CPDConfiguration.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/CSVRenderer.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/GUI.java
    A pmd-core/src/main/java/net/sourceforge/pmd/cpd/Mark.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/Match.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/MatchAlgorithm.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/SimpleRenderer.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/VSRenderer.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/XMLRenderer.java
    A pmd-core/src/test/java/net/sourceforge/pmd/cpd/CSVRendererTest.java
    A pmd-core/src/test/java/net/sourceforge/pmd/cpd/MarkTest.java
    M pmd-core/src/test/java/net/sourceforge/pmd/cpd/MatchTest.java
    M pmd-core/src/test/java/net/sourceforge/pmd/cpd/XMLRendererTest.java
    M pmd-java/src/test/java/net/sourceforge/pmd/cpd/MatchAlgorithmTest.java

  Log Message:
  -----------
  Merge branch 'tiobe/csv_linenumber_per_file' of https://github.com/tiobe/pmd into tiobe-tiobe/csv_linenumber_per_file

  Commit: 5572f9896c1e81cb9b5161bdcb12aa7d46346854
      https://github.com/pmd/pmd/commit/5572f9896c1e81cb9b5161bdcb12aa7d46346854
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    A pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/FieldDeclarationsShouldBeAtStartOfClassRule.java
    M pmd-java/src/main/resources/rulesets/java/design.xml

  Log Message:
  -----------
  Merge branch 'master' into tiobe-tiobe/csv_linenumber_per_file

  Commit: 12d6d7124201d6fd737ac65d7c5e8accdb60b4a0
      https://github.com/pmd/pmd/commit/12d6d7124201d6fd737ac65d7c5e8accdb60b4a0
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-01-28 (Wed, 28 Jan 2015)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/Mark.java
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Update changelog

Compare: https://github.com/pmd/pmd/compare/4e23642f7412...12d6d7124201
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel

Gmane