5 Commits

Author SHA1 Message Date
Rawi01 626c33255b [tests] Support javadoc in ecj tests 2020-12-20 14:03:28 +01:00
Reinier Zwitserloot 1b534d17d3 Untangling patches to classes that only exist in eclipse, not ecj
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better,
which cannot be applied to ecj as you get load errors (javadoc not a thing there).

As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down
versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues).

The tests now marked as eclipse only don't fail on ecj, but they don't generate the same
result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir
instead, but that's perhaps going overboard.
2020-10-03 23:51:33 +02:00
Reinier Zwitserloot ed6d1fbb09 When generating javadoc for setters, a @return this is added if needed. 2015-06-01 16:39:10 +02:00
Roel Spilker 6a02cb4013 [jdk8support] We now handle doc comments internally, alleviating the need to try and keep up with the complete rewrites of the doc comment parser from java6 to java7 to java8. Still doesn't actually work in jdk8, but only because of a last-mile issue. (we communicate the doc comment via compilationUnit.docComments but that changed types in jdk8, we just need to make a wrapper to make that work). 2013-09-09 23:54:28 +02:00
Reinier Zwitserloot 867929c79f added tests for new javadoc behaviour, javac implementation of copying javadoc for getters/setters, and fixed pretty printer to no longer inject an extra newline at the top of javadoc. 2013-07-08 21:20:24 +02:00