[E-Lang] yet more on security manager
Marc Stiegler
marcs@skyhunter.com
Thu, 1 Mar 2001 16:10:40 -0700
In the days of jvm 1.1.7, we found this not to be true: the IBM compiler
didn't cut it.
Today, I wouldn't be surprised if this were true, though I haven't been able
to use IBM jvms enough to really form an opinion, only enough to know that
they work a lot better than they used to :-)
--marcs
----- Original Message -----
From: Karp, Alan <alan_karp@hp.com>
To: 'Marc Stiegler' <marcs@skyhunter.com>; E Language Discussions
<e-lang@eros-os.org>
Sent: Thursday, March 01, 2001 3:37 PM
Subject: RE: [E-Lang] yet more on security manager
> Just as a side note, our experience at HP's E-speak Operation is that the
> IBM compiler and jvm follows the letter of the Java law. The Sun versions
> do not, allowing you to do some things the spec disallows.
>
> _________________________
> Alan Karp
> Principal Scientist
> Decision Technology Department
> Hewlett-Packard Laboratories MS 1U-2
> 1501 Page Mill Road
> Palo Alto, CA 94304
> (650) 857-3967, fax (650) 857-6278
> https://ecardfile.com/id/Alan_Karp
> http://www.hpl.hp.com/personal/Alan_Karp/
>
>
> > -----Original Message-----
> > From: Marc Stiegler [mailto:marcs@skyhunter.com]
> > Sent: Wednesday, February 28, 2001 6:36 PM
> > To: E Language Discussions
> > Subject: [E-Lang] yet more on security manager
> >
> >
> > So, having given up on the IBM 1.3 jvm on Linux because of
> > the security
> > manager problem with the newest E, I installed the newest Sun
> > 1.3 jvm on my
> > Win machine. At least it ran Elmer okay.
> >
> > But then I moved on to try to do the work I was hoping to do, namely ,
> > figure out how to make drag/drop work in E. Ta da, right back
> > staring at the
> > security manager:
> >
> >
> > D:\programs\jdk1.3\eNoComm>d:\programs\jdk1.3\jre\bin\java -jar e.jar
> > D:\EPROJE~1\DRAGDR~1\DRAGDROP.E
> > # problem: <SecurityException:
> > java.awt.datatransfer.DataFlavor not approved
> > as
> > safe>
> > #
> > # <import:*> get("java.awt.datatransfer.DataFlavor")
> > # <interp> evalPrint(e`define var eObjectFlavor :final :=
> > import__uriGetter ge
> > t("java.awt.datatransfer.DataFlavor") new("application/x-e-object")`)
> >
> >
> > The newest security manager seems to think it must shut out
> > the DataFlavor
> > class, which seems truly amazing, because I cannot figure out
> > how DataFlavor
> > could be used to break security.
> >
> > Anyway, I found a java.policy text file in a security folder,
> > fiddled it to
> > make everything get all permissions, but that didn't help either.
> >
> > Steve, markm tells me you are working on drag/drop too. Have
> > you gotten this
> > far? any idea how to fix it?
> >
> >
> > --marcs
> >
> >
> >
> > _______________________________________________
> > e-lang mailing list
> > e-lang@mail.eros-os.org
> > http://www.eros-os.org/mailman/listinfo/e-lang
> >
>