Skip to content

Conversation

@mgudemann
Copy link
Contributor

No description provided.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR failed Diffblue compatibility checks (cbmc commit: 69e389a).
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

Copy link
Contributor

@thk123 thk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add setter/getter to java_method_typet to avoid exposing underlying irept structure
Please add simple unit test as done with bridge.

@mgudemann mgudemann force-pushed the feature/jbmc/mark_ACC_NATIVE_java_methods branch from 69e389a to d10ba94 Compare September 4, 2018 12:19
@mgudemann
Copy link
Contributor Author

@thk123 added access methods and unit tests

@mgudemann mgudemann force-pushed the feature/jbmc/mark_ACC_NATIVE_java_methods branch 2 times, most recently from 88a0e34 to 449e515 Compare September 5, 2018 06:06
require_type::require_java_method(function_symbol.type);
THEN("The method symbol should be of java_method_typet")
{
REQUIRE(function_type.get_bool(ID_C_java_method_type));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⛏️ I wouldn't bother with this

GIVEN("A class with a native method")
{
const symbol_tablet symbol_table = load_java_class(
"ClassWithNativeMethod", "./java_bytecode/java_bytecode_convert_method");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing as you've not checked the class file in I believe!

/*******************************************************************\
Module: Unit tests for converting constructors and static initializers
Module: Unit tests for classes with bridge methods and native methods
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When this is rebased on develop, it will include tests for methods which are neither bridge, static, or native methods. Maybe find a more general formulation? Unit tests for converting methods?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mgudemann mgudemann force-pushed the feature/jbmc/mark_ACC_NATIVE_java_methods branch 2 times, most recently from 562d8b3 to aeea8ec Compare September 5, 2018 12:50
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR failed Diffblue compatibility checks (cbmc commit: 562d8b3).
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR failed Diffblue compatibility checks (cbmc commit: aeea8ec).
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

@mgudemann mgudemann force-pushed the feature/jbmc/mark_ACC_NATIVE_java_methods branch from aeea8ec to 856902c Compare September 5, 2018 14:58
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR failed Diffblue compatibility checks (cbmc commit: 856902c).
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

@mgudemann mgudemann force-pushed the feature/jbmc/mark_ACC_NATIVE_java_methods branch from 856902c to dd00225 Compare September 5, 2018 17:03
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR failed Diffblue compatibility checks (cbmc commit: dd00225).
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

@mgudemann mgudemann merged commit 0440c21 into develop Sep 6, 2018
@mgudemann mgudemann deleted the feature/jbmc/mark_ACC_NATIVE_java_methods branch September 6, 2018 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants