This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Refactor -> "Move inner to outer level" rewrites some constant to different form | ||
---|---|---|---|
Product: | java | Reporter: | Petr Nejedly <pnejedly> |
Component: | Source | Assignee: | Rastislav Komara <moonko> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Nejedly
2007-10-25 22:39:08 UTC
Yes, that is bad. Unfortunately it is represented as an integer literal and when printed at a new place, there is no way how to recognize the original notation. The problem is applicable for octal notation too. Bear in mind that this is problem only when tree is inserted to the new file. During reformat, we have token sequence and we workaround this problem. There isn't any good fix, this has to be fixed in serving (parser) side. Feel free to increase priority. I do not have any idea of replacement 1<<30 as a numeric, this is a left shift expression, cannot find the place where it can be replaced. Overtake. Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next". NetBeans.org Migration: changing resolution from LATER to WONTFIX |