[Swift-devel] [Bug 89] New: Use unique package names!

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Wed Aug 29 19:39:38 CDT 2007


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=89

           Summary: Use unique package names!
           Product: Swift
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: hategan at mcs.anl.gov
        ReportedBy: hategan at mcs.anl.gov
                CC: benc at hawaga.org.uk


org.gryphin.vdl.parser.VDLtParser.java (though it may not be the only one)
exists both in Swift and VDS (whose jar file is in the Swift lib).

So far, it seems, jar files were always looked up in the "right" order, and
we've never seen the problem, but should the VDS class with the above name be
loaded first, something like the following is produced:

Caused by: java.lang.IllegalArgumentException: Can't load template
globalVariable.st
        at
org.antlr.stringtemplate.StringTemplateGroup.lookupTemplate(StringTemplateGroup.java:301)
        at
org.antlr.stringtemplate.StringTemplateGroup.getInstanceOf(StringTemplateGroup.java:246)
        at org.griphyn.vdl.parser.VDLtParser.template(VDLtParser.java:34)
        at org.griphyn.vdl.parser.VDLtParser.variableDecl(VDLtParser.java:1090)
        at org.griphyn.vdl.parser.VDLtParser.declaration(VDLtParser.java:715)
        at
org.griphyn.vdl.parser.VDLtParser.topLevelStatement(VDLtParser.java:253)
        at org.griphyn.vdl.parser.VDLtParser.program(VDLtParser.java:125)
        at org.griphyn.vdl.toolkit.VDLt2VDLx.compile(VDLt2VDLx.java:59)
        ... 40 more


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Swift-devel mailing list