compiler error with import

I am trying to compile these codes using jdk1.4.2_11. These codes compiled successfully with 1.3.1_17 but with 1.4.2_11, I am getting a compiler error with import IVServ and import ServeletIncompleteException statement below. Both classes are located in the same directory as the source code.

Do I need to bundle those referred classes in a package?

package test.ip.server;

import java.io.*;

import java.util.*;

import java.net.*;

import IVServ;

import ServletIncompleteException;

[531 byte] By [fan5389a] at [2007-11-26 15:24:13]
# 1
> Do I need to bundle those referred classes in a> package? > Yes. Sun considered it a bug that version 1.3 allowed importing from the unnamed (default) package. The release notes for 1.4 describe it.
atmguya at 2007-7-8 21:39:38 > top of Java-index,Developer Tools,Java Compiler...
# 2

> > Do I need to bundle those referred classes in a

> > package?

> >

> Yes. Sun considered it a bug that version 1.3

> allowed importing from the unnamed (default) package.

> The release notes for 1.4 describe it.

IMO the very existence of the default package is one of the worst design decisions when creating Java...

jwentinga at 2007-7-8 21:39:38 > top of Java-index,Developer Tools,Java Compiler...