geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-709) CI failure: AnalyzeSerializablesJUnitTest error parsing class file
Date Tue, 22 Dec 2015 20:33:46 GMT

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

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

Commit 1a025728ac45d24f48d17f261a44fd8277f77b7e in incubator-geode's branch refs/heads/feature/GEODE-217
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
>
> 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)

Mime
View raw message