Ticket #123 (closed defect: fixed)
Range overflow for irritants in CompilerOptions
| Reported by: | stephan | Owned by: | stephan |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.2.1 |
| Component: | compiler | Version: | 1.2.0pre |
| Keywords: | Cc: |
Description
The long constants encoding irritants in class CompilerOptions are used for making certain classes of problems configurable (error,warning,ignore). These constants use individual bits to support storing a set of irritants within one long value. While merging Eclipse 3.4 with the OTDT we ran out of bits.
Currently, I work around this by
- discarding our previous irritants effectless_fieldaccess, unused_parammap and incomplete_build
- sacrifice JDT irritant assertIdentifier
The above problems are now invariably reported as fatal errors.
I should discuss a long-term strategy with the jdt core team. Also the JML4 people might soon run into this.
Also note, that the constants in org.eclipse.jdt.core.CompletionProposal just about hit the ceiling: 31 of 32 bits in an int are used.
all news
RSS feed