<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 8/3/2015 4:41 PM, Sergey Bylokhov
wrote:<br>
</div>
<blockquote cite="mid:55BF6FA5.3080203@oracle.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 31.07.15 21:34, Semyon Sadetsky
wrote:<br>
</div>
<blockquote cite="mid:55BBBFD0.9050901@oracle.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 7/31/2015 6:28 PM, Sergey
Bylokhov wrote:<br>
</div>
<blockquote cite="mid:55BB9426.3040709@oracle.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 31.07.15 18:12, Semyon
Sadetsky wrote:<br>
</div>
<blockquote cite="mid:55BB906F.1090408@oracle.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 7/31/2015 5:55 PM, Sergey
Bylokhov wrote:<br>
</div>
<blockquote cite="mid:55BB8C79.7050103@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 31.07.15 17:29, Semyon
Sadetsky wrote:<br>
</div>
<blockquote cite="mid:55BB8631.2020105@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
So the test could use one of these java resources inside
the native app without any external libraries only using
JNI library, right?<br>
</blockquote>
Since we do not place a binary files to the ws, It will
require an xcode and comandline tools.<br>
<br>
</blockquote>
<br>
Yes it's standard tools.</blockquote>
It is not standard and not installed by default, like on linux
for example.<br>
<blockquote cite="mid:55BB906F.1090408@oracle.com" type="cite">And
we have binary tests in WS, for example, in DnD test suite
there are precompiled images for each platform. <br>
</blockquote>
And all of them are closed like sqe tests.<br>
</blockquote>
We are moving closed tests to open repo.<br>
</blockquote>
We do not move the tests which have the binary files.<br>
<blockquote cite="mid:55BBBFD0.9050901@oracle.com" type="cite">
<blockquote cite="mid:55BB9426.3040709@oracle.com" type="cite">
<blockquote cite="mid:55BB906F.1090408@oracle.com" type="cite">
Functionality that is involved in native scenarios cannot be
tested otherwise.<br>
</blockquote>
But these scenarios already covered.<br>
</blockquote>
Then what is the existing test suite name?<br>
</blockquote>
jmc, swing. and deployment was filed this weekend.<br>
</blockquote>
Sorry, I did not catch. <br>
I asked for an automatic test suite which can be run on regular base
for OpenJDK build to prevent new regressions connected to embeded
JVM.<br>
<blockquote cite="mid:55BF6FA5.3080203@oracle.com" type="cite">
<blockquote cite="mid:55BBBFD0.9050901@oracle.com" type="cite"> <br>
<blockquote cite="mid:55BB9426.3040709@oracle.com" type="cite">
<blockquote cite="mid:55BB906F.1090408@oracle.com" type="cite">
<br>
<blockquote cite="mid:55BB8C79.7050103@oracle.com"
type="cite">
<blockquote cite="mid:55BB8631.2020105@oracle.com"
type="cite"> <br>
<div class="moz-cite-prefix">On 7/31/2015 5:18 PM,
Sergey Bylokhov wrote:<br>
</div>
<blockquote cite="mid:55BB83A2.4090507@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 31.07.15 16:51, Semyon
Sadetsky wrote:<br>
</div>
<blockquote cite="mid:55BB7D6E.60307@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
There are plenty classes extending
CFRetainedResource, TryIcon for example. Will
disposing them cause the same issue inside the
native app?<br>
</blockquote>
The crash occurs when any of these subclasses will be
disposed, in some cases app will crash immediately, in
other cases the app will crash after the objects will
be gc.<br>
<br>
<blockquote cite="mid:55BB7D6E.60307@oracle.com"
type="cite">
<div class="moz-cite-prefix">On 7/31/2015 4:37 PM,
Sergey Bylokhov wrote:<br>
</div>
<blockquote cite="mid:55BB7A0C.2000304@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Yes, it is possible
if this simple native application emulate
initialization of these libraries.<br>
<br>
On 31.07.15 16:07, Semyon Sadetsky wrote:<br>
</div>
<blockquote cite="mid:55BB732A.2040707@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
Is it possible to reproduce the scenario using
simple native application which embeds the Java
VM?<br>
<br>
<div class="moz-cite-prefix">On 7/31/2015 3:37
PM, Sergey Bylokhov wrote:<br>
</div>
<blockquote
cite="mid:55BB6C05.2040103@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 31.07.15
10:30, Semyon Sadetsky wrote:<br>
</div>
<blockquote
cite="mid:55BB2404.6020306@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
JMC-4034 is not an OpenJDK project. Souldn't
this test be copied to the client-libs test
base?<br>
JDK-8132469 description contains manual
steps executed using SwingSet2, right?<br>
</blockquote>
All sqe tests is not a part of openjdk
project. These particular tests cannot be
copied to our ws because they are depend from
the external java libraries, which require
some manual configuration.<br>
<br>
<blockquote
cite="mid:55BB2404.6020306@oracle.com"
type="cite"> <br>
--Semyon<br>
<br>
<br>
<div class="moz-cite-prefix">On 7/30/2015
5:55 PM, Sergey Bylokhov wrote:<br>
</div>
<blockquote
cite="mid:55BA3AD7.1010504@oracle.com"
type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi, Semyon.<br>
There are two tests which failed, see
JMC-4034(
<meta http-equiv="content-type"
content="text/html; charset=utf-8">
<font class="tablerow_value">jmc_plugintest</font>/swt
case) and JDK-8132469(swingnode/fx
case).<br>
<br>
On 30.07.15 9:49, Semyon Sadetsky wrote:<br>
</div>
<blockquote
cite="mid:55B9C8F7.2010705@oracle.com"
type="cite">Hi Sergey, <br>
<br>
You've marked the bug as noreg-sqe. I
could not find the existing test that
crashes during the bug scenario. Could
add this info? <br>
<br>
--Semyon <br>
<br>
On 7/29/2015 6:51 PM, Sergey Bylokhov
wrote: <br>
<blockquote type="cite">Hello. <br>
Please review the fix for jdk9. <br>
<br>
In the fix 8068886[1] the new native
resources deallocation code assumes
that we have a full control over the
Cocoa NSApplication. This is incorrect
in case of embedding, when
NSApplication is controlled by swt or
fx libraries. In the fix I add an
additional check that the necessary
selector exists in the current NSApp.
<br>
<br>
[1] <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/b26427c5b3fe">http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/b26427c5b3fe</a>
<br>
<br>
Bug: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.openjdk.java.net/browse/JDK-8132382">https://bugs.openjdk.java.net/browse/JDK-8132382</a>
<br>
Webrev can be found at: <a
moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://cr.openjdk.java.net/%7Eserb/8132382/webrev.02">http://cr.openjdk.java.net/~serb/8132382/webrev.02</a>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</body>
</html>