Community
Participate
Working Groups
4.5. In order to prepare for Java 9 we need to check whether we use JDK internal code. This can be done by running jdeps -jdkinternals on our code.
And ... this should be a cross-project bug too, right? :) [I think I did run it informally at one point, and all looked clear, but, would be best to run as unit test, of some sort.] If I understand it right, this can be ran from a repository's plugin directory with this sort of command: /shared/common/jdk1.8.0_x64-latest/bin/jdeps -classpath ${PWD} -jdkinternals and if that's accurate, both ours, and the Sim. Release repo look clear. (that is, no output was produced .. not sure if thats means "no problems found" or "no classes found" :(
(In reply to David Williams from comment #1) > (that is, no output was produced .. not sure if thats means "no problems > found" or "no classes found" :( Pretty sure that means no classes found. I think the way it is supposed to be ran is with an asterisk at end (classes, at end), such as ${JAVA_HOME}/bin/jdeps -classpath ${JAVA_HOME}/lib/tools.jar:${PWD} -jdkinternals * But, perhaps a bug in this version on build machine, since above command results in Exception in thread "main" java.lang.InternalError: Missing message: warn.skipped.entry at com.sun.tools.jdeps.JdepsTask.getMessage(JdepsTask.java:694) at com.sun.tools.jdeps.JdepsTask.warning(JdepsTask.java:658) at com.sun.tools.jdeps.JdepsTask.findDependencies(JdepsTask.java:551) at com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:324) at com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:306) at com.sun.tools.jdeps.Main.main(Main.java:48)
(In reply to David Williams from comment #1) > And ... this should be a cross-project bug too, right? :) Right, but I thought we first do it on Platform and then open a bug with steps on how exactly run the tool to get the results.
Untargeting for specific milestone, since not sure which milestone I'll finish this in.
moving to M4
New Gerrit change created: https://git.eclipse.org/r/85682
(In reply to Eclipse Genie from comment #6) > New Gerrit change created: https://git.eclipse.org/r/85682 Donot push before Dec 1, 2016. This change will impact 4.6.2 build
Gerrit change https://git.eclipse.org/r/85682 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=5d259deae5b7b433e02a6df48eed8a75a9f04b3a
(In reply to Eclipse Genie from comment #8) > Gerrit change https://git.eclipse.org/r/85682 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/ > commit/?id=5d259deae5b7b433e02a6df48eed8a75a9f04b3a In master now
(In reply to Sravan Kumar Lakkimsetti from comment #9) > (In reply to Eclipse Genie from comment #8) > > Gerrit change https://git.eclipse.org/r/85682 was merged to [master]. > > Commit: > > http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/ > > commit/?id=5d259deae5b7b433e02a6df48eed8a75a9f04b3a > > In master now I've not even looked, but are the results easy to find?
Its part of release engineering build logs example report http://download.eclipse.org/eclipse/downloads/drops4/I20161201-2000/buildlogs/jdepsReport.txt
The jdeps -jdkinternals report is getting generated on every build.
(In reply to Sravan Kumar Lakkimsetti from comment #11) > Its part of release engineering build logs > > example report > http://download.eclipse.org/eclipse/downloads/drops4/I20161201-2000/buildlogs/jdepsReport.txt > Has Exception in thread "main" java.lang.InternalError: Missing message: warn.skipped.entry at com.sun.tools.jdeps.JdepsTask.getMessage(JdepsTask.java:702) at com.sun.tools.jdeps.JdepsTask.warning(JdepsTask.java:666) at com.sun.tools.jdeps.JdepsTask.findDependencies(JdepsTask.java:556) at com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:324) at com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:306) at com.sun.tools.jdeps.Main.main(Main.java:48)
(In reply to Dani Megert from comment #13) > (In reply to Sravan Kumar Lakkimsetti from comment #11) > > Its part of release engineering build logs > > > > example report > > http://download.eclipse.org/eclipse/downloads/drops4/I20161201-2000/buildlogs/jdepsReport.txt > > > > Has > > Exception in thread "main" java.lang.InternalError: Missing message: > warn.skipped.entry > at com.sun.tools.jdeps.JdepsTask.getMessage(JdepsTask.java:702) > at com.sun.tools.jdeps.JdepsTask.warning(JdepsTask.java:666) > at com.sun.tools.jdeps.JdepsTask.findDependencies(JdepsTask.java:556) > at com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:324) > at com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:306) > at com.sun.tools.jdeps.Main.main(Main.java:48) This is a bug in JDK https://bugs.openjdk.java.net/browse/JDK-8167014. I will suppress this error next build