View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008656VTK(No Category)public2009-03-03 08:472016-08-12 09:55
ReporterFrançois Bertel 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008656: java wrapper ignores VTK_LEGACY_REMOVE flag
DescriptionvtkParseJava.c does not take into account the VTK_LEGACY_REMOVE flag when it generates the methods of a class.

A consequence of this is that if VTK_LEGACY_REMOVE, VTK_USE_PARALLEL and VTK_USE_MPI are turned on, vtkParseJava.c generates a line like:

private native int Initialize_4(vtkMPICommunicator id0,vtkMPIGroup id1);

whereas this method should not be created at all as vtkMPIGroup does not exist when VTK_LEGACY_REMOVE is on.

The consequence is the following compile error (and dozen of similar errors):

Scanning dependencies of target VTKJavaParallel
[ 80%] Generating ../../java/vtk/vtkBranchExtentTranslator.class

/.../vtk-build-all-debug/java/vtk/vtkMPICommunicator.java:47: cannot find symbol

symbol : class vtkMPIGroup
location: class vtk.vtkMPICommunicator
  private native int Initialize_4(vtkMPICommunicator id0,vtkMPIGroup id1);
                                                         ^

Here is a dashboard failing with this configuration:

http://www.cdash.org/CDash/viewBuildError.php?buildid=283462 [^]
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0015509)
François Bertel (developer)
2009-03-03 08:52

replace

"if VTK_LEGACY_REMOVE, VTK_USE_PARALLEL and VTK_USE_MPI are turned on"

by
"if VTK_WRAP_JAVA, VTK_LEGACY_REMOVE, VTK_USE_PARALLEL and VTK_USE_MPI are turned on"
(0037059)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-03-03 08:47 François Bertel New Issue
2009-03-03 08:52 François Bertel Note Added: 0015509
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037059
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team