You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/09/17 14:32:23 UTC

[Bug 61529] New: Migration to Java 9

https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

            Bug ID: 61529
           Summary: Migration to Java 9
           Product: JMeter
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: ---

This migration will follow JMeter 3.3 release.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
https://github.com/apache/jmeter/pull/308

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #19 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Tue Jan 30 22:19:28 2018
New Revision: 1822712

URL: http://svn.apache.org/viewvc?rev=1822712&view=rev
Log:
Bug 61529 - Migration to Java 9
Add Java 9 options to avoid the warnings that will disturb our users.
Warnings are due to:
- https://github.com/bulenkov/Darcula/issues/41
- https://issues.apache.org/jira/browse/GROOVY-8339
Bugzilla Id: 61529

Modified:
    jmeter/trunk/bin/jmeter
    jmeter/trunk/bin/jmeter.bat

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #6 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
In Windows 10 with Java 9 we have

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.codehaus.groovy.reflection.CachedClass
(file:/C:/Downloads/apache-jmeter-r1813639/apache-jmeter-r1813639/lib/groovy-all-2.4.12.jar)
to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of
org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release


>java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181)
OpenJDK 64-Bit Server VM (build 9+181, mixed mode)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #20 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Alan Bateman from comment #18)
> The JEP is currently targeted to JDK 11 (look for the release field near the
> top). The JEP also has the Maven coordinates for the standalone version of
> JAF.

Opened Bug 62065 to track this in next releases.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |NeedsReleaseNote

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #11 from Felix Schumacher <fe...@internetallee.de> ---
Author: fschumacher
Date: Sat Nov  4 19:32:46 2017
New Revision: 1814316

URL: http://svn.apache.org/viewvc?rev=1814316&view=rev
Log:
Try to detect the version of java by removing a potentially existing string
"1." from
the start of the version string and all characters beginning with the first non
digit.

This will convert a java 8 version string like "1.8.144_91" to "8" and a java 9
version
string like "9-ea" to "9"

Followup to r1813017
Bugzilla Id: 61529

Modified:
    jmeter/trunk/bin/jmeter

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Mon Oct 23 13:13:25 2017
New Revision: 1813017

URL: http://svn.apache.org/viewvc?rev=1813017&view=rev
Log:
Bug 61529 - Migration to Java 9
Handle --add-modules for Java 9
Bugzilla Id: 61529

Modified:
    jmeter/trunk/bin/jmeter

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #17 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Alan Bateman from comment #16)
> `--add-modules java.activation` will cease to work once the java.activation
> module has been dropped from Java SE and the JDK (details in JEP 320 [1]).
> The JavaBeans Activation Framework is published to Maven Central so no need
> to depend on the version included in the JDK.
> 
> [1] http://openjdk.java.net/jeps/320

Hello Alan,
Thanks for your note.
In which version of Java SE/JDK will you be dropping it ?

Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rajawatyashvardhan@yahoo.co
                   |                            |m

--- Comment #15 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 62035 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #16 from Alan Bateman <Al...@oracle.com> ---
`--add-modules java.activation` will cease to work once the java.activation
module has been dropped from Java SE and the JDK (details in JEP 320 [1]). The
JavaBeans Activation Framework is published to Maven Central so no need to
depend on the version included in the JDK.

[1] http://openjdk.java.net/jeps/320

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #12 from Felix Schumacher <fe...@internetallee.de> ---
Date: Sun Nov  5 09:59:48 2017
New Revision: 1814345

URL: http://svn.apache.org/viewvc?rev=1814345&view=rev
Log:
Use the same binary for version detection as the one we start.

Bugzilla Id: 61529

Modified:
    jmeter/trunk/bin/jmeter

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |romanlevin@gmail.com

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 61679 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #7 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
New Revision: 1813710

URL: http://svn.apache.org/viewvc?rev=1813710&view=rev
Log:
Bug 61529 - Migration to Java 9 : jmeter.bat Windows file Java 9 detection

Modified:
    jmeter/trunk/bin/jmeter.bat

The "WARNING: An illegal reflective access operation has occurred" is still
present

Antonio

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #13 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 61721 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #5 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
Fix detection problem of the OS in bin/jmeter


https://bz.apache.org/bugzilla/show_bug.cgi?id=61667

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leiyang-ge@163.com

--- Comment #14 from Felix Schumacher <fe...@internetallee.de> ---
*** Bug 61772 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #10 from Felix Schumacher <fe...@internetallee.de> ---
Author: fschumacher
Date: Sat Nov  4 18:25:57 2017
New Revision: 1814314

URL: http://svn.apache.org/viewvc?rev=1814314&view=rev
Log:
If JAVA_HOME is not set, but JRE_HOME is set or guessed, set JAVA_HOME to
JRE_HOME before resolving the java executable

Followup to r1811029
Bugzilla Id: 61529

Modified:
    jmeter/trunk/bin/jmeter

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apodelko@yahoo.com

--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
It seems we're hitting some bugs in xstream with Java 9 and field
accessibility:

- https://issues.apache.org/jira/browse/MWAR-405
- https://github.com/x-stream/xstream/issues/74

But I don't have the reproducer yet as it was not caught by our test suite nor
manual tests.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #18 from Alan Bateman <Al...@oracle.com> ---
The JEP is currently targeted to JDK 11 (look for the release field near the
top). The JEP also has the Maven coordinates for the standalone version of JAF.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

--- Comment #8 from Antonio Gomes Rodrigues <ra...@gmail.com> ---
New Revision: 1813711

URL: http://svn.apache.org/viewvc?rev=1813711&view=rev
Log:
Bug 61529 - Migration to Java 9 : New syntax for GC log

Modified:
    jmeter/trunk/bin/jmeter
    jmeter/trunk/bin/jmeter.bat

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61529] Migration to Java 9

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61529

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |3.3

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Tue Oct  3 20:24:21 2017
New Revision: 1811029

URL: http://svn.apache.org/viewvc?rev=1811029&view=rev
Log:
Bug 61529 - Migration to Java 9
This closes #308
Bugzilla Id: 61529

Modified:
    jmeter/trunk/bin/jmeter
    jmeter/trunk/build.xml
    jmeter/trunk/src/components/org/apache/jmeter/control/ModuleController.java
   
jmeter/trunk/src/core/org/apache/jmeter/gui/action/ApplyNamingConvention.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeModel.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterTreeNode.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.