🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #293

Re: Bizarre import weirdness

#293
From: Ron Albright
Date: Wed, 16 Jan 2002 16:24
32 lines
1760 bytes
On Tue, 4 Dec 2001 22:56:01 -0000, Jon Skeet <skeet@pobox.com> wrote:

>
>I'm saying that you there is no difference in the compiled class file 
>between:
>
>import java.util.*;
>public class Test
>{
>    Vector v = new Vector();
>}
>
>and
>
>public class Test
>{
>    java.util.Vector v = new java.util.Vector();
>}
>

This in no way explains why the second import statement below is not
sufficient for locating the base class. It implies that the second
statement is sufficient.

//import com.greenbird.persistence.PersistentRdbmsObject;

import com.greenbird.persistence.*;

public class Jdbc_Test extends PersistentRdbmsObject
{
.....
}
Technical Details
Message-ID: <48mq0u8kp6mld17fn0jo3iti14psq1pd67@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <612q0uggd5qbghbdj3dm16vet63el85a34@4ax.com> <MPG.1677224fb3f43e5198a676@mrmog.peramon.com> <2fbq0uc3fvvu49ro53j1pq2mip7nff83bg@4ax.com> <MPG.167764de8d36fdc398a67c@mrmog.peramon.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10a146,b03b9f2c50f270a6
X-Google-Attributes: gid10a146,public
X-Google-Thread: fa3e3,b03b9f2c50f270a6
X-Google-Attributes: gidfa3e3,public
X-Google-ArrivalTime: 2002-01-16 08:31:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-for-mail
From: Ron Albright <moron(at)pobox.com>
Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.ide
Subject: Re: Bizarre import weirdness
Date: Wed, 16 Jan 2002 10:24:06 -0600
Organization: right to left
Message-ID: <48mq0u8kp6mld17fn0jo3iti14psq1pd67@4ax.com>
Reply-To: moron(at)pobox.com
References: <612q0uggd5qbghbdj3dm16vet63el85a34@4ax.com> <MPG.1677224fb3f43e5198a676@mrmog.peramon.com> <2fbq0uc3fvvu49ro53j1pq2mip7nff83bg@4ax.com> <MPG.167764de8d36fdc398a67c@mrmog.peramon.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsabuse@supernews.com
Lines: 32