Article View: comp.lang.java.programmer
Article #294Bizarre import weirdness
From: Ron Albright
Date: Tue, 04 Dec 2001 18:04
Date: Tue, 04 Dec 2001 18:04
37 lines
2567 bytes
2567 bytes
I just switched to JBuilder 6 Ent from JBuilder 5. Same
project using Sun JDK 1.3.1-b24 in both cases to build. On
JBuilder 6 the following class only builds if the explicit
import of base class
com.greenbird.persistence.PersistentRdbmsObject is
uncommented. com.greenbird.persistence is a required
library. What's even weirder is that there are several other
classes from the com.greenbird.persistence lib being
referenced in the class definition. Why is an explicit
import of the base class required? Why would JBuilder have
anything to do with this when the build is being done using
a Sun JDK?
package com.greenbird.persistence.test;
import java.sql.*;
import java.lang.reflect.Field;
// Builds only if the following line is uncommented
//import com.greenbird.persistence.PersistentRdbmsObject;
import com.greenbird.persistence.*;
public class Jdbc_Test extends PersistentRdbmsObject
{
....< Class definition includes references to
com.greenbird.persistence.PersistenceException >....
}
Ron Albright
greenbird(at)KILLSPAM.pobox.com
______________________________________________________________________________
Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net
Technical Details
Message-ID:
<612q0uggd5qbghbdj3dm16vet63el85a34@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!corp-goliath.newsgroups.comShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,b03b9f2c50f270a6,start X-Google-Attributes: gid10a146,public X-Google-Thread: fa3e3,b03b9f2c50f270a6,start X-Google-Attributes: gidfa3e3,public X-Google-ArrivalTime: 2001-12-04 10:05:09 PST From: Ron Albright <moron(at)pobox.com> Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.ide Subject: Bizarre import weirdness Date: Tue, 04 Dec 2001 12:04:54 -0600 Reply-To: moron(at)pobox.com Message-ID: <612q0uggd5qbghbdj3dm16vet63el85a34@4ax.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 127.0.0.1 Lines: 37 X-Authenticated-User: 2119790 X-Comments: This message was posted through Binaries.net X-Comments2: IMPORTANT: Binaries.net does not condone, nor support, spam or any illegal or copyrighted postings. X-Report: Please report abuse to <abuse@Binaries.net> Organization: Posted Via Binaries.net = SPEED+RETENTION+COMPLETION = http://www.binaries.net Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-austin!propagator!feed2.newsfeeds.com!newsfeeds.com!news-in-austin.nuthinbutnews.com!corp-goliath.newsgroups.com