Community
Participate
Working Groups
In package org.eclipse.jdt.internal.formatter; ... public class Scribe { ... public void printModifiers() { ... switch(this.currentToken) { case TerminalTokens.TokenNamepublic : case TerminalTokens.TokenNameprotected : case TerminalTokens.TokenNameprivate : case TerminalTokens.TokenNameabstract : case TerminalTokens.TokenNamestatic : case TerminalTokens.TokenNamefinal : case TerminalTokens.TokenNametransient : case TerminalTokens.TokenNamevolatile : case TerminalTokens.TokenNamesynchronized : case TerminalTokens.TokenNamenative : case TerminalTokens.TokenNamestrictfp : The latter one is missing, because of this declarations using the strictfp modifier are not treated correctly. Adding the strictfp token fixes this problem
I will add it.
Fixed and released in HEAD. Regression test added. Philippe, I think this is a good candidate for 3.0.1.
*** Bug 85294 has been marked as a duplicate of this bug. ***