You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/08/01 19:20:51 UTC
[maven-jdeps-plugin] branch master updated: Fix assertion
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jdeps-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 2e55ee2 Fix assertion
2e55ee2 is described below
commit 2e55ee23c10794888052e1d095f042ec5339b574
Author: rfscholte <rf...@apache.org>
AuthorDate: Wed Aug 1 21:20:44 2018 +0200
Fix assertion
---
src/it/package/verify.groovy | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/it/package/verify.groovy b/src/it/package/verify.groovy
index 875917c..abd830b 100644
--- a/src/it/package/verify.groovy
+++ b/src/it/package/verify.groovy
@@ -24,16 +24,9 @@ if (!System.getProperty('java.version').startsWith('1.8.')) {
// classes -> java.base
// org.apache.maven.plugins.jdeps.its -> java.io java.base
assert 1 == buildLog.readLines().dropWhile{ it != 'classes -> java.base' }.drop(1).takeWhile{ !it.startsWith( '[INFO]' ) }.size()
-} else if (System.getProperty('os.name').startsWith('Windows')) {
+} else {
// classes -> c:\Program Files\Java\jdk1.8.0_152\jre\lib\rt.jar
// org.apache.maven.plugins.jdeps.its (classes)
// -> java.io
assert 2 == buildLog.readLines().dropWhile{ !it.startsWith("classes -> ") }.drop(1).takeWhile{ !it.startsWith( '[INFO]' ) }.size()
-} else {
- // classes -> JDK removed internal API
- // classes -> java.base
- // <unnamed> -> java.io java.base
- // <unnamed> -> java.lang java.base
- // <unnamed> -> sun.misc JDK internal API (JDK removed internal API)
- assert 5 == buildLog.readLines().dropWhile{ !it.startsWith("classes -> ") }.drop(1).takeWhile{ !it.startsWith( '[INFO]' ) }.size()
}