Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

where does a class come from?


  • From: agifford@xxxxxxxxx (Adam Gifford)
  • Subject: where does a class come from?
  • Date: Thu, 30 Dec 1999 10:36:53 -0500

Yes it probably should be, according to sun naming guidelines,
however a lot of software doesnt follow these guidelines.

Of course i don tthink the guidelines say much what to do about
package naming for people who dont work for a company(or write java on tehir
personal time).

Timothy E Troy wrote:

>     Shouldn't the package name be com.netegrity.mitch.applet?
>
> ______________________________ Reply Separator _________________________________
> Subject: Re: where does a class come from?
> Author:  Adam Gifford <agifford@xxxxxxxxx> at Internet
> Date:    12/30/1999 8:51 AM
>
> If you aren't using a package for your classes,
> i'd suggest changing them to use your own package.  This should
> minimize the chances that conflicting classes are used.
>
> package mitch.applet;
>
> probably hasnt been used before :)
>
> "Gart, Mitch" wrote:
>
> > I've got a problem with class version conflicts.  My code is
> > all in a jar but a conflicting version of a class is coming
> > from somewhere else, outside the jar.  I'd like to write a test
> > that shows where a class is loaded from, that is, what directory
> > or jar on the CLASSPATH the class comes from.  Does anybody know
> > how to write a test like this?
> >
> > I think the problem is made a lot harder by the fact that my code
> > is an applet.  The code can't be started with "java -classpath",
> > instead it must use whatever classpath is set for Netscape.
> > (The problem is in Netscape 4.5 on Windows 95.)
> >
> > It's pretty mysterious because the user has tried setting their
> > CLASSPATH to be empty.  We don't know where the conflicting version
> > of the class could be coming from.
> >
> > Any ideas how to diagnose where a class version conflict is coming
> > from, in this environment?  Thanks in advance,
> >
> > - Mitch
> >
> > ---
> > To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
> > To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
> >
>
>
>
> ---
> To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
> To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx



---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx