From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin B. Hendricks To: Ben Elliston Cc: sourcenav@sources.redhat.com Subject: Re: New SegFault will importing some java files from OpenOffice Date: Tue, 02 Jan 2001 19:48:00 -0000 Message-id: <01010222491100.04141@localhost> References: X-SW-Source: 2001-q1/msg00000.html Hi Ben, > If you can come up with a tiny test case that triggers the bug (did you > notice the database records that contain empty fields when jbrowser is > run?), then someone on the mailing list should be able to help. Okay, here is the smallest testcase that I could think of: ---cut-here--Test1.java---- import java.lang.reflect.*; public class Test1 { public static void main(String args[]) { System.out.println(Test1[].class.getName()); } } ---cut-here--Test1.java---- This does compile and run and it does come back with the input paramter null message when imported into snavigator. Based on trial and error... you actually don't need the print or the .getName() but I wanted to prove to myself that Sun's javac would actually compile it successfully and that it would run. Without the array notation [] this does parse in snavigator correctly, but with the array notation it fails. Hope someone on the sourcenav team can get this fixed. Thanks, Kevin