Message9252

Author berndk
Recipients berndk, bvan, zyasoft
Date 2014-12-18.15:12:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418915550.39.0.635176287981.issue2229@psf.upfronthosting.co.za>
In-reply-to
Content
Dear Jim,

thanks for looking into this. Package scanning still happens as before and wild card imports also work when creating new objects. So

from java.util import *
x = ArrayList()

works for Java 7 and Java 8. What does not work is calling a static class method - e. g.

Arrays.sort()

In this case you have to import java.util.Arrays first.

Best regards


Bernd
History
Date User Action Args
2014-12-18 15:12:30berndksetmessageid: <1418915550.39.0.635176287981.issue2229@psf.upfronthosting.co.za>
2014-12-18 15:12:30berndksetrecipients: + berndk, zyasoft, bvan
2014-12-18 15:12:30berndklinkissue2229 messages
2014-12-18 15:12:30berndkcreate