Re: Moving sun.misc.VM

2016-01-20 Thread Sanne Grinovero
Hi Claes, excellent idea, I'll point them to this thread. Sanne - Original Message - > Hi! > > How about: > > int findIntegerCacheHighPropValue() { > int test = 128; // minimum mandated by JLS is 127 > while (Integer.valueOf(test) == Integer.valueOf(test)) { > test++

Re: Moving sun.misc.VM

2016-01-20 Thread Claes Redestad
Hi! How about: int findIntegerCacheHighPropValue() { int test = 128; // minimum mandated by JLS is 127 while (Integer.valueOf(test) == Integer.valueOf(test)) { test++; } return test - 1; } Since this runs through and hits the cache until the last step, it should be abou

Re: Moving sun.misc.VM

2016-01-20 Thread Sanne Grinovero
Hello, thanks for clarifying about some APIs being considered "critical". No, I'm not seeing lots of usage: actually just one instance so far so it should be possible to patch already with minimal impact. I'm understanding that this API will be hidden. Will there be an alternative? In this case

Re: Moving sun.misc.VM

2016-01-20 Thread Alan Bateman
On 20/01/2016 15:18, Sanne Grinovero wrote: Hello all, while testing latest Java 9 build 9-ea+101-2016-01-13-182959.javare.4276.nc with some popular OSS libraries, I noticed that sun.misc.VM is gone and this will cause some issues. This is causing compilation failures of type "cannot find sy

Moving sun.misc.VM

2016-01-20 Thread Sanne Grinovero
Hello all, while testing latest Java 9 build 9-ea+101-2016-01-13-182959.javare.4276.nc with some popular OSS libraries, I noticed that sun.misc.VM is gone and this will cause some issues. This is causing compilation failures of type "cannot find symbol". Similarly the same projects are using su