Closed Bug 44196 Opened 25 years ago Closed 25 years ago

No methods of DocumentTypeImpl class could be called

Categories

(Core Graveyard :: Java APIs for DOM, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rmv, Assigned: akhil.arora)

Details

Overview Description: All methods of DocumentTypeImpl are unusable. Steps to Reproduce: Run the following JavaDOM API testcases: org.mozilla.dom.test.DocumentTypeImpl_getPublicId org.mozilla.dom.test.DocumentTypeImpl_getSystemId org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset Actual Results: Methods throw UnsatisfiedLinkError exception. Expected Results: Methods should work ok. Build Date & Platform Bug Found: 06/20/2000 Windows NT 4.0 Additional Information: The reason of this bug is the improper header file name included in java/dom/jni/org_mozilla_dom_DocumentTypeImpl.cpp file: 22 #include "prlog.h" 23 #include "nsIDOMDocumentType.h" 24 #include "nsIDOMNamedNodeMap.h" 25 #include "javaDOMGlobals.h" 26 #include "org_mozilla_dom_DocumentImpl.h" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ org_mozilla_dom_DocumentTypeImpl.h should be used instead (otherwise no 'extern "C"' instruction is specified for the appropriate native methods).
corrected the name of the header file in #include statement
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.