[Bug java/12980] gij livelocks on included example

oyvind dot harboe at zylin dot com gcc-bugzilla@gcc.gnu.org
Sun Nov 9 19:41:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list