This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/12980] gij livelocks on included example
- From: "oyvind dot harboe at zylin dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2003 19:41:12 -0000
- Subject: [Bug java/12980] gij livelocks on included example
- References: <20031109193140.12980.oyvind.harboe@zylin.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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