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

Summary: Different comment in generated code on different OS
Product: java Reporter: L Martinek <lmartinek>
Component: UnsupportedAssignee: issues@java <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P3 Keywords: T9Y
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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