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.
open jdk_trunk/hotspot/src/share/vm/runtime/globals.hpp have a look at line 481: #define RUNTIME_FLAGS ... \ ......... \ ............ \ then open macro view and there are 3 expanded lines at the end of file. They don't have Line Feeds => i.e. the first one is very long (~37 000 symbols) and it's impossible to find anything in this line, because Macro View doesn't have "Find" as well
Code example: ------------------------8<-------------------- #include <iostream> #define LOOP(A, V) std::cout << "Welcome ..." << std::endl;\ \ if (argc > 1) {\ std::cout << std::endl << "Arguments:" << std::endl;\ for (int i = 1; i < argc; i++) {\ std::cout << i << ": " << argv[i] << std::endl;\ }\ } int main(int argc, char**argv) { LOOP(argc, argv) return 0; } ------------------------8<--------------------
fixed LF in change set: http://hg.netbeans.org/cnd-main/rev/05b6052b8d2c
Integrated into 'main-silver', will be available in build *201404100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/05b6052b8d2c User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #243574 [hotspot] Line Feeds in Macro Expansion
fixed, change set: http://hg.netbeans.org/cnd-main/rev/b3013a013993
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b3013a013993 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #243574 [hotspot] Line Feeds in Macro Expansion - smarter macro expansion formatting
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/887e31682119 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #243574 [hotspot] Line Feeds in Macro Expansion (transplanted from 05b6052b8d2ccfc6a0b08f28161c854fd54f6f3b)