This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/12980] gij livelocks on included example


------- Additional Comments From oyvind dot harboe at zylin dot com  2003-11-09 19:41 -------
GIJ never returns from 	Session m_session = Session.getDefaultInstance
(sessionProps);


import java.util.Properties;

import javax.mail.Session;

public class Test
{

	public static void main(String[] args)
	{
		System.out.println("hello world");
			
			/** Set up session props and session. */
			Properties sessionProps = System.getProperties();
			String m_host="mail.broadpark.no";
			System.out.println("hello world 1");
			sessionProps.put("mail.smtp.host", m_host);
			System.out.println("hello world 1a");
			Session m_session = Session.getDefaultInstance
(sessionProps);
			System.out.println("hello world 1b");
			
	}
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12980


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]