Skip to content

Commit 918b984

Browse files
committed
expand j3o scanner baseline
1 parent 115a825 commit 918b984

2 files changed

Lines changed: 220 additions & 3 deletions

File tree

jme3-desktop/src/main/java/com/jme3/system/J3OScanner.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
* It validates jME3 binary asset headers without instantiating Savables.
3535
* This is intentional: using BinaryImporter would execute class loading,
3636
* constructors and Savable.read() for data supplied by the asset.
37+
*
38+
* Note: the default baseline used by this scanner is not intended to be comprehensive.
39+
* It is mostly what we may use in our tests and examples and intended to be used as part of jme CI.
3740
*
3841
* Usage:
3942
* ./gradlew :jme3-desktop:scanJ3O
@@ -138,10 +141,10 @@ public static void main(String[] args) throws Exception {
138141
printFinalReport(files.size(), results, errors);
139142

140143
if (!errors.isEmpty()) {
141-
System.err.println();
142-
System.err.println("Unsafe J3O report:");
144+
System.out.println();
145+
System.out.println("Unsafe J3O report:");
143146
for (String error : errors) {
144-
System.err.println(" - " + error);
147+
System.out.println(" - " + error);
145148
}
146149
System.exit(1);
147150
}
Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,260 @@
1+
com.jme3.anim.AnimClip
2+
com.jme3.anim.AnimComposer
3+
com.jme3.anim.AnimLayer
4+
com.jme3.anim.Armature
5+
com.jme3.anim.ArmatureMask
6+
com.jme3.anim.Joint
7+
com.jme3.anim.MorphControl
8+
com.jme3.anim.MorphTrack
9+
com.jme3.anim.SingleLayerInfluenceMask
10+
com.jme3.anim.SkinningControl
11+
com.jme3.anim.TransformTrack
112
com.jme3.animation.AnimControl
213
com.jme3.animation.Animation
14+
com.jme3.animation.AudioTrack
315
com.jme3.animation.Bone
416
com.jme3.animation.BoneTrack
17+
com.jme3.animation.CompactFloatArray
518
com.jme3.animation.CompactQuaternionArray
619
com.jme3.animation.CompactVector3Array
20+
com.jme3.animation.EffectTrack
21+
com.jme3.animation.EffectTrack$KillParticleControl
22+
com.jme3.animation.Pose
23+
com.jme3.animation.PoseTrack
24+
com.jme3.animation.PoseTrack$PoseFrame
725
com.jme3.animation.Skeleton
826
com.jme3.animation.SkeletonControl
27+
com.jme3.animation.SpatialTrack
28+
com.jme3.animation.TrackInfo
29+
com.jme3.app.StatsView
30+
com.jme3.asset.AssetKey
31+
com.jme3.asset.FilterKey
32+
com.jme3.asset.MaterialKey
33+
com.jme3.asset.ModelKey
34+
com.jme3.asset.ShaderNodeDefinitionKey
935
com.jme3.asset.TextureKey
36+
com.jme3.audio.AudioKey
37+
com.jme3.audio.AudioNode
38+
com.jme3.audio.BandPassFilter
39+
com.jme3.audio.HighPassFilter
40+
com.jme3.audio.LowPassFilter
1041
com.jme3.bounding.BoundingBox
1142
com.jme3.bounding.BoundingSphere
43+
com.jme3.bullet.animation.BoneLink
44+
com.jme3.bullet.animation.DacLinks
45+
com.jme3.bullet.animation.DynamicAnimControl
46+
com.jme3.bullet.animation.RangeOfMotion
47+
com.jme3.bullet.animation.TorsoLink
48+
com.jme3.bullet.collision.shapes.BoxCollisionShape
49+
com.jme3.bullet.collision.shapes.CapsuleCollisionShape
50+
com.jme3.bullet.collision.shapes.CompoundCollisionShape
51+
com.jme3.bullet.collision.shapes.ConeCollisionShape
52+
com.jme3.bullet.collision.shapes.CylinderCollisionShape
53+
com.jme3.bullet.collision.shapes.GImpactCollisionShape
54+
com.jme3.bullet.collision.shapes.HeightfieldCollisionShape
55+
com.jme3.bullet.collision.shapes.HullCollisionShape
56+
com.jme3.bullet.collision.shapes.MeshCollisionShape
57+
com.jme3.bullet.collision.shapes.PlaneCollisionShape
58+
com.jme3.bullet.collision.shapes.SimplexCollisionShape
59+
com.jme3.bullet.collision.shapes.SphereCollisionShape
60+
com.jme3.bullet.collision.shapes.infos.ChildCollisionShape
61+
com.jme3.bullet.control.BetterCharacterControl
62+
com.jme3.bullet.control.CharacterControl
63+
com.jme3.bullet.control.GhostControl
64+
com.jme3.bullet.control.KinematicRagdollControl
65+
com.jme3.bullet.control.KinematicRagdollControl$PhysicsBoneLink
66+
com.jme3.bullet.control.RigidBodyControl
67+
com.jme3.bullet.control.VehicleControl
68+
com.jme3.bullet.debug.BulletCharacterDebugControl
69+
com.jme3.bullet.debug.BulletGhostObjectDebugControl
70+
com.jme3.bullet.debug.BulletJointDebugControl
71+
com.jme3.bullet.debug.BulletRigidBodyDebugControl
72+
com.jme3.bullet.debug.BulletVehicleDebugControl
73+
com.jme3.bullet.joints.ConeJoint
74+
com.jme3.bullet.joints.HingeJoint
75+
com.jme3.bullet.joints.Point2PointJoint
76+
com.jme3.bullet.joints.SixDofJoint
77+
com.jme3.bullet.joints.SliderJoint
78+
com.jme3.bullet.objects.PhysicsCharacter
79+
com.jme3.bullet.objects.PhysicsGhostObject
80+
com.jme3.bullet.objects.PhysicsRigidBody
81+
com.jme3.bullet.objects.PhysicsVehicle
82+
com.jme3.bullet.objects.VehicleWheel
83+
com.jme3.cinematic.Cinematic
84+
com.jme3.cinematic.KeyFrame
85+
com.jme3.cinematic.MotionPath
86+
com.jme3.cinematic.TimeLine
87+
com.jme3.cinematic.events.AnimEvent
88+
com.jme3.cinematic.events.AnimationEvent
89+
com.jme3.cinematic.events.AnimationTrack
90+
com.jme3.cinematic.events.CameraEvent
91+
com.jme3.cinematic.events.GuiEvent
92+
com.jme3.cinematic.events.GuiTrack
93+
com.jme3.cinematic.events.MotionEvent
94+
com.jme3.cinematic.events.MotionTrack
95+
com.jme3.cinematic.events.SoundEvent
96+
com.jme3.cinematic.events.SoundTrack
1297
com.jme3.collision.bih.BIHNode
1398
com.jme3.collision.bih.BIHTree
99+
com.jme3.effect.ParticleEmitter
100+
com.jme3.effect.ParticleEmitter$ParticleEmitterControl
101+
com.jme3.effect.ParticlePointMesh
102+
com.jme3.effect.ParticleTriMesh
103+
com.jme3.effect.influencers.DefaultParticleInfluencer
104+
com.jme3.effect.influencers.EmptyParticleInfluencer
105+
com.jme3.effect.influencers.NewtonianParticleInfluencer
106+
com.jme3.effect.influencers.RadialParticleInfluencer
107+
com.jme3.effect.shapes.EmitterBoxShape
108+
com.jme3.effect.shapes.EmitterMeshConvexHullShape
109+
com.jme3.effect.shapes.EmitterMeshFaceShape
110+
com.jme3.effect.shapes.EmitterMeshVertexShape
111+
com.jme3.effect.shapes.EmitterPointShape
112+
com.jme3.effect.shapes.EmitterSphereShape
113+
com.jme3.environment.EnvironmentProbeControl
114+
com.jme3.environment.util.BoundingSphereDebug
115+
com.jme3.environment.util.Circle
116+
com.jme3.export.NullSavable
117+
com.jme3.font.BitmapCharacter
118+
com.jme3.font.BitmapCharacterSet
119+
com.jme3.font.BitmapFont
120+
com.jme3.font.BitmapText
121+
com.jme3.font.BitmapTextPage
122+
com.jme3.font.Kerning
123+
com.jme3.input.ChaseCamera
124+
com.jme3.light.AmbientLight
125+
com.jme3.light.DirectionalLight
14126
com.jme3.light.LightList
15127
com.jme3.light.LightProbe
128+
com.jme3.light.OrientedBoxProbeArea
16129
com.jme3.light.PointLight
17130
com.jme3.light.SphereProbeArea
131+
com.jme3.light.SpotLight
18132
com.jme3.material.MatParam
19133
com.jme3.material.MatParamOverride
20134
com.jme3.material.MatParamTexture
21135
com.jme3.material.Material
22136
com.jme3.material.Material$MatParamTexture
23137
com.jme3.material.RenderState
138+
com.jme3.material.ShaderGenerationInfo
139+
com.jme3.material.TechniqueDef
24140
com.jme3.math.ColorRGBA
141+
com.jme3.math.Line
142+
com.jme3.math.LineSegment
143+
com.jme3.math.Matrix3f
144+
com.jme3.math.Matrix4f
145+
com.jme3.math.Plane
25146
com.jme3.math.Quaternion
147+
com.jme3.math.Ray
148+
com.jme3.math.Rectangle
149+
com.jme3.math.Ring
150+
com.jme3.math.Spline
26151
com.jme3.math.Transform
152+
com.jme3.math.Triangle
27153
com.jme3.math.Vector2f
28154
com.jme3.math.Vector3f
155+
com.jme3.math.Vector4f
156+
com.jme3.post.FilterPostProcessor
157+
com.jme3.post.filters.BloomFilter
158+
com.jme3.post.filters.CartoonEdgeFilter
159+
com.jme3.post.filters.ColorOverlayFilter
160+
com.jme3.post.filters.ComposeFilter
161+
com.jme3.post.filters.ContrastAdjustmentFilter
162+
com.jme3.post.filters.CrossHatchFilter
163+
com.jme3.post.filters.DepthOfFieldFilter
164+
com.jme3.post.filters.FXAAFilter
165+
com.jme3.post.filters.FadeFilter
166+
com.jme3.post.filters.FogFilter
167+
com.jme3.post.filters.GammaCorrectionFilter
168+
com.jme3.post.filters.KHRToneMapFilter
169+
com.jme3.post.filters.LightScatteringFilter
170+
com.jme3.post.filters.PosterizationFilter
171+
com.jme3.post.filters.RadialBlurFilter
172+
com.jme3.post.filters.SoftBloomFilter
173+
com.jme3.post.filters.ToneMapFilter
174+
com.jme3.post.filters.TranslucentBucketFilter
175+
com.jme3.post.ssao.SSAOFilter
176+
com.jme3.renderer.Camera
177+
com.jme3.scene.AssetLinkNode
178+
com.jme3.scene.BatchNode
179+
com.jme3.scene.CameraNode
29180
com.jme3.scene.Geometry
30181
com.jme3.scene.LightNode
31182
com.jme3.scene.Mesh
32183
com.jme3.scene.Node
184+
com.jme3.scene.SimpleBatchNode
33185
com.jme3.scene.UserData
34186
com.jme3.scene.VertexBuffer
187+
com.jme3.scene.control.BillboardControl
188+
com.jme3.scene.control.CameraControl
35189
com.jme3.scene.control.LightControl
190+
com.jme3.scene.control.LodControl
36191
com.jme3.scene.control.UpdateControl
192+
com.jme3.scene.debug.Arrow
193+
com.jme3.scene.debug.Grid
194+
com.jme3.scene.debug.SkeletonDebugger
195+
com.jme3.scene.debug.SkeletonInterBoneWire
196+
com.jme3.scene.debug.SkeletonPoints
197+
com.jme3.scene.debug.SkeletonWire
198+
com.jme3.scene.debug.WireBox
199+
com.jme3.scene.debug.WireFrustum
200+
com.jme3.scene.debug.WireSphere
201+
com.jme3.scene.debug.custom.ArmatureDebugger
202+
com.jme3.scene.debug.custom.ArmatureInterJointsWire
203+
com.jme3.scene.debug.custom.ArmatureNode
204+
com.jme3.scene.debug.custom.JointShape
205+
com.jme3.scene.instancing.InstancedGeometry
206+
com.jme3.scene.instancing.InstancedGeometry$DefaultInstanceCullingFunction
207+
com.jme3.scene.instancing.InstancedNode
208+
com.jme3.scene.mesh.MorphTarget
209+
com.jme3.scene.shape.Box
210+
com.jme3.scene.shape.CenterQuad
211+
com.jme3.scene.shape.Curve
212+
com.jme3.scene.shape.Cylinder
213+
com.jme3.scene.shape.Dome
214+
com.jme3.scene.shape.FullscreenTriangle
215+
com.jme3.scene.shape.Line
216+
com.jme3.scene.shape.PQTorus
217+
com.jme3.scene.shape.Quad
218+
com.jme3.scene.shape.RectangleMesh
37219
com.jme3.scene.shape.Sphere
220+
com.jme3.scene.shape.StripBox
221+
com.jme3.scene.shape.Surface
222+
com.jme3.scene.shape.Torus
223+
com.jme3.shader.ShaderNode
224+
com.jme3.shader.ShaderNodeDefinition
225+
com.jme3.shader.ShaderNodeVariable
226+
com.jme3.shader.VariableMapping
227+
com.jme3.shader.bufferobject.BufferObject
228+
com.jme3.shader.bufferobject.BufferRegion
229+
com.jme3.shadow.DirectionalLightShadowFilter
230+
com.jme3.shadow.DirectionalLightShadowRenderer
231+
com.jme3.shadow.PointLightShadowFilter
232+
com.jme3.shadow.PointLightShadowRenderer
233+
com.jme3.shadow.PssmShadowFilter
234+
com.jme3.shadow.SdsmDirectionalLightShadowFilter
235+
com.jme3.shadow.SdsmDirectionalLightShadowRenderer
236+
com.jme3.shadow.SpotLightShadowFilter
237+
com.jme3.shadow.SpotLightShadowRenderer
238+
com.jme3.terrain.GeoMap
38239
com.jme3.terrain.geomipmap.LODGeomap
240+
com.jme3.terrain.geomipmap.MultiTerrainLodControl
39241
com.jme3.terrain.geomipmap.NormalRecalcControl
40242
com.jme3.terrain.geomipmap.TerrainGrid
243+
com.jme3.terrain.geomipmap.TerrainGridLodControl
244+
com.jme3.terrain.geomipmap.TerrainLodControl
41245
com.jme3.terrain.geomipmap.TerrainPatch
42246
com.jme3.terrain.geomipmap.TerrainQuad
43247
com.jme3.terrain.geomipmap.grid.AssetTileLoader
248+
com.jme3.terrain.geomipmap.grid.FractalTileLoader
249+
com.jme3.terrain.geomipmap.grid.ImageTileLoader
250+
com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator
251+
com.jme3.terrain.geomipmap.lodcalc.PerspectiveLodCalculator
252+
com.jme3.terrain.geomipmap.lodcalc.SimpleLodThreshold
44253
com.jme3.texture.Image
45254
com.jme3.texture.Texture2D
255+
com.jme3.texture.Texture3D
256+
com.jme3.texture.TextureArray
46257
com.jme3.texture.TextureCubeMap
258+
com.jme3.ui.Picture
259+
com.jme3.util.struct.StructStd140BufferObject
260+
com.jme3.water.WaterFilter

0 commit comments

Comments
 (0)