[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR: Proposed jimage refresh for JDK9
From:       Coleen Phillimore <coleen.phillimore () oracle ! com>
Date:       2015-05-26 12:43:31
Message-ID: 8B159D12-1682-42DD-9BF9-5FA218E710FA () oracle ! com
[Download RAW message or body]

Do you need a CCC request to add JVM functions and check with licensee engineering?
Coleen

Sent from my iPhone

> On May 19, 2015, at 12:59 PM, Jim Laskey (Oracle) <james.laskey@oracle.com> wrote:
> 
> 
> > On May 19, 2015, at 1:50 PM, Alan Bateman <Alan.Bateman@oracle.com> wrote:
> > 
> > 
> > 
> > > On 19/05/2015 17:43, Jim Laskey (Oracle) wrote:
> > > > 
> > > > jdk.internal.jimage.ExternalFilesWriter
> > > > 
> > > > 93     private static String nativeDir(String filename) {
> > > > 94         if (System.getProperty("os.name").startsWith("Windows")) {
> > > > 95             if (filename.endsWith(".dll") || filename.endsWith(".diz")
> > > > 96                 || filename.endsWith(".pdb") || filename.endsWith(".map")) \
> > > > { 97                 return "bin";
> > > > 98             } else {
> > > > 99                 return "lib";
> > > > 100             }
> > > > 101         } else {
> > > > 102             return "lib";
> > > > 103         }
> > > > 104     }
> > > > 
> > > > Does that need to be performed in a doPriv block?
> > > System.getProperty("os.name") does not appear to be privileged.
> > > permission java.util.PropertyPermission "os.name", "read"; in grant { } section
> > I think this is the write code so it's only used in the build or jimage recreate, \
> > not used at run-time, right? 
> > -Alan
> 
> Correct


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic