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.
int main(int argc, char**argv) { // № 1 in russian is the problem symbol inside string cout <<"Точка № 1 :\n"; }
test file is: Checking in 0x16.cc; /shared/data/ccvs/repository/cnd/modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModelTest/0x16.cc,v <-- 0x16.cc initial revision: 1.1 done
It seems to be problem for a lot of Unicode symboles when file is not saved (so FileBuffer is document based) And in this case we have broken APT for whole file Rising to P2
Created attachment 52767 [details] proposed patch for 6.0
fixed in trunk: - use standard ByteArrayInputStream to convert String into InputStream cvs log: Checking in FileBufferDoc.java; /cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/platform/FileBufferDoc.java,v <-- FileBufferDoc.java new revision: 1.9; previous revision: 1.8 done
Escalated. Critical for ML release.
The fix was reviewed. I believe it is correct and safe.
verified in trunk build 20071109
verified in RC1 build