You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/12/22 19:04:46 UTC

[jira] [Commented] (GEODE-709) CI failure: AnalyzeSerializablesJUnitTest error parsing class file

    [ https://issues.apache.org/jira/browse/GEODE-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068491#comment-15068491 ] 

ASF subversion and git services commented on GEODE-709:
-------------------------------------------------------

Commit 1a025728ac45d24f48d17f261a44fd8277f77b7e in incubator-geode's branch refs/heads/develop from [~bschuchardt]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=1a02572 ]

GEODE-709: CI Failure in AnalyzeSerializablesJUnitTest

JDK 1.7 added three new types of entries to the "constant pool" of
a compiled class: InvokeDynamic, MethodHandle and MethodType.  The test
was failing when it ran into an InvokeDynamic entry (type code 18) in some
compiled class.

Evidently we had no classes that required an InvokeDynamic entry until
recently.

I also changed the test so it will log the name of the class that causes
a failure in constant-pool parsing in the future.


> CI failure: AnalyzeSerializablesJUnitTest error parsing class file
> ------------------------------------------------------------------
>
>                 Key: GEODE-709
>                 URL: https://issues.apache.org/jira/browse/GEODE-709
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Bruce Schuchardt
>            Assignee: Bruce Schuchardt
>
> The test failed in build 1081:
> java.lang.Error: Unknown tag type in constant pool: 18
> 	at com.gemstone.gemfire.codeAnalysis.decode.cp.Cp.readCp(Cp.java:65)
> 	at com.gemstone.gemfire.codeAnalysis.decode.CompiledClass.<init>(CompiledClass.java:101)
> 	at com.gemstone.gemfire.codeAnalysis.decode.CompiledClass.getInstance(CompiledClass.java:81)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:108)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.CompiledClassUtils.parseClassFilesInDir(CompiledClassUtils.java:104)
> 	at com.gemstone.gemfire.codeAnalysis.AnalyzeSerializablesJUnitTest.loadClassesFromBuild(AnalyzeSerializablesJUnitTest.java:257)
> 	at com.gemstone.gemfire.codeAnalysis.AnalyzeSerializablesJUnitTest.loadClasses(AnalyzeSerializablesJUnitTest.java:95)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)