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.

Bug 60940 - Different comment in generated code on different OS
Summary: Different comment in generated code on different OS
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2005-07-13 17:09 UTC by L Martinek
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2005-07-13 17:09:19 UTC
If I select "Add Operation" in Web Service on Windows, I get

    /**
     * Web service operation
     * 
     */
    public String operation() throws java.rmi.RemoteException {
        // TODO implement operation 
        return null;
    }

If I do it on Unix, I get

    /**
     * Web service operation
     */
    public String operation() throws java.rmi.RemoteException {
        // TODO implement operation 
        return null;
    }

Notice that there is missing line in comment on Unix (or redundat line on
Windows). It causes me problem in automated tests, because generated code is not
same.
Comment 1 Martin Grebac 2005-07-26 12:59:02 UTC
I don't understand why it is different. The only thing we do in our code is:

m.setJavadocText("Web service operation");

on a method, and I don't know of any differences. Is this a problem in mdr?
Comment 2 Martin Matula 2005-07-26 13:45:19 UTC
Reassigning to java/javacore.
Comment 3 Pavel Flaska 2005-07-26 15:03:53 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/parser/JavaDocParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/JavaDocParser.java,v
 <--  JavaDocParser.java
new revision: 1.12; previous revision: 1.11
done
Comment 4 Petr Jiricka 2005-08-01 16:06:39 UTC
Can this issue be closed? Pavel says it's fixed, but the status is still NEW.
Thanks.
Comment 5 Pavel Flaska 2005-08-22 09:19:13 UTC
:-) Please, verify the issue because I'm not able to check results at all OS.
Comment 6 L Martinek 2005-08-24 10:44:55 UTC
verified
Comment 7 Quality Engineering 2007-09-20 10:20:38 UTC
Reorganization of java component