Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
36753c06
Commit
36753c06
authored
Dec 06, 2013
by
Sven Gestegård Robertz
Browse files
default to type == sample
parent
8f7951aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/dynamic/test/TestLabcommGen.java
View file @
36753c06
...
...
@@ -367,9 +367,15 @@ public class TestLabcommGen {
*/
private
static
void
encodeTest
(
InRAMCompiler
irc
,
String
tmpFile
)
{
try
{
Class
ft
=
irc
.
load
(
TYPE_NAME_FOO
)
;
Class
ft
;
Class
fc
=
irc
.
load
(
SAMPLE_NAME_FOO
);
Class
bc
=
irc
.
load
(
SAMPLE_NAME_BAR
);
try
{
ft
=
irc
.
load
(
TYPE_NAME_FOO
);
}
catch
(
ClassNotFoundException
e
)
{
System
.
out
.
println
(
"encodeTest: defaulting to ft == fc"
);
ft
=
fc
;
}
/* create sample class and instance objects */
Object
f
=
ft
.
newInstance
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment