Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable javap -v mode. Adjust t/02_interface.t to match. Some tests fail.

  • Loading branch information...
commit 140d981db557c4954ae76bd308818011f553d1a5 1 parent 8acd093
@timbunce authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  lib/Java/Javap.pm
  2. +2 −1  t/02_interface.t
View
2  lib/Java/Javap.pm
@@ -56,7 +56,7 @@ sub invoke_javap {
$options ||= {};
# Open the real javap executable and read output from it
- open(my $javap_fh, '-|', $JAVAP_EXECUTABLE, %$options, @$classes)
+ open(my $javap_fh, '-|', $JAVAP_EXECUTABLE, '-v', %$options, @$classes)
or croak "'$JAVAP_EXECUTABLE @{[ %$options ]} @$classes' failed: $!";
my $javap_output = q{};
View
3  t/02_interface.t
@@ -42,6 +42,7 @@ my $expected_tree = {
array_depth => 0,
array_text => '',
},
+ value => '4',
},
{
'attrs' => [
@@ -205,7 +206,7 @@ class com::example::Second { ... };
role com::example::NestedIntTest {
- method USELESS_CONSTANT (--> Int) is export { ... }
+ method USELESS_CONSTANT (--> Int) is export { 4 }
method array_returner (
Str $v1, # java.lang.String
Please sign in to comment.
Something went wrong with that request. Please try again.