Community
Participate
Working Groups
Build I20080527-2000. JavaDocTestCase following tests are failing in this build tests results: - testMultiLineCommentIndentTabs1 - testMultiLineCommentIndentSpaces1-4
It looks like the method Scribe.isAdaptableRegions does return false when tests are run on Windows but true on Linux boxes... As this method was not changed by the fix for bug 232768 released yesterday, it seems that we had this difference for a little while suddenly exhibits by that last change. I'm still investigating...
Only happens on Linux or Mac-OS test boxes...
Created attachment 102387 [details] Proposed patch This patch just revert in Scribe the scannerEndPosition initialisation in printComment(int,String,int,int,int) method to avoid the undesirable side effect in isAdaptableRegion(int,int) and adaptRegions() where this field is used. However, note that this just show that algorithm in these methods are not correct as they behaves differently for same sources with different line separators. I will open another bug for this issue.
Jerome, Philippe, Eric, could you please review? Thanks
Patch looks good: +1
+1 for RC3. Offending code had been introduced yesterday by mistake.
Agreed this regression must be fixed for RC3. Patch is simple: +1
Released for 3.4RC3 in HEAD stream.
Verified for 3.4RC4