0

Is there a compiler flag that can make that happen, or is that default "cemented" in the language?

1 Answers1

0

No, there is no standard compiler flag to change that aspect of the language. The only way that I know of to circumvent access limitations is via reflection (and setAccessible method), and that depends on the SecurityManager allowing access.

Rob
  • 6,247
  • 2
  • 25
  • 33