Community
Participate
Working Groups
Go to Window -> Preferences -> Java -> Compiler -> Errors/Warnings and select "Warning" for "Indirect access to static member". Recompile. There will be many (maybe 1000, depending on platform) warnings in the org.eclipse.swt project. Some examples of these are: - we moved PTR_SIZEOF from OS up into class C, and most references to PTR_SIZEOF are still in OS - simple array alloc/free/movemem were also moved up into class C - non-COM classes started using simple VtblCalls, so that was moved from COM up into OS, but most references are still to COM - etc This does not look good for people who have this warning turned on and they load org.eclipse.swt.
Fixed > 20110119 We have decided that, for now, we prefer to simply ignore this warning, so we have added the following line to the /org.eclipse.swt/.settings/org.eclipse.jdt.core.prefs file: org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore