Bug 36388 - can't find type javax.mail.1 - compiler error
Summary: can't find type javax.mail.1 - compiler error
Status: RESOLVED DUPLICATE of bug 35066
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-10 19:36 EDT by Christian Seifert CLA
Modified: 2003-05-01 16:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Seifert CLA 2003-04-10 19:36:52 EDT
can't compile the following class. 
get compile error msg: can't find type javax.mail.1
works fine with suns compiler...

import javax.mail.*;
import javax.mail.event.TransportListener;
import javax.mail.event.ConnectionListener;


public class GOMailTransport extends Transport {

	public GOMailTransport(Session session, URLName urlname) {
		super(session, urlname);
	}


	public void addMailTransportListener(TransportListener tl) {
		addTransportListener(tl);
	}


	public void removeMailTransportListener(TransportListener tl) {
		removeTransportListener(tl);
	}


	public static void sendMail(Message msg) throws MessagingException {
		send(msg);
	}


	public static void sendMail(Message msg, Address[] addresses) throws 
MessagingException {
		send(msg, addresses);
	}


	//abstract method declared in Transport
	public void sendMessage(Message msg, Address[] addresses) throws 
MessagingException {
	}


	//Service super-class methods
	public void addMailConnectionListener(ConnectionListener cl) throws 
MessagingException {
		addConnectionListener(cl);
	}


	public void closeConnection() throws MessagingException {
		close();
	}


	public void connect() throws MessagingException {
		connect();
	}


	public void connect(String host, String user, String password) throws 
MessagingException {
		connect(host, user, password);
	}


	public boolean isServiceConnected() {
		return isConnected();
	}


	public void removeMailConnectionListener(ConnectionListener cl) throws 
MessagingException {
		removeConnectionListener(cl);
	}


	public void setServiceConnected(boolean connected) throws 
MessagingException {
		setConnected(connected);
	}
}
Comment 1 Jim Hugunin CLA 2003-05-01 16:08:37 EDT
This has been confirmed fixed and was the same bug as in the marked duplicate.

*** This bug has been marked as a duplicate of 35066 ***