Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkstyle 7.6 #1466

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Checkstyle 7.6 #1466

wants to merge 5 commits into from

Conversation

jayvdb
Copy link
Member

@jayvdb jayvdb commented Feb 27, 2017

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

1 similar comment
@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@sils
Copy link
Member

sils commented Mar 22, 2017

ack b1551ab 8bc4285 4a1123b

@sils
Copy link
Member

sils commented Mar 22, 2017

The PR needs a rebase and conflict resolution though, also the review was done under the assumption that all tests pass which isn't true on AppVeyor.

@jayvdb
Copy link
Member Author

jayvdb commented Mar 22, 2017

This is blocked on #1527 , which turned out to have more significant problems on Windows hence needing to be worked on separately.

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

1 similar comment
@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

1 similar comment
@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@@ -53,7 +53,10 @@ test_script:
# Force DOS format, as Checkstyle configs enable NewlineAtEndOfFile,
# which defaults to CRLF on Windows, and Appveyor CI ignores .gitattributes
# http://help.appveyor.com/discussions/problems/5687-gitattributes-changes-dont-have-any-effect
- unix2dos tests/java/test_files/CheckstyleBad.java
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section ci.

The issue can be fixed by applying the following patch:

--- a/.ci/appveyor.yml
+++ b/.ci/appveyor.yml
@@ -55,7 +55,7 @@
   # http://help.appveyor.com/discussions/problems/5687-gitattributes-changes-dont-have-any-effect
   - unix2dos tests/java/test_files/CheckstyleBad.java
   - unix2dos tests/java/test_files/CheckstyleGood.java
-  - appveyor DownloadFile https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-7.6-all.jar checkstyle-7.6-all.jar 
+  - appveyor DownloadFile https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-7.6-all.jar checkstyle-7.6-all.jar
   - java -jar checkstyle-7.6-all.jar -c '/google_checks.xml' tests/java/test_files/CheckstyleBad.java
   # Clang DLLs x64 were nowadays installed, but the x64 version hangs, so we
   # exclude according tests. See https://github.com/appveyor/ci/issues/495 and

@gitmate-bot gitmate-bot added size/M and removed size/S labels Apr 26, 2017
@@ -53,7 +53,10 @@ test_script:
# Force DOS format, as Checkstyle configs enable NewlineAtEndOfFile,
# which defaults to CRLF on Windows, and Appveyor CI ignores .gitattributes
# http://help.appveyor.com/discussions/problems/5687-gitattributes-changes-dont-have-any-effect
- unix2dos tests/java/test_files/CheckstyleBad.java
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section ci.

The issue can be fixed by applying the following patch:

--- a/.ci/appveyor.yml
+++ b/.ci/appveyor.yml
@@ -55,7 +55,7 @@
   # http://help.appveyor.com/discussions/problems/5687-gitattributes-changes-dont-have-any-effect
   - unix2dos tests/java/test_files/CheckstyleBad.java
   - unix2dos tests/java/test_files/CheckstyleGood.java
-  - appveyor DownloadFile https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-7.6-all.jar checkstyle-7.6-all.jar 
+  - appveyor DownloadFile https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-7.6-all.jar checkstyle-7.6-all.jar
   - java -jar checkstyle-7.6-all.jar -c '/google_checks.xml' tests/java/test_files/CheckstyleBad.java
   # Clang DLLs x64 were nowadays installed, but the x64 version hangs, so we
   # exclude according tests. See https://github.com/appveyor/ci/issues/495 and

@@ -53,7 +53,10 @@ test_script:
# Force DOS format, as Checkstyle configs enable NewlineAtEndOfFile,
# which defaults to CRLF on Windows, and Appveyor CI ignores .gitattributes
# http://help.appveyor.com/discussions/problems/5687-gitattributes-changes-dont-have-any-effect
- unix2dos tests/java/test_files/CheckstyleBad.java
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section ci.

The issue can be fixed by applying the following patch:

--- a/.ci/appveyor.yml
+++ b/.ci/appveyor.yml
@@ -55,7 +55,7 @@
   # http://help.appveyor.com/discussions/problems/5687-gitattributes-changes-dont-have-any-effect
   - unix2dos tests/java/test_files/CheckstyleBad.java
   - unix2dos tests/java/test_files/CheckstyleGood.java
-  - appveyor DownloadFile https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-7.6-all.jar checkstyle-7.6-all.jar 
+  - appveyor DownloadFile https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-7.6-all.jar checkstyle-7.6-all.jar
   - java -jar checkstyle-7.6-all.jar -c '/google_checks.xml' tests/java/test_files/CheckstyleBad.java
   # Clang DLLs x64 were nowadays installed, but the x64 version hangs, so we
   # exclude according tests. See https://github.com/appveyor/ci/issues/495 and

@jayvdb
Copy link
Member Author

jayvdb commented Apr 26, 2017

The problem on Appveyor is

java -jar checkstyle-7.6-all.jar -c '/google_checks.xml' tests/java/test_files/CheckstyleBad.java
java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/Main : Unsupported major.minor version 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Exception in thread "main" Command exited with code 1

52.0 is Java 8.

@jayvdb
Copy link
Member Author

jayvdb commented Apr 26, 2017

Created issue #1675 about this.

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

13 similar comments
@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link
Collaborator

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants